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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001336/0.001336, allocations: 105.9 kB / 16.5 MB, free: 6.688 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.00131/0.00131, allocations: 193.9 kB / 17.42 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1832/0.1832, allocations: 38.03 MB / 329.3 MB, free: 8.961 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 58.48 kB / 398.1 MB, free: 34.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1273, allocations: 58.06 MB / 456.1 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.007775/0.1351, allocations: 6.217 MB / 462.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006786/0.1419, allocations: 4.57 MB / 466.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006371/0.1426, allocations: 35.75 kB / 467 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008798/0.1514, allocations: 4.749 MB / 471.7 MB, free: 8.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.1526, allocations: 318.6 kB / 472 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007172/0.1534, allocations: 239.6 kB / 472.3 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002435/0.1558, allocations: 2.125 MB / 474.4 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006129/0.1564, allocations: 344.2 kB / 474.7 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004866/0.1569, allocations: 326.5 kB / 475 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006342/0.1576, allocations: 470.3 kB / 475.5 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.818e-05/0.1577, allocations: 28 kB / 475.5 MB, free: 5.062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003141/0.158, allocations: 123.8 kB / 475.7 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002558/0.1583, allocations: 267.3 kB / 475.9 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003121/0.1586, allocations: 306.3 kB / 476.2 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006953/0.1593, allocations: 0.7241 MB / 476.9 MB, free: 3.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1593, allocations: 0 / 476.9 MB, free: 3.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1593, allocations: 0 / 476.9 MB, free: 3.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.1593, allocations: 0 / 476.9 MB, free: 3.652 MB / 350.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.001753/0.1611, allocations: 0.9056 MB / 477.8 MB, free: 2.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.1611, allocations: 8.031 kB / 477.8 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000467/0.1616, allocations: 96.05 kB / 477.9 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.1627, allocations: 0.5371 MB / 478.5 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/0.1627, allocations: 33 kB / 478.5 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.504e-05/0.1628, allocations: 47.98 kB / 478.6 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.1639, allocations: 0.653 MB / 479.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.1639, allocations: 0 / 479.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.088e-05/0.164, allocations: 23.92 kB / 479.2 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001385/0.1641, allocations: 48.97 kB / 479.3 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007756/0.1649, allocations: 491.6 kB / 479.8 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003427/0.1683, allocations: 2.543 MB / 482.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005186/0.1689, allocations: 319.6 kB / 482.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/0.1691, allocations: 187 kB / 482.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.1692, allocations: 11.98 kB / 482.8 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.1692, allocations: 38.56 kB / 482.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.093e-06/0.1692, allocations: 0 / 482.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.002892/0.1721, allocations: 1.617 MB / 484.5 MB, free: 11.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.571e-05/0.1722, allocations: 110.8 kB / 484.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005142/0.1728, allocations: 425.8 kB / 485 MB, free: 11.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/0.1728, allocations: 33.7 kB / 485 MB, free: 11.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/0.1731, allocations: 307.6 kB / 485.3 MB, free: 10.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.1732, allocations: 126.3 kB / 485.4 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.1733, allocations: 90.16 kB / 485.5 MB, free: 10.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.1735, allocations: 362.7 kB / 485.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.1738, allocations: 161 kB / 486 MB, free: 10.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003636/0.1742, allocations: 301.8 kB / 486.3 MB, free: 9.684 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006023/0.1748, allocations: 487.7 kB / 486.8 MB, free: 9.148 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1748, allocations: 4 kB / 486.8 MB, free: 9.145 MB / 366.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00129/0.1761, allocations: 0.8032 MB / 487.6 MB, free: 8.309 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1761, allocations: 8 kB / 487.6 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.1761, allocations: 4 kB / 487.6 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006507/0.1768, allocations: 205.5 kB / 487.8 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.1771, allocations: 84.05 kB / 487.9 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004311/0.1815, allocations: 3.89 MB / 491.8 MB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/0.1818, allocations: 16 kB / 491.8 MB, free: 3.832 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.135e-05/0.1818, allocations: 19.98 kB / 491.8 MB, free: 3.812 MB / 366.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003493/0.1822, allocations: 230.5 kB / 492.1 MB, free: 3.578 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.866e-05/0.1823, allocations: 55.38 kB / 492.1 MB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009517/0.1833, allocations: 0.6302 MB / 492.8 MB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1833, allocations: 7.938 kB / 492.8 MB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1833, allocations: 4 kB / 492.8 MB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1833, allocations: 3.984 kB / 492.8 MB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/0.185, allocations: 1.199 MB / 494 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.185, allocations: 8.062 kB / 494 MB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004762/0.1855, allocations: 75.88 kB / 494 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002078/0.1857, allocations: 45.69 kB / 494.1 MB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.553e-05/0.1858, allocations: 15.98 kB / 494.1 MB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002654/0.1885, allocations: 2.626 MB / 496.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.1885, allocations: 4.031 kB / 496.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.1898, allocations: 0.9491 MB / 497.7 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002834/0.1901, allocations: 144.5 kB / 497.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.492e-05/0.1902, allocations: 15.98 kB / 497.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000298/0.1905, allocations: 12 kB / 497.9 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.938e-05/0.1906, allocations: 31.94 kB / 497.9 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/0.1906, allocations: 8 kB / 497.9 MB, free: 13.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004346/0.1911, allocations: 295.1 kB / 498.2 MB, free: 12.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1911, allocations: 0 / 498.2 MB, free: 12.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007977/0.1919, allocations: 132 kB / 498.3 MB, free: 12.82 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002101/0.1921, allocations: 121.2 kB / 498.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001612/0.1937, allocations: 0.7283 MB / 499.2 MB, free: 11.94 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.1937, allocations: 0 / 499.2 MB, free: 11.94 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005949/0.1943, allocations: 417.2 kB / 499.6 MB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008263/0.1952, allocations: 121.9 kB / 499.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/0.1979, allocations: 1.698 MB / 0.4896 GB, free: 9.648 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006956/0.1986, allocations: 0.9405 MB / 0.4906 GB, free: 8.684 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003733/0.199, allocations: 100.4 kB / 0.4906 GB, free: 8.586 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.1991, allocations: 43.42 kB / 0.4907 GB, free: 8.543 MB / 382.1 MB Notification: Performance of SimCode: time 2.004e-06/0.1991, allocations: 0 / 0.4907 GB, free: 8.543 MB / 382.1 MB Notification: Performance of Templates: time 0.01429/0.2134, allocations: 6.51 MB / 0.497 GB, free: 2.09 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.makefile (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)