Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCEE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCEE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7058/0.7058, allocations: 110.8 MB / 123.3 MB, free: 10.73 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001594/0.001594, allocations: 155.5 kB / 149.1 MB, free: 0.9531 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.106e-05/2.108e-05, allocations: 0 / 180.2 MB, free: 17.55 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.03781/0.03785, allocations: 25.18 MB / 205.4 MB, free: 8.426 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04532/0.08321, allocations: 38.9 MB / 244.3 MB, free: 1.465 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000201/0.08346, allocations: 63.97 kB / 244.3 MB, free: 1.402 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1156/0.1991, allocations: 7.799 MB / 252.1 MB, free: 41.46 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.1991, allocations: 0 / 252.1 MB, free: 41.46 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.409e-05/0.1991, allocations: 11.86 kB / 252.2 MB, free: 41.46 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0007789/0.1999, allocations: 0.6153 MB / 252.8 MB, free: 40.94 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.2, allocations: 8.875 kB / 252.8 MB, free: 40.94 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.472e-05/0.2001, allocations: 46.56 kB / 252.8 MB, free: 40.91 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.2004, allocations: 305.7 kB / 253.1 MB, free: 40.62 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.2005, allocations: 34.12 kB / 253.2 MB, free: 40.6 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.372e-05/0.2005, allocations: 42.47 kB / 253.2 MB, free: 40.59 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006081/0.2011, allocations: 386.8 kB / 253.6 MB, free: 40.36 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.2012, allocations: 1 kB / 253.6 MB, free: 40.36 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.659e-05/0.2012, allocations: 19.39 kB / 253.6 MB, free: 40.34 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.2012, allocations: 10 kB / 253.6 MB, free: 40.34 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003956/0.2016, allocations: 253 kB / 253.9 MB, free: 40.23 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.2033, allocations: 1.358 MB / 255.2 MB, free: 39.14 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.2036, allocations: 174.9 kB / 255.4 MB, free: 39.05 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.2037, allocations: 79.45 kB / 255.5 MB, free: 39.01 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.2037, allocations: 0 / 255.5 MB, free: 39.01 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.2038, allocations: 34.5 kB / 255.5 MB, free: 38.97 MB / 186.7 MB Notification: Performance of pre-optimization done (n=20): time 9.82e-07/0.2038, allocations: 0 / 255.5 MB, free: 38.97 MB / 186.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007589/0.2045, allocations: 0.5723 MB / 256.1 MB, free: 38.51 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.2046, allocations: 85.2 kB / 256.1 MB, free: 38.41 MB / 186.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Mechanics/Rotational.mo:4773:7-4774:27:writable] Warning: Parameter loadTorqueStep.offsetTorque has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:2962:9-2964:50:writable] Warning: Parameter dcee.Le has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:2959:9-2961:50:writable] Warning: Parameter dcee.Re has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:2956:9-2958:50:writable] Warning: Parameter dcee.IeNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7500:7-7502:73:writable] Warning: Parameter dcee.La has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0015) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7497:7-7499:73:writable] Warning: Parameter dcee.Ra has no value, and is fixed during initialization (fixed=true), using available start value (start=0.05) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7494:7-7496:56:writable] Warning: Parameter dcee.wNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=149.2256510455151) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7491:7-7493:56:writable] Warning: Parameter dcee.IaNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7488:7-7490:56:writable] Warning: Parameter dcee.VaNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7272:7-7274:46:writable] Warning: Parameter dcee.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=dcee.Jr) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7268:7-7268:72:writable] Warning: Parameter dcee.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.15) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.2049, allocations: 277.5 kB / 256.4 MB, free: 38.23 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.2049, allocations: 29.61 kB / 256.4 MB, free: 38.2 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.502e-05/0.205, allocations: 238.5 kB / 256.7 MB, free: 37.99 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.205, allocations: 70.58 kB / 256.8 MB, free: 37.93 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.075e-06/0.205, allocations: 0 / 256.8 MB, free: 37.93 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 5.096e-05/0.2051, allocations: 342.5 kB / 257.1 MB, free: 37.59 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.51e-05/0.2052, allocations: 59.84 kB / 257.1 MB, free: 37.56 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.2053, allocations: 122.7 kB / 257.3 MB, free: 37.46 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.2054, allocations: 67.7 kB / 257.3 MB, free: 37.43 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.2054, allocations: 3.75 kB / 257.3 MB, free: 37.43 MB / 186.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003309/0.2057, allocations: 269 kB / 257.6 MB, free: 37.28 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.2058, allocations: 16.02 kB / 257.6 MB, free: 37.27 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2058, allocations: 0 / 257.6 MB, free: 37.27 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001169/0.2059, allocations: 23.59 kB / 257.6 MB, free: 37.25 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000236/0.2062, allocations: 65.16 kB / 257.7 MB, free: 37.24 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006466/0.2068, allocations: 1.271 MB / 259 MB, free: 35.91 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.207, allocations: 22.89 kB / 259 MB, free: 35.91 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.207, allocations: 11.66 kB / 259 MB, free: 35.9 MB / 186.7 MB Warning: Assuming fixed start value for the following 4 variables: dcee.inertiaRotor.phi:VARIABLE(unit = "rad" ) "Absolute rotation angle of component" type: Real dcee.airGapDC.psi_e:VARIABLE(unit = "Wb" ) "Excitation flux" type: Real dcee.la.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real dcee.inertiaRotor.w:VARIABLE(unit = "rad/s" ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.2072, allocations: 132.7 kB / 259.1 MB, free: 35.77 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.561e-05/0.2072, allocations: 33.84 kB / 259.2 MB, free: 35.75 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.209e-05/0.2073, allocations: 23.78 kB / 259.2 MB, free: 35.73 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.2073, allocations: 3.094 kB / 259.2 MB, free: 35.73 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2073, allocations: 3.984 kB / 259.2 MB, free: 35.73 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2073, allocations: 0 / 259.2 MB, free: 35.73 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00064/0.2079, allocations: 0.6789 MB / 259.9 MB, free: 35.16 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2079, allocations: 0 / 259.9 MB, free: 35.16 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002379/0.2082, allocations: 51.31 kB / 259.9 MB, free: 35.15 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.295e-05/0.2083, allocations: 24.66 kB / 259.9 MB, free: 35.12 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.2083, allocations: 12 kB / 260 MB, free: 35.11 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000506/0.2088, allocations: 1.264 MB / 261.2 MB, free: 33.71 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2088, allocations: 0 / 261.2 MB, free: 33.71 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003769/0.2092, allocations: 401 kB / 261.6 MB, free: 33.29 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.117e-05/0.2093, allocations: 120.9 kB / 261.7 MB, free: 33.15 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.2093, allocations: 7.953 kB / 261.7 MB, free: 33.14 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.2096, allocations: 27.98 kB / 261.8 MB, free: 33.11 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.2096, allocations: 19.91 kB / 261.8 MB, free: 33.09 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.2096, allocations: 8 kB / 261.8 MB, free: 33.09 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001446/0.2098, allocations: 199.1 kB / 262 MB, free: 32.89 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2098, allocations: 7.938 kB / 262 MB, free: 32.88 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003357/0.2101, allocations: 76 kB / 262.1 MB, free: 32.8 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dcee.inertiaRotor.phi,dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001311/0.2103, allocations: 103.2 kB / 262.2 MB, free: 32.7 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0004298/0.2107, allocations: 274.5 kB / 262.4 MB, free: 32.41 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.2107, allocations: 4.438 kB / 262.4 MB, free: 32.41 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.2109, allocations: 195.4 kB / 262.6 MB, free: 32.21 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.2113, allocations: 53.67 kB / 262.7 MB, free: 32.16 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008597/0.2122, allocations: 0.6503 MB / 263.3 MB, free: 31.48 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001714/0.2124, allocations: 0.8033 MB / 264.1 MB, free: 30.65 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0001051/0.2125, allocations: 26.06 kB / 264.2 MB, free: 30.62 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.482e-05/0.2125, allocations: 19.44 kB / 264.2 MB, free: 30.61 MB / 186.7 MB Notification: Performance of SimCode: time 4.8e-07/0.2125, allocations: 0 / 264.2 MB, free: 30.61 MB / 186.7 MB Notification: Performance of Templates: time 0.005276/0.2178, allocations: 2.737 MB / 266.9 MB, free: 27.88 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.DCEE_Start.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.DCEE_Start.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.DCEE_Start.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.DCEE_Start.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.DCEE_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.DCEE_Start.pipe 2>&1)