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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.693/0.693, allocations: 110.9 MB / 125.9 MB, free: 6.203 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001666/0.001666, allocations: 155.3 kB / 151.8 MB, free: 4.973 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002345/0.0002345, allocations: 4 kB / 184.9 MB, free: 3.902 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.125, allocations: 25.15 MB / 210 MB, free: 29.75 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06915/0.1942, allocations: 49.79 MB / 259.8 MB, free: 16 kB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.1945, allocations: 68.05 kB / 259.9 MB, free: 15.95 MB / 202.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2143/0.4088, allocations: 56 MB / 315.9 MB, free: 47.52 MB / 218.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4088, allocations: 0 / 315.9 MB, free: 47.52 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.0001066/0.4089, allocations: 53.91 kB / 316 MB, free: 47.5 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.003711/0.4126, allocations: 2.23 MB / 318.2 MB, free: 46.36 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.4127, allocations: 9.625 kB / 318.2 MB, free: 46.36 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003746/0.413, allocations: 239.6 kB / 318.4 MB, free: 46.24 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/0.4149, allocations: 1.276 MB / 319.7 MB, free: 45.52 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.293e-05/0.4149, allocations: 145.5 kB / 319.8 MB, free: 45.45 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000254/0.4152, allocations: 186.1 kB / 320 MB, free: 45.39 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003581/0.4188, allocations: 2.594 MB / 322.6 MB, free: 44.24 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.888e-05/0.4189, allocations: 11.25 kB / 322.6 MB, free: 44.23 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001744/0.4191, allocations: 81.81 kB / 322.7 MB, free: 44.17 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.067e-05/0.4191, allocations: 84.94 kB / 322.8 MB, free: 44.16 MB / 218.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00306/0.4222, allocations: 2.158 MB / 325 MB, free: 43.23 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01023/0.4325, allocations: 7.528 MB / 332.5 MB, free: 36.35 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.4342, allocations: 2.004 MB / 334.5 MB, free: 34.18 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.918e-05/0.4343, allocations: 23.89 kB / 334.5 MB, free: 34.16 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.4343, allocations: 43.56 kB / 334.6 MB, free: 34.11 MB / 218.7 MB Notification: Performance of pre-optimization done (n=105): time 3.477e-06/0.4343, allocations: 0 / 334.6 MB, free: 34.11 MB / 218.7 MB Notification: Performance of matching and sorting (n=128): time 0.01578/0.4501, allocations: 8.025 MB / 342.6 MB, free: 25.99 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.4502, allocations: 68.39 kB / 342.6 MB, free: 25.91 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.001204/0.4514, allocations: 1.002 MB / 343.6 MB, free: 24.89 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 8.998e-05/0.4515, allocations: 45.7 kB / 343.7 MB, free: 24.84 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003358/0.4518, allocations: 0.8444 MB / 344.5 MB, free: 23.99 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002595/0.4521, allocations: 440.2 kB / 345 MB, free: 23.57 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.061e-05/0.4522, allocations: 24 kB / 345 MB, free: 23.54 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 7.075e-05/0.4523, allocations: 357.9 kB / 345.3 MB, free: 23.19 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.4533, allocations: 0.7872 MB / 346.1 MB, free: 22.4 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.4543, allocations: 1.021 MB / 347.1 MB, free: 21.29 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.4555, allocations: 0.9367 MB / 348.1 MB, free: 20.36 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4555, allocations: 0 / 348.1 MB, free: 20.36 MB / 218.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003536/0.459, allocations: 2.593 MB / 350.7 MB, free: 17.75 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.4591, allocations: 11.95 kB / 350.7 MB, free: 17.74 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/0.4591, allocations: 12 kB / 350.7 MB, free: 17.73 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001315/0.4604, allocations: 0.6307 MB / 351.3 MB, free: 17.09 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.4614, allocations: 283.6 kB / 351.6 MB, free: 16.81 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007131/0.4686, allocations: 7.63 MB / 359.2 MB, free: 8.914 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.4698, allocations: 115.9 kB / 359.3 MB, free: 8.801 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.4699, allocations: 47.95 kB / 359.4 MB, free: 8.754 MB / 218.7 MB Warning: Assuming fixed start value for the following 4 variables: smee.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] smee.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] smee.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer ) "stator space phasor current / rotor fixed frame" type: Real [2] smee.idq_sr[1]:VARIABLE(unit = "A" fixed = true 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 122 * 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 prepare postOptimizeDAE: time 0.001134/0.4711, allocations: 0.6872 MB / 360.1 MB, free: 8.062 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/0.4713, allocations: 126.5 kB / 360.2 MB, free: 7.938 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003497/0.4748, allocations: 2.495 MB / 362.7 MB, free: 5.426 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.4748, allocations: 12 kB / 362.7 MB, free: 5.414 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4748, allocations: 7.938 kB / 362.7 MB, free: 5.406 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.4748, allocations: 7.969 kB / 362.7 MB, free: 5.398 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006426/0.4813, allocations: 4.89 MB / 367.6 MB, free: 460 kB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/0.4813, allocations: 7.984 kB / 367.6 MB, free: 452 kB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008083/0.4821, allocations: 211.9 kB / 367.8 MB, free: 240 kB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0015/0.4836, allocations: 0.6385 MB / 368.5 MB, free: 15.59 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.084e-05/0.4837, allocations: 31.98 kB / 368.5 MB, free: 15.56 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008613/0.4924, allocations: 7.472 MB / 376 MB, free: 7.828 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.198e-05/0.4924, allocations: 4 kB / 376 MB, free: 7.824 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005694/0.4981, allocations: 3.684 MB / 379.7 MB, free: 4.074 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007869/0.4989, allocations: 379.4 kB / 380 MB, free: 3.684 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/0.4991, allocations: 28 kB / 380.1 MB, free: 3.656 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008154/0.4999, allocations: 107.9 kB / 380.2 MB, free: 3.551 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002679/0.5002, allocations: 104.7 kB / 380.3 MB, free: 3.449 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.829e-05/0.5003, allocations: 32 kB / 380.3 MB, free: 3.418 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.001178/0.5015, allocations: 0.7641 MB / 381.1 MB, free: 2.645 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5015, allocations: 0 / 381.1 MB, free: 2.645 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001556/0.5031, allocations: 447.9 kB / 381.5 MB, free: 2.207 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 91 * 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.000337/0.5034, allocations: 148.9 kB / 381.6 MB, free: 2.055 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.09341/0.5968, allocations: 2.473 MB / 384.1 MB, free: 57.58 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/0.5969, allocations: 0 / 384.1 MB, free: 57.58 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002534/0.5994, allocations: 1.556 MB / 385.7 MB, free: 57.26 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.6009, allocations: 244.6 kB / 385.9 MB, free: 57.26 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006295/0.6073, allocations: 4.914 MB / 390.8 MB, free: 55.36 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001458/0.6087, allocations: 1.813 MB / 392.6 MB, free: 54.61 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.001014/0.6098, allocations: 308 kB / 392.9 MB, free: 54.59 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.6101, allocations: 84.36 kB / 393 MB, free: 54.59 MB / 234.7 MB Notification: Performance of SimCode: time 8.31e-07/0.6101, allocations: 1.625 kB / 393 MB, free: 54.59 MB / 234.7 MB Notification: Performance of Templates: time 0.02876/0.6388, allocations: 19.89 MB / 412.9 MB, free: 52.75 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)