Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 111.8 kB / 17.06 MB, free: 6.09 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.00189/0.00189, allocations: 199 kB / 18 MB, free: 5.168 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.659/1.659, allocations: 205.1 MB / 223.9 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1846/0.1846, allocations: 37.98 MB / 309.2 MB, free: 5.941 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.001598/0.001598, allocations: 67.91 kB / 431.9 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1456, allocations: 55.24 MB / 487.1 MB, free: 8.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.006554/0.1522, allocations: 3.439 MB / 490.5 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00282/0.1551, allocations: 1.489 MB / 492 MB, free: 3.387 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002688/0.1554, allocations: 11.94 kB / 492 MB, free: 3.375 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.1565, allocations: 251 kB / 492.3 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008559/0.1574, allocations: 278.9 kB / 492.6 MB, free: 2.855 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003859/0.1578, allocations: 111.7 kB / 492.7 MB, free: 2.746 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005702/0.1583, allocations: 339.1 kB / 493 MB, free: 2.414 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003806/0.1587, allocations: 133.9 kB / 493.1 MB, free: 2.285 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003544/0.1591, allocations: 143.4 kB / 493.3 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000343/0.1595, allocations: 151.5 kB / 493.4 MB, free: 1.996 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.154e-05/0.1595, allocations: 12 kB / 493.4 MB, free: 1.984 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006331/0.1601, allocations: 311.2 kB / 493.7 MB, free: 1.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.1603, allocations: 103.8 kB / 493.8 MB, free: 1.578 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.1605, allocations: 107.5 kB / 493.9 MB, free: 1.473 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005542/0.161, allocations: 342.9 kB / 494.3 MB, free: 1.137 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.161, allocations: 0 / 494.3 MB, free: 1.137 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1611, allocations: 4 kB / 494.3 MB, free: 1.133 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.1611, allocations: 3.938 kB / 494.3 MB, free: 1.129 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007348/0.1618, allocations: 0.5026 MB / 494.8 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.1619, allocations: 11.89 kB / 494.8 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008735/0.1628, allocations: 92.55 kB / 494.9 MB, free: 488 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/0.1631, allocations: 268.4 kB / 495.2 MB, free: 180 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.1631, allocations: 12.38 kB / 495.2 MB, free: 168 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.682e-05/0.1632, allocations: 20.11 kB / 495.2 MB, free: 148 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004886/0.1637, allocations: 330.2 kB / 495.5 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.1637, allocations: 3.938 kB / 495.5 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/0.1637, allocations: 8 kB / 495.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.348e-05/0.1638, allocations: 12 kB / 495.5 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004232/0.1642, allocations: 291.7 kB / 495.8 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.1658, allocations: 1.285 MB / 497.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005543/0.1664, allocations: 205.2 kB / 497.3 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.056e-05/0.1665, allocations: 57.77 kB / 497.4 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.1665, allocations: 11.86 kB / 497.4 MB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.1666, allocations: 38.56 kB / 497.4 MB, free: 13.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.1666, allocations: 0 / 497.4 MB, free: 13.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009997/0.1676, allocations: 442.3 kB / 497.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.1676, allocations: 77.11 kB / 497.9 MB, free: 13.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.1678, allocations: 198.7 kB / 498.1 MB, free: 13.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.1679, allocations: 25.7 kB / 498.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.168, allocations: 167.9 kB / 498.3 MB, free: 12.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.168, allocations: 43.36 kB / 498.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.037e-05/0.1681, allocations: 53.61 kB / 498.4 MB, free: 12.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1683, allocations: 326.8 kB / 498.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.172e-05/0.1684, allocations: 55.91 kB / 498.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001711/0.1685, allocations: 144.8 kB / 498.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/0.1688, allocations: 232.6 kB / 499.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1688, allocations: 0 / 499.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004621/0.1693, allocations: 270.2 kB / 499.4 MB, free: 11.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1693, allocations: 4 kB / 499.4 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.1693, allocations: 4.078 kB / 499.4 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002758/0.1696, allocations: 36.83 kB / 499.4 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.1698, allocations: 47.98 kB / 499.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/0.171, allocations: 1.437 MB / 0.4892 GB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.1712, allocations: 11.98 kB / 0.4892 GB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.1712, allocations: 8.156 kB / 0.4892 GB, free: 9.898 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001636/0.1714, allocations: 169.7 kB / 0.4894 GB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.1714, allocations: 19.75 kB / 0.4894 GB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003655/0.1718, allocations: 192 kB / 0.4896 GB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1718, allocations: 0 / 0.4896 GB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.1718, allocations: 3.938 kB / 0.4896 GB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1718, allocations: 0 / 0.4896 GB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007833/0.1726, allocations: 0.5679 MB / 0.4901 GB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1726, allocations: 0 / 0.4901 GB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.481e-05/0.1727, allocations: 27.98 kB / 0.4902 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001308/0.1729, allocations: 32.92 kB / 0.4902 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.1729, allocations: 7.938 kB / 0.4902 GB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/0.1739, allocations: 1.418 MB / 0.4916 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.174, allocations: 0 / 0.4916 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003875/0.1744, allocations: 307.5 kB / 0.4919 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.1744, allocations: 88.92 kB / 0.492 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.1745, allocations: 8 kB / 0.492 GB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.1746, allocations: 8 kB / 0.492 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.1746, allocations: 15.86 kB / 0.492 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.1746, allocations: 11.98 kB / 0.492 GB, free: 6.758 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001149/0.1748, allocations: 148.3 kB / 0.4921 GB, free: 6.613 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1748, allocations: 0 / 0.4921 GB, free: 6.613 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003516/0.1751, allocations: 48 kB / 0.4922 GB, free: 6.566 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,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.000132/0.1753, allocations: 95.25 kB / 0.4923 GB, free: 6.461 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000527/0.1758, allocations: 280 kB / 0.4925 GB, free: 6.176 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1758, allocations: 0 / 0.4925 GB, free: 6.176 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002272/0.176, allocations: 170.6 kB / 0.4927 GB, free: 5.996 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.1764, allocations: 43.95 kB / 0.4927 GB, free: 5.953 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007919/0.1772, allocations: 451.4 kB / 0.4932 GB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.1776, allocations: 0.7593 MB / 0.4939 GB, free: 4.688 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001101/0.1777, allocations: 45.5 kB / 0.494 GB, free: 4.641 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.395e-05/0.1778, allocations: 15.44 kB / 0.494 GB, free: 4.625 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1778, allocations: 0 / 0.494 GB, free: 4.625 MB / 382.1 MB Notification: Performance of Templates: time 0.004947/0.1827, allocations: 1.635 MB / 0.4956 GB, free: 2.988 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1)