Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.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.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial") translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 95 kB / 16.3 MB, free: 5.996 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.001505/0.001505, allocations: 188.2 kB / 17.2 MB, free: 5.91 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.717/1.717, allocations: 205.4 MB / 223.4 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.437/0.437, allocations: 38.04 MB / 309.7 MB, free: 8.906 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.0005741/0.0005743, allocations: 12 kB / 376.5 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1542, allocations: 56.34 MB / 432.8 MB, free: 6.73 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.006066/0.1603, allocations: 4.297 MB / 437.1 MB, free: 2.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002685/0.1631, allocations: 1.583 MB / 438.7 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003087/0.1634, allocations: 23.88 kB / 438.7 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002664/0.1637, allocations: 67.52 kB / 438.8 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007392/0.1644, allocations: 211.4 kB / 439 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007568/0.1652, allocations: 231.4 kB / 439.2 MB, free: 304 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003713/0.1656, allocations: 283.8 kB / 439.5 MB, free: 20 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009267/0.1665, allocations: 0.5153 MB / 440 MB, free: 15.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003152/0.1668, allocations: 175.3 kB / 440.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004118/0.1673, allocations: 195.4 kB / 440.4 MB, free: 15.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.195e-05/0.1673, allocations: 16 kB / 440.4 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002465/0.1676, allocations: 95.84 kB / 440.5 MB, free: 15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.1678, allocations: 183.5 kB / 440.7 MB, free: 14.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.1679, allocations: 113.4 kB / 440.8 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004765/0.1684, allocations: 423 kB / 441.2 MB, free: 14.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1684, allocations: 0 / 441.2 MB, free: 14.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.987e-06/0.1684, allocations: 0 / 441.2 MB, free: 14.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.1684, allocations: 0 / 441.2 MB, free: 14.29 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001206/0.1696, allocations: 0.6568 MB / 441.8 MB, free: 13.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.1697, allocations: 8.031 kB / 441.8 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000593/0.1703, allocations: 91.38 kB / 441.9 MB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006584/0.171, allocations: 386.1 kB / 442.3 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.628e-05/0.171, allocations: 29 kB / 442.3 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.1712, allocations: 47.95 kB / 442.4 MB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009318/0.1721, allocations: 0.6131 MB / 443 MB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.1721, allocations: 0 / 443 MB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.601e-05/0.1722, allocations: 23.98 kB / 443 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/0.1723, allocations: 32.98 kB / 443.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007895/0.1731, allocations: 467.5 kB / 443.5 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003608/0.1767, allocations: 2.895 MB / 446.4 MB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003647/0.1771, allocations: 228.9 kB / 446.6 MB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.1772, allocations: 7.984 kB / 446.6 MB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.1772, allocations: 38.62 kB / 446.7 MB, free: 8.453 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 2.074e-06/0.1772, allocations: 0 / 446.7 MB, free: 8.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001713/0.1789, allocations: 0.942 MB / 447.6 MB, free: 7.457 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.465e-05/0.179, allocations: 85.05 kB / 447.7 MB, free: 7.355 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003654/0.1794, allocations: 324.4 kB / 448 MB, free: 7.027 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.1794, allocations: 29.7 kB / 448 MB, free: 6.992 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/0.1797, allocations: 279.4 kB / 448.3 MB, free: 6.711 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.1798, allocations: 98.64 kB / 448.4 MB, free: 6.613 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.431e-05/0.1798, allocations: 12 kB / 448.4 MB, free: 6.602 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.18, allocations: 338.8 kB / 448.8 MB, free: 6.262 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.1802, allocations: 141 kB / 448.9 MB, free: 6.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005474/0.1808, allocations: 343.2 kB / 449.2 MB, free: 5.699 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/0.1811, allocations: 199.9 kB / 449.4 MB, free: 5.504 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.1811, allocations: 4 kB / 449.4 MB, free: 5.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007729/0.1819, allocations: 0.5242 MB / 450 MB, free: 4.969 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.182, allocations: 15.89 kB / 450 MB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.182, allocations: 8 kB / 450 MB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.182, allocations: 8 kB / 450 MB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004179/0.1824, allocations: 120.5 kB / 450.1 MB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.407e-05/0.1825, allocations: 23.92 kB / 450.1 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.1827, allocations: 27.92 kB / 450.2 MB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/0.1827, allocations: 23.98 kB / 450.2 MB, free: 4.746 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (58): * Single equations (assignments): 58 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002405/0.183, allocations: 213.6 kB / 450.4 MB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.828e-05/0.183, allocations: 35.58 kB / 450.4 MB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005799/0.1836, allocations: 361.5 kB / 450.8 MB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.1837, allocations: 8 kB / 450.8 MB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.1837, allocations: 0 / 450.8 MB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1837, allocations: 0 / 450.8 MB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/0.185, allocations: 0.8677 MB / 451.6 MB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.1851, allocations: 3.984 kB / 451.7 MB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003047/0.1854, allocations: 63.97 kB / 451.7 MB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.1854, allocations: 8.094 kB / 451.7 MB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.1854, allocations: 8 kB / 451.7 MB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.1854, allocations: 7.922 kB / 451.7 MB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.1854, allocations: 7.984 kB / 451.7 MB, free: 3.094 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000772/0.1862, allocations: 0.6188 MB / 452.4 MB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.529e-05/0.1863, allocations: 112.7 kB / 452.5 MB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.216e-05/0.1864, allocations: 8.031 kB / 452.5 MB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.1866, allocations: 12 kB / 452.5 MB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.1866, allocations: 23.84 kB / 452.5 MB, free: 2.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.1867, allocations: 16 kB / 452.5 MB, free: 2.234 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002413/0.1869, allocations: 219 kB / 452.7 MB, free: 2.023 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1869, allocations: 0 / 452.7 MB, free: 2.023 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004687/0.1874, allocations: 92 kB / 452.8 MB, free: 1.934 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * 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 (31): * Single equations (assignments): 30 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001921/0.1876, allocations: 107.1 kB / 452.9 MB, free: 1.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006212/0.1882, allocations: 352.4 kB / 453.3 MB, free: 1.477 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.1882, allocations: 0 / 453.3 MB, free: 1.477 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.1884, allocations: 148.7 kB / 453.4 MB, free: 1.332 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.1889, allocations: 62.45 kB / 453.5 MB, free: 1.273 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.1906, allocations: 1.222 MB / 454.7 MB, free: 12 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2649/0.4555, allocations: 0.8666 MB / 455.6 MB, free: 51.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005353/0.4562, allocations: 130.6 kB / 455.7 MB, free: 51.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.4563, allocations: 37.16 kB / 455.7 MB, free: 51.32 MB / 382.1 MB Notification: Performance of SimCode: time 2.635e-06/0.4563, allocations: 0 / 455.7 MB, free: 51.32 MB / 382.1 MB Notification: Performance of Templates: time 0.007437/0.4637, allocations: 3.015 MB / 458.8 MB, free: 51.21 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.sim & ./PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1) Environment - environmentSimulation: