Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.SMEE_Generator.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.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=12000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=12000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.SMEE_Generator") [: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.6412/0.6412, allocations: 110.8 MB / 118 MB, free: 10.79 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001782/0.001782, allocations: 163 kB / 143.7 MB, free: 9.945 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 7.303e-06/7.594e-06, allocations: 0 / 173.5 MB, free: 12.16 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05146/0.05148, allocations: 25.17 MB / 198.6 MB, free: 2.945 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1304/0.182, allocations: 48.94 MB / 247.6 MB, free: 7.215 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.1822, allocations: 72.27 kB / 247.6 MB, free: 7.148 MB / 186.7 MB Notification: Performance of FrontEnd: time 0.2246/0.4068, allocations: 55.27 MB / 302.9 MB, free: 44.57 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.0001456/0.407, allocations: 51.69 kB / 302.9 MB, free: 44.56 MB / 218.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 501 * Number of variables: 501 Notification: Performance of Generate backend data structure: time 0.004353/0.4114, allocations: 2.052 MB / 305 MB, free: 43.64 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.4114, allocations: 15.84 kB / 305 MB, free: 43.64 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006614/0.4121, allocations: 232.8 kB / 305.2 MB, free: 43.52 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00236/0.4144, allocations: 1.283 MB / 306.5 MB, free: 43.15 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.805e-05/0.4145, allocations: 62.25 kB / 306.6 MB, free: 43.15 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003895/0.4149, allocations: 116.5 kB / 306.7 MB, free: 43.14 MB / 218.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003421/0.4184, allocations: 1.975 MB / 308.7 MB, free: 43.13 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00434/0.4227, allocations: 2.274 MB / 310.9 MB, free: 42.89 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.843e-05/0.4228, allocations: 5.906 kB / 311 MB, free: 42.88 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002458/0.4231, allocations: 3.844 kB / 311 MB, free: 42.88 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.35e-05/0.4232, allocations: 91.75 kB / 311 MB, free: 42.88 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01276/0.4359, allocations: 7.213 MB / 318.3 MB, free: 39.84 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.4374, allocations: 0.8808 MB / 319.1 MB, free: 39.5 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/0.4386, allocations: 0.8696 MB / 320 MB, free: 39.2 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.122e-05/0.4387, allocations: 15.94 kB / 320 MB, free: 39.19 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.4387, allocations: 48.19 kB / 320.1 MB, free: 39.14 MB / 218.7 MB Notification: Performance of pre-optimization done (n=107): time 3.627e-06/0.4388, allocations: 1.062 kB / 320.1 MB, free: 39.14 MB / 218.7 MB Notification: Performance of matching and sorting (n=131): time 0.00989/0.4486, allocations: 5.054 MB / 325.1 MB, free: 37.16 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.4487, allocations: 66.44 kB / 325.2 MB, free: 37.1 MB / 218.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7706:7-7708:33:writable] Warning: Parameter terminalBox.terminalConnection has no value, and is fixed during initialization (fixed=true), using available start value (start="Y") as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:2348:9-2350:50:writable] Warning: Parameter smee.sigmae has no value, and is fixed during initialization (fixed=true), using available start value (start=0.025) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:2345:9-2347:50:writable] Warning: Parameter smee.Re has no value, and is fixed during initialization (fixed=true), using available start value (start=2.5) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:2342:9-2344:50:writable] Warning: Parameter smee.IeOpenCircuit has no value, and is fixed during initialization (fixed=true), using available start value (start=10.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:2339:9-2341:50:writable] Warning: Parameter smee.VsNominal 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:2333:9-2335:75:writable] Warning: Parameter smee.Rrd 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:2327:9-2329:75:writable] Warning: Parameter smee.Lrsigmad has no value, and is fixed during initialization (fixed=true), using available start value (start=0.05 / (6.283185307179586 * smee.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:2324:9-2326:51:writable] Warning: Parameter smee.useDamperCage has no value, and is fixed during initialization (fixed=true), using available start value (start=true) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:2321:9-2323:75:writable] Warning: Parameter smee.Lmq has no value, and is fixed during initialization (fixed=true), using available start value (start=1.5 / (6.283185307179586 * smee.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:2318:9-2320:75:writable] Warning: Parameter smee.Lmd has no value, and is fixed during initialization (fixed=true), using available start value (start=1.5 / (6.283185307179586 * smee.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 smee.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1 / (6.283185307179586 * smee.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 smee.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 smee.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 smee.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 smee.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=smee.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 smee.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.001551/0.4503, allocations: 0.9018 MB / 326.1 MB, free: 36.72 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 8.79e-05/0.4504, allocations: 25.7 kB / 326.1 MB, free: 36.69 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003163/0.4507, allocations: 0.6923 MB / 326.8 MB, free: 36.18 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002828/0.451, allocations: 426.9 kB / 327.2 MB, free: 35.85 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.522e-05/0.451, allocations: 0 / 327.2 MB, free: 35.85 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 8.806e-05/0.4511, allocations: 360.4 kB / 327.6 MB, free: 35.52 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009803/0.4521, allocations: 0.7367 MB / 328.3 MB, free: 35.24 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.4532, allocations: 0.9581 MB / 329.3 MB, free: 34.71 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.4544, allocations: 0.9011 MB / 330.2 MB, free: 34.37 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.4544, allocations: 1.219 kB / 330.2 MB, free: 34.37 MB / 218.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003581/0.458, allocations: 2.421 MB / 332.6 MB, free: 32.55 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.458, allocations: 4 kB / 332.6 MB, free: 32.55 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/0.458, allocations: 16.48 kB / 332.6 MB, free: 32.53 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001612/0.4596, allocations: 0.6191 MB / 333.2 MB, free: 32.03 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.4608, allocations: 279.4 kB / 333.5 MB, free: 31.8 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007665/0.4685, allocations: 6.765 MB / 340.3 MB, free: 25.5 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.47, allocations: 72.39 kB / 340.3 MB, free: 25.45 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003442/0.4704, allocations: 50.3 kB / 340.4 MB, free: 25.4 MB / 218.7 MB Warning: Assuming fixed start value for the following 4 variables: smee.idq_rr[2]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] smee.idq_rr[1]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] smee.idq_sr[2]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator space phasor current / rotor fixed frame" type: Real [2] smee.idq_sr[1]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator space phasor current / rotor fixed frame" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,80.6%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006044/0.471, allocations: 137.9 kB / 340.5 MB, free: 25.27 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006959/0.4717, allocations: 123.6 kB / 340.7 MB, free: 25.15 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00499/0.4767, allocations: 2.326 MB / 343 MB, free: 23.13 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.4768, allocations: 12 kB / 343 MB, free: 23.12 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.4768, allocations: 4 kB / 343 MB, free: 23.12 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/0.4768, allocations: 7.984 kB / 343 MB, free: 23.11 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007352/0.4842, allocations: 4.48 MB / 347.5 MB, free: 18.59 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.086e-05/0.4842, allocations: 7.812 kB / 347.5 MB, free: 18.58 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009875/0.4852, allocations: 220 kB / 347.7 MB, free: 18.37 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00155/0.4868, allocations: 0.6229 MB / 348.3 MB, free: 17.74 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-05/0.4869, allocations: 19.92 kB / 348.3 MB, free: 17.72 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006743/0.4937, allocations: 6.6 MB / 354.9 MB, free: 10.9 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.4937, allocations: 11.94 kB / 355 MB, free: 10.89 MB / 218.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004559/0.4983, allocations: 3.596 MB / 358.6 MB, free: 7.199 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007112/0.499, allocations: 383.5 kB / 358.9 MB, free: 6.805 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002222/0.4992, allocations: 11.98 kB / 358.9 MB, free: 6.793 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008276/0.5001, allocations: 71.92 kB / 359 MB, free: 6.723 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/0.5002, allocations: 80.78 kB / 359.1 MB, free: 6.645 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-05/0.5003, allocations: 39.98 kB / 359.1 MB, free: 6.605 MB / 218.7 MB Notification: Performance of sort global known variables: time 0.0007709/0.5011, allocations: 0.6649 MB / 359.8 MB, free: 5.93 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.001336/0.5025, allocations: 383.9 kB / 360.2 MB, free: 5.555 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,86.1%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002464/0.5027, allocations: 131 kB / 360.3 MB, free: 5.418 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.003013/0.5057, allocations: 2.217 MB / 362.5 MB, free: 3.164 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.5058, allocations: 4 kB / 362.5 MB, free: 3.16 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001899/0.5077, allocations: 1.393 MB / 363.9 MB, free: 1.738 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.5088, allocations: 207.2 kB / 364.1 MB, free: 1.539 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006125/0.515, allocations: 3.454 MB / 367.6 MB, free: 14.05 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001948/0.5169, allocations: 1.871 MB / 369.4 MB, free: 12.14 MB / 234.7 MB Notification: Performance of SimCode: time 2.485e-06/0.5169, allocations: 0 / 369.4 MB, free: 12.14 MB / 234.7 MB Notification: Performance of Templates: time 0.1025/0.6195, allocations: 19.06 MB / 388.5 MB, free: 76.11 MB / 234.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SMEE_Generator.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.SMEE_Generator.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.SMEE_Generator.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.SMEE_Generator.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.SMEE_Generator.pipe 2>&1)