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.7606/0.7606, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001646/0.001646, allocations: 147.5 kB / 149.1 MB, free: 0.9609 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.324e-05/2.332e-05, allocations: 4 kB / 180.2 MB, free: 17.55 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0411/0.04114, allocations: 25.17 MB / 205.4 MB, free: 8.438 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1767/0.2179, allocations: 49.69 MB / 255.1 MB, free: 16.73 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000152/0.2181, allocations: 65.42 kB / 255.1 MB, free: 16.73 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1298/0.3479, allocations: 56.17 MB / 311.3 MB, free: 9.262 MB / 218.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3479, allocations: 0 / 311.3 MB, free: 9.262 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.0001328/0.3481, allocations: 55.92 kB / 311.4 MB, free: 9.207 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.003785/0.3519, allocations: 2.066 MB / 313.4 MB, free: 7.09 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.3519, allocations: 8.031 kB / 313.4 MB, free: 7.082 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004376/0.3524, allocations: 237.2 kB / 313.7 MB, free: 6.848 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002133/0.3545, allocations: 1.271 MB / 314.9 MB, free: 5.531 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.771e-05/0.3546, allocations: 143.8 kB / 315.1 MB, free: 5.391 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002747/0.3549, allocations: 188 kB / 315.3 MB, free: 5.207 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003913/0.3588, allocations: 2.517 MB / 317.8 MB, free: 2.621 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.625e-05/0.3589, allocations: 7.906 kB / 317.8 MB, free: 2.613 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001925/0.3591, allocations: 76 kB / 317.9 MB, free: 2.539 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.644e-05/0.3592, allocations: 95.83 kB / 318 MB, free: 2.445 MB / 218.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003227/0.3624, allocations: 2.038 MB / 320 MB, free: 416 kB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01215/0.3746, allocations: 7.523 MB / 327.5 MB, free: 8.699 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/0.3767, allocations: 1.947 MB / 329.5 MB, free: 6.578 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.3777, allocations: 0.7839 MB / 330.3 MB, free: 5.793 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.409e-05/0.3778, allocations: 20.94 kB / 330.3 MB, free: 5.773 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.3779, allocations: 47.56 kB / 330.3 MB, free: 5.719 MB / 234.7 MB Notification: Performance of pre-optimization done (n=105): time 3.136e-06/0.3779, allocations: 0 / 330.3 MB, free: 5.719 MB / 234.7 MB Notification: Performance of matching and sorting (n=129): time 0.1288/0.5067, allocations: 6.369 MB / 336.7 MB, free: 44.33 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.5067, allocations: 67.81 kB / 336.8 MB, free: 44.27 MB / 234.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.001574/0.5083, allocations: 0.9965 MB / 337.8 MB, free: 44.12 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002572/0.5086, allocations: 44.61 kB / 337.8 MB, free: 44.09 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00048/0.5091, allocations: 0.8385 MB / 338.6 MB, free: 43.99 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003096/0.5094, allocations: 441.9 kB / 339.1 MB, free: 43.77 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.926e-05/0.5095, allocations: 25.22 kB / 339.1 MB, free: 43.77 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.362e-05/0.5095, allocations: 357.8 kB / 339.4 MB, free: 43.46 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.5106, allocations: 0.718 MB / 340.2 MB, free: 43.46 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.5116, allocations: 0.954 MB / 341.1 MB, free: 43.23 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.5127, allocations: 0.8779 MB / 342 MB, free: 43.21 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.5127, allocations: 2.406 kB / 342 MB, free: 43.21 MB / 234.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.003619/0.5164, allocations: 2.47 MB / 344.5 MB, free: 43.05 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.5164, allocations: 7.688 kB / 344.5 MB, free: 43.05 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/0.5164, allocations: 13.48 kB / 344.5 MB, free: 43.05 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001457/0.5179, allocations: 0.626 MB / 345.1 MB, free: 43.03 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.5189, allocations: 288.8 kB / 345.4 MB, free: 43.03 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007005/0.5259, allocations: 7.376 MB / 352.8 MB, free: 40.38 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.5272, allocations: 109.4 kB / 352.9 MB, free: 40.38 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.5273, allocations: 51.59 kB / 352.9 MB, free: 40.38 MB / 234.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 (127): * Single equations (assignments): 123 * 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.0003244/0.5276, allocations: 187.1 kB / 353.1 MB, free: 40.27 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/0.5279, allocations: 133.3 kB / 353.2 MB, free: 40.21 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003408/0.5313, allocations: 2.358 MB / 355.6 MB, free: 40.09 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.5313, allocations: 19.12 kB / 355.6 MB, free: 40.09 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5313, allocations: 6.875 kB / 355.6 MB, free: 40.09 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.5313, allocations: 3.891 kB / 355.6 MB, free: 40.09 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006436/0.5378, allocations: 4.811 MB / 360.4 MB, free: 39.55 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/0.5378, allocations: 3.188 kB / 360.4 MB, free: 39.55 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007832/0.5386, allocations: 207.4 kB / 360.6 MB, free: 39.55 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001308/0.5399, allocations: 0.6393 MB / 361.3 MB, free: 39.38 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.241e-05/0.54, allocations: 30.89 kB / 361.3 MB, free: 39.37 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006504/0.5465, allocations: 7.204 MB / 368.5 MB, free: 34.88 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.5465, allocations: 3.938 kB / 368.5 MB, free: 34.88 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004108/0.5507, allocations: 3.55 MB / 372.1 MB, free: 33.3 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006254/0.5513, allocations: 384.7 kB / 372.4 MB, free: 33.06 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/0.5515, allocations: 27.72 kB / 372.5 MB, free: 33.04 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007646/0.5522, allocations: 108.9 kB / 372.6 MB, free: 33.03 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002332/0.5525, allocations: 105.4 kB / 372.7 MB, free: 33.01 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-05/0.5526, allocations: 38.05 kB / 372.7 MB, free: 33 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0008652/0.5534, allocations: 0.7466 MB / 373.5 MB, free: 32.68 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5534, allocations: 2.812 kB / 373.5 MB, free: 32.68 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001228/0.5547, allocations: 446.8 kB / 373.9 MB, free: 32.64 MB / 234.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 (97): * Single equations (assignments): 93 * 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 Backend phase and start with SimCode phase: time 0.0002237/0.5549, allocations: 148.7 kB / 374 MB, free: 32.54 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.002917/0.5578, allocations: 2.337 MB / 376.4 MB, free: 31.54 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5579, allocations: 7.219 kB / 376.4 MB, free: 31.53 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001838/0.5597, allocations: 1.49 MB / 377.9 MB, free: 30.83 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.5609, allocations: 246.6 kB / 378.1 MB, free: 30.76 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004475/0.5654, allocations: 3.406 MB / 381.5 MB, free: 29.42 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001089/0.5665, allocations: 1.817 MB / 383.3 MB, free: 28.5 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0008127/0.5673, allocations: 308.8 kB / 383.6 MB, free: 28.48 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002526/0.5676, allocations: 79.73 kB / 383.7 MB, free: 28.47 MB / 234.7 MB Notification: Performance of SimCode: time 6.31e-07/0.5676, allocations: 7.125 kB / 383.7 MB, free: 28.47 MB / 234.7 MB Notification: Performance of Templates: time 0.02728/0.5949, allocations: 19.86 MB / 403.6 MB, free: 18.43 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)