Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_Steinmetz.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.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_Steinmetz") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6808/0.6808, allocations: 110.8 MB / 118 MB, free: 14.56 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001678/0.001678, allocations: 156 kB / 143.7 MB, free: 4.895 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 6.873e-06/6.903e-06, allocations: 4 kB / 173.5 MB, free: 23.05 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.03827/0.03829, allocations: 25.16 MB / 198.6 MB, free: 13.95 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1332/0.1716, allocations: 43.4 MB / 242 MB, free: 4.047 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001728/0.1718, allocations: 70.92 kB / 242.1 MB, free: 4.035 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.05708/0.2289, allocations: 22.42 MB / 264.5 MB, free: 9.199 MB / 186.7 MB Notification: Performance of Transformations before backend: time 0.0001098/0.229, allocations: 31.94 kB / 264.5 MB, free: 9.168 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003616/0.2326, allocations: 1.38 MB / 265.9 MB, free: 7.824 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.2327, allocations: 8.031 kB / 265.9 MB, free: 7.816 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000566/0.2333, allocations: 146.2 kB / 266.1 MB, free: 7.672 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/0.235, allocations: 0.7967 MB / 266.9 MB, free: 7.02 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.762e-05/0.2351, allocations: 40 kB / 266.9 MB, free: 6.98 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003739/0.2355, allocations: 83.83 kB / 267 MB, free: 6.898 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002315/0.2378, allocations: 1.247 MB / 268.2 MB, free: 6.121 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002304/0.2401, allocations: 1.436 MB / 269.7 MB, free: 5.031 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.491e-05/0.2402, allocations: 11.84 kB / 269.7 MB, free: 5.02 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.2403, allocations: 4 kB / 269.7 MB, free: 5.016 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.178e-05/0.2404, allocations: 58.45 kB / 269.7 MB, free: 4.957 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007696/0.2481, allocations: 4.601 MB / 274.3 MB, free: 320 kB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.2494, allocations: 0.7639 MB / 275.1 MB, free: 15.54 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001192/0.2506, allocations: 0.782 MB / 275.9 MB, free: 14.76 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.312e-05/0.2507, allocations: 12.77 kB / 275.9 MB, free: 14.75 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.2507, allocations: 43.34 kB / 275.9 MB, free: 14.7 MB / 202.7 MB Notification: Performance of pre-optimization done (n=95): time 2.615e-06/0.2507, allocations: 4 kB / 276 MB, free: 14.69 MB / 202.7 MB Notification: Performance of matching and sorting (n=116): time 0.008517/0.2593, allocations: 4.317 MB / 280.3 MB, free: 10.32 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.2593, allocations: 68.34 kB / 280.3 MB, free: 10.24 MB / 202.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:1719:9-1721:75:writable] Warning: Parameter aimc.Rr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:1716:9-1718:75:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1017764061411688 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:1713:9-1715:75:writable] Warning: Parameter aimc.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=2.898223593858831 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7411:7-7413:73:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1017764061411688 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7408:7-7410:73:writable] Warning: Parameter aimc.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7406:7-7407:28:writable] Warning: Parameter aimc.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7405:7-7405:75:writable] Warning: Parameter aimc.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) 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 aimc.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=aimc.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 aimc.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009148/0.2602, allocations: 0.5285 MB / 280.9 MB, free: 9.707 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 7.281e-05/0.2603, allocations: 33.7 kB / 280.9 MB, free: 9.668 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002966/0.2606, allocations: 423.8 kB / 281.3 MB, free: 9.246 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003325/0.261, allocations: 378.2 kB / 281.7 MB, free: 8.871 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.432e-05/0.261, allocations: 0 / 281.7 MB, free: 8.871 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0002124/0.2612, allocations: 394.8 kB / 282.1 MB, free: 8.477 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008595/0.2621, allocations: 0.5805 MB / 282.6 MB, free: 7.895 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009203/0.263, allocations: 0.6904 MB / 283.3 MB, free: 7.18 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.2641, allocations: 0.6979 MB / 284 MB, free: 6.484 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2641, allocations: 0 / 284 MB, free: 6.484 MB / 202.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003733/0.2678, allocations: 2.103 MB / 286.1 MB, free: 4.363 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.2678, allocations: 7.938 kB / 286.1 MB, free: 4.355 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.2679, allocations: 4 kB / 286.2 MB, free: 4.352 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001964/0.2698, allocations: 0.7477 MB / 286.9 MB, free: 3.59 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008278/0.2707, allocations: 183.8 kB / 287.1 MB, free: 3.41 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/0.2814, allocations: 9.437 MB / 296.5 MB, free: 9.508 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007313/0.2821, allocations: 35.95 kB / 296.5 MB, free: 9.473 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/0.2823, allocations: 32 kB / 296.6 MB, free: 9.441 MB / 218.7 MB Warning: Assuming fixed start value for the following 9 variables: cStart.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real cRun.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real quadraticLoadTorque.phi:VARIABLE(unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real aimc.idq_rr[2]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator space phasor current / rotor fixed frame" type: Real [2] aimc.i_0_s:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator zero-sequence current" type: Real aimc.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: 9 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,87.5%) 24,(3,100.0%) 9,(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003565/0.2827, allocations: 144.7 kB / 296.7 MB, free: 9.297 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002173/0.2829, allocations: 86.97 kB / 296.8 MB, free: 9.211 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003872/0.2868, allocations: 2.052 MB / 298.9 MB, free: 7.145 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.2868, allocations: 19.89 kB / 298.9 MB, free: 7.125 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.311e-05/0.2868, allocations: 8 kB / 298.9 MB, free: 7.117 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.2868, allocations: 3.984 kB / 298.9 MB, free: 7.113 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008038/0.2949, allocations: 3.898 MB / 302.8 MB, free: 3.18 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/0.2949, allocations: 3.906 kB / 302.8 MB, free: 3.176 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008134/0.2957, allocations: 151.8 kB / 302.9 MB, free: 3.027 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002065/0.2978, allocations: 0.7583 MB / 303.7 MB, free: 2.254 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.2979, allocations: 7.984 kB / 303.7 MB, free: 2.246 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0108/0.3088, allocations: 9.255 MB / 313 MB, free: 8.535 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/0.3088, allocations: 4 kB / 313 MB, free: 8.531 MB / 234.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005005/0.3138, allocations: 3.026 MB / 316 MB, free: 5.445 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006341/0.3145, allocations: 296 kB / 316.3 MB, free: 5.137 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002346/0.3147, allocations: 15.98 kB / 316.3 MB, free: 5.121 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000676/0.3154, allocations: 39.95 kB / 316.3 MB, free: 5.082 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/0.3156, allocations: 64.89 kB / 316.4 MB, free: 5.02 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.413e-05/0.3157, allocations: 28 kB / 316.4 MB, free: 4.992 MB / 234.7 MB Notification: Performance of sort global known variables: time 0.0005804/0.3163, allocations: 398.9 kB / 316.8 MB, free: 4.602 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001255/0.3175, allocations: 300 kB / 317.1 MB, free: 4.305 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,87.5%) 23,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002369/0.3178, allocations: 121.5 kB / 317.2 MB, free: 4.18 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.003762/0.3216, allocations: 2.141 MB / 319.4 MB, free: 1.977 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.3216, allocations: 0 / 319.4 MB, free: 1.977 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002444/0.324, allocations: 1.468 MB / 320.8 MB, free: 460 kB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.3252, allocations: 170.9 kB / 321 MB, free: 288 kB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07558/0.4008, allocations: 2.694 MB / 323.7 MB, free: 87.21 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009302/0.4018, allocations: 1.405 MB / 325.1 MB, free: 86.48 MB / 234.7 MB Notification: Performance of SimCode: time 8.52e-07/0.4018, allocations: 0 / 325.1 MB, free: 86.48 MB / 234.7 MB Notification: Performance of Templates: time 0.02429/0.4261, allocations: 17.01 MB / 342.1 MB, free: 85.71 MB / 234.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_Steinmetz.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_Steinmetz.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_Steinmetz.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_Steinmetz.pipe 2>&1)