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.748/0.748, allocations: 110.8 MB / 118.3 MB, free: 14.47 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001681/0.001681, allocations: 159.4 kB / 144 MB, free: 4.793 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.177e-05/1.178e-05, allocations: 0 / 173.8 MB, free: 22.8 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.03724/0.03726, allocations: 25.18 MB / 199 MB, free: 13.7 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1569/0.1942, allocations: 49.02 MB / 248 MB, free: 44.38 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.1945, allocations: 63.8 kB / 248.1 MB, free: 44.38 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1252/0.3198, allocations: 55.54 MB / 303.6 MB, free: 10.1 MB / 202.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.3198, allocations: 0 / 303.6 MB, free: 10.1 MB / 202.7 MB Notification: Performance of Transformations before backend: time 0.0001269/0.3199, allocations: 47.94 kB / 303.7 MB, free: 10.05 MB / 202.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.004264/0.3242, allocations: 2.059 MB / 305.8 MB, free: 7.941 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.3243, allocations: 8.031 kB / 305.8 MB, free: 7.934 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004604/0.3247, allocations: 237.2 kB / 306 MB, free: 7.699 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/0.3268, allocations: 1.282 MB / 307.3 MB, free: 6.375 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.568e-05/0.3269, allocations: 64 kB / 307.3 MB, free: 6.312 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002451/0.3271, allocations: 112 kB / 307.4 MB, free: 6.203 MB / 202.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003039/0.3302, allocations: 1.933 MB / 309.4 MB, free: 4.27 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003474/0.3337, allocations: 2.243 MB / 311.6 MB, free: 1.957 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.52e-05/0.3337, allocations: 3.906 kB / 311.6 MB, free: 1.953 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001495/0.3339, allocations: 0 / 311.6 MB, free: 1.953 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.891e-05/0.334, allocations: 87.91 kB / 311.7 MB, free: 1.867 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0113/0.3453, allocations: 7.168 MB / 318.9 MB, free: 10.53 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00194/0.3473, allocations: 1.912 MB / 320.8 MB, free: 8.434 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009817/0.3483, allocations: 0.7501 MB / 321.5 MB, free: 7.688 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.7e-05/0.3484, allocations: 21.28 kB / 321.6 MB, free: 7.668 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.3484, allocations: 51.77 kB / 321.6 MB, free: 7.605 MB / 218.7 MB Notification: Performance of pre-optimization done (n=107): time 3.316e-06/0.3484, allocations: 3.938 kB / 321.6 MB, free: 7.602 MB / 218.7 MB Notification: Performance of matching and sorting (n=131): time 0.009473/0.3579, allocations: 4.978 MB / 326.6 MB, free: 2.582 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.358, allocations: 72.72 kB / 326.7 MB, free: 2.496 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.001481/0.3595, allocations: 0.8799 MB / 327.5 MB, free: 1.598 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 8.669e-05/0.3596, allocations: 25.7 kB / 327.6 MB, free: 1.566 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006415/0.3602, allocations: 0.8456 MB / 328.4 MB, free: 0.707 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004011/0.3606, allocations: 433.5 kB / 328.8 MB, free: 284 kB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.209e-05/0.3607, allocations: 0 / 328.8 MB, free: 284 kB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.1098/0.4706, allocations: 358.2 kB / 329.2 MB, free: 37.58 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/0.4718, allocations: 0.7031 MB / 329.9 MB, free: 37.58 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009676/0.4728, allocations: 0.9242 MB / 330.8 MB, free: 37.36 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.4739, allocations: 0.8607 MB / 331.7 MB, free: 37.36 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.4739, allocations: 1.375 kB / 331.7 MB, free: 37.36 MB / 218.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003881/0.4778, allocations: 2.351 MB / 334 MB, free: 37.28 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.4778, allocations: 14.67 kB / 334 MB, free: 37.27 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.207e-05/0.4779, allocations: 6.406 kB / 334.1 MB, free: 37.27 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00159/0.4795, allocations: 0.6114 MB / 334.7 MB, free: 37.26 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.4806, allocations: 290.2 kB / 334.9 MB, free: 37.26 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007274/0.4879, allocations: 7.115 MB / 342.1 MB, free: 34.79 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.489, allocations: 85.89 kB / 342.1 MB, free: 34.79 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.802e-05/0.4891, allocations: 49.5 kB / 342.2 MB, free: 34.79 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.0002959/0.4894, allocations: 137.5 kB / 342.3 MB, free: 34.68 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000219/0.4896, allocations: 127 kB / 342.5 MB, free: 34.68 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003208/0.4928, allocations: 2.263 MB / 344.7 MB, free: 34.58 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.4928, allocations: 14.67 kB / 344.7 MB, free: 34.58 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.4929, allocations: 4.781 kB / 344.7 MB, free: 34.58 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.4929, allocations: 8.141 kB / 344.7 MB, free: 34.58 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006051/0.4989, allocations: 4.47 MB / 349.2 MB, free: 34.12 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/0.499, allocations: 3.531 kB / 349.2 MB, free: 34.12 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008425/0.4998, allocations: 224.9 kB / 349.4 MB, free: 34.12 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001311/0.5011, allocations: 0.6227 MB / 350.1 MB, free: 34.1 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.144e-05/0.5012, allocations: 12.45 kB / 350.1 MB, free: 34.1 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006534/0.5078, allocations: 6.953 MB / 357 MB, free: 30.02 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.5078, allocations: 5.906 kB / 357 MB, free: 30.02 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004024/0.5118, allocations: 3.461 MB / 360.5 MB, free: 28.46 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005891/0.5124, allocations: 377.8 kB / 360.9 MB, free: 28.22 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/0.5126, allocations: 10.81 kB / 360.9 MB, free: 28.22 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007546/0.5134, allocations: 94.36 kB / 361 MB, free: 28.22 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002086/0.5136, allocations: 111.7 kB / 361.1 MB, free: 28.2 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.883e-05/0.5137, allocations: 33.78 kB / 361.1 MB, free: 28.2 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0007247/0.5144, allocations: 0.6505 MB / 361.8 MB, free: 27.9 MB / 218.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5144, allocations: 3.562 kB / 361.8 MB, free: 27.9 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.001303/0.5157, allocations: 394.5 kB / 362.1 MB, free: 27.9 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,80.6%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002432/0.516, allocations: 130.8 kB / 362.3 MB, free: 27.81 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.002882/0.5189, allocations: 2.256 MB / 364.5 MB, free: 26.84 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5189, allocations: 0 / 364.5 MB, free: 26.84 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001817/0.5207, allocations: 1.447 MB / 366 MB, free: 26.17 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.5219, allocations: 212.3 kB / 366.2 MB, free: 26.12 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00459/0.5265, allocations: 3.364 MB / 369.5 MB, free: 24.83 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/0.5277, allocations: 1.808 MB / 371.4 MB, free: 23.91 MB / 218.7 MB Notification: Performance of simCode: alias equations: time 0.000811/0.5285, allocations: 313.6 kB / 371.7 MB, free: 23.89 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/0.5288, allocations: 87.92 kB / 371.7 MB, free: 23.88 MB / 218.7 MB Notification: Performance of SimCode: time 9.82e-07/0.5288, allocations: 0 / 371.7 MB, free: 23.88 MB / 218.7 MB Notification: Performance of Templates: time 0.02591/0.5547, allocations: 17.9 MB / 389.6 MB, free: 13.3 MB / 218.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)