Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001029, allocations: 99.73 kB / 16.3 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001105, allocations: 178.8 kB / 17.19 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.4 MB / 223.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3485/0.3485, allocations: 38.05 MB / 309.7 MB, free: 8.852 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006413/0.0006414, allocations: 18.19 kB / 376.5 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1541, allocations: 56.34 MB / 432.8 MB, free: 6.715 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.00754/0.1617, allocations: 5.287 MB / 438.1 MB, free: 1.402 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007903/0.1696, allocations: 4.102 MB / 442.2 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008801/0.1706, allocations: 35.75 kB / 442.2 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005492/0.1761, allocations: 1.657 MB / 443.9 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00126/0.1774, allocations: 283.1 kB / 444.2 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008536/0.1782, allocations: 227.5 kB / 444.4 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009522/0.1792, allocations: 487.4 kB / 444.9 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009133/0.1801, allocations: 0.4984 MB / 445.4 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003414/0.1805, allocations: 263 kB / 445.6 MB, free: 9.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004094/0.1809, allocations: 271 kB / 445.9 MB, free: 9.555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.654e-05/0.181, allocations: 24 kB / 445.9 MB, free: 9.531 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002379/0.1812, allocations: 75.86 kB / 446 MB, free: 9.457 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002399/0.1815, allocations: 231.4 kB / 446.2 MB, free: 9.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.1816, allocations: 137.4 kB / 446.4 MB, free: 9.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006661/0.1823, allocations: 0.5532 MB / 446.9 MB, free: 8.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1823, allocations: 4 kB / 446.9 MB, free: 8.531 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1823, allocations: 4 kB / 446.9 MB, free: 8.527 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.1823, allocations: 0 / 446.9 MB, free: 8.527 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001718/0.1841, allocations: 0.8003 MB / 447.7 MB, free: 7.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.1841, allocations: 12.03 kB / 447.7 MB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000519/0.1847, allocations: 95.11 kB / 447.8 MB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.1857, allocations: 0.5171 MB / 448.3 MB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.215e-05/0.1858, allocations: 40.98 kB / 448.4 MB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.176e-05/0.1859, allocations: 51.89 kB / 448.4 MB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009821/0.1869, allocations: 0.6414 MB / 449.1 MB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.1869, allocations: 0 / 449.1 MB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.131e-05/0.187, allocations: 16 kB / 449.1 MB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001489/0.1871, allocations: 60.91 kB / 449.1 MB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007298/0.1879, allocations: 479.6 kB / 449.6 MB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003728/0.1916, allocations: 2.543 MB / 452.2 MB, free: 3.023 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005069/0.1921, allocations: 315.6 kB / 452.5 MB, free: 2.688 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.1922, allocations: 4.062 kB / 452.5 MB, free: 2.684 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.1922, allocations: 38.56 kB / 452.5 MB, free: 2.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=32): time 2.244e-06/0.1922, allocations: 4 kB / 452.5 MB, free: 2.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.002621/0.1948, allocations: 1.633 MB / 454.1 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/0.1949, allocations: 111 kB / 454.3 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004639/0.1954, allocations: 421.8 kB / 454.7 MB, free: 316 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.1954, allocations: 33.7 kB / 454.7 MB, free: 276 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2719/0.4673, allocations: 300.4 kB / 455 MB, free: 52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/0.4676, allocations: 117.6 kB / 455.1 MB, free: 52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.4676, allocations: 10.72 kB / 455.1 MB, free: 52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.4678, allocations: 361.7 kB / 455.5 MB, free: 51.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.4681, allocations: 162.4 kB / 455.6 MB, free: 51.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/0.4684, allocations: 297.3 kB / 455.9 MB, free: 51.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.4686, allocations: 209.1 kB / 456.1 MB, free: 51.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4687, allocations: 1.891 kB / 456.1 MB, free: 51.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001236/0.4699, allocations: 0.7955 MB / 456.9 MB, free: 51.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.4699, allocations: 6.734 kB / 456.9 MB, free: 51.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.4699, allocations: 5.969 kB / 456.9 MB, free: 51.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005774/0.4705, allocations: 210 kB / 457.1 MB, free: 51.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003027/0.4708, allocations: 73.48 kB / 457.2 MB, free: 51.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003353/0.4742, allocations: 3.978 MB / 461.2 MB, free: 48.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003105/0.4745, allocations: 25.55 kB / 461.2 MB, free: 48.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.135e-05/0.4746, allocations: 22.48 kB / 461.2 MB, free: 48.83 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002922/0.4749, allocations: 220 kB / 461.4 MB, free: 48.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.296e-05/0.475, allocations: 46.25 kB / 461.5 MB, free: 48.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007437/0.4757, allocations: 0.6479 MB / 462.1 MB, free: 48.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.4757, allocations: 3.188 kB / 462.1 MB, free: 48.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.4757, allocations: 3.156 kB / 462.1 MB, free: 48.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.4758, allocations: 3.281 kB / 462.2 MB, free: 48.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.4772, allocations: 1.191 MB / 463.3 MB, free: 47.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.4772, allocations: 4.5 kB / 463.3 MB, free: 47.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003869/0.4776, allocations: 75.16 kB / 463.4 MB, free: 47.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001307/0.4777, allocations: 52.03 kB / 463.5 MB, free: 47.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.4778, allocations: 12.09 kB / 463.5 MB, free: 47.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00136/0.4791, allocations: 2.66 MB / 466.1 MB, free: 45.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.4792, allocations: 0 / 466.1 MB, free: 45.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.4802, allocations: 0.996 MB / 467.1 MB, free: 44.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.4804, allocations: 144.1 kB / 467.3 MB, free: 44.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.448e-05/0.4804, allocations: 11.25 kB / 467.3 MB, free: 44.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.4807, allocations: 14.33 kB / 467.3 MB, free: 44.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.4807, allocations: 27.41 kB / 467.3 MB, free: 44.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-05/0.4808, allocations: 15.03 kB / 467.3 MB, free: 44.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003273/0.4811, allocations: 289.4 kB / 467.6 MB, free: 44.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4811, allocations: 0 / 467.6 MB, free: 44.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006175/0.4817, allocations: 132.4 kB / 467.8 MB, free: 44.62 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asynchron.i[3],asynchron.phi_el,asynchron.psi_s[1],asynchron.psi_s[2],asynchron.psi_rd[1],asynchron.psi_rq[1],rotor.w) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000135/0.4819, allocations: 111.2 kB / 467.9 MB, free: 44.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001133/0.483, allocations: 0.729 MB / 468.6 MB, free: 44.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.483, allocations: 4.062 kB / 468.6 MB, free: 44.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004489/0.4835, allocations: 417.3 kB / 469 MB, free: 44.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005376/0.484, allocations: 93.73 kB / 469.1 MB, free: 44.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.486, allocations: 1.814 MB / 470.9 MB, free: 42.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.4864, allocations: 0.9572 MB / 471.9 MB, free: 42.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002829/0.4867, allocations: 99.89 kB / 472 MB, free: 42.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.4868, allocations: 37.2 kB / 472 MB, free: 42.2 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4868, allocations: 0 / 472 MB, free: 42.2 MB / 382.1 MB Notification: Performance of Templates: time 0.01035/0.4971, allocations: 6.234 MB / 478.2 MB, free: 41.78 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) Environment - environmentSimulation: