Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001725/0.001725, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.505/1.505, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1758/0.1758, allocations: 38.03 MB / 329.7 MB, free: 8.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002493/0.002493, allocations: 61.41 kB / 398.8 MB, free: 34.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1527, allocations: 58.06 MB / 456.8 MB, free: 8.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.005364/0.1581, allocations: 3.471 MB / 460.3 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002194/0.1603, allocations: 1.496 MB / 461.8 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.1605, allocations: 4 kB / 461.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008798/0.1614, allocations: 258.9 kB / 462.1 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006701/0.1621, allocations: 279 kB / 462.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.1624, allocations: 127.6 kB / 462.5 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004242/0.1629, allocations: 343 kB / 462.8 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003276/0.1632, allocations: 137.9 kB / 462.9 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002729/0.1635, allocations: 143.4 kB / 463.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002759/0.1638, allocations: 155.4 kB / 463.2 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.787e-05/0.1638, allocations: 16 kB / 463.2 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005485/0.1644, allocations: 323.2 kB / 463.6 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.1645, allocations: 99.75 kB / 463.7 MB, free: 1.211 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.1646, allocations: 115.4 kB / 463.8 MB, free: 1.098 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005294/0.1652, allocations: 354.9 kB / 464.1 MB, free: 0.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1652, allocations: 4 kB / 464.1 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1652, allocations: 0 / 464.1 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1652, allocations: 0 / 464.1 MB, free: 0.7461 MB / 334.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.0007302/0.166, allocations: 0.5142 MB / 464.6 MB, free: 188 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.166, allocations: 19.83 kB / 464.7 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009666/0.167, allocations: 92.55 kB / 464.7 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.1674, allocations: 255.8 kB / 465 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.1674, allocations: 24.31 kB / 465 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.884e-05/0.1674, allocations: 20.36 kB / 465 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005206/0.168, allocations: 314 kB / 465.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.168, allocations: 0 / 465.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/0.168, allocations: 15.98 kB / 465.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.761e-05/0.1681, allocations: 19.98 kB / 465.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000462/0.1686, allocations: 291.8 kB / 465.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002053/0.1706, allocations: 1.271 MB / 466.9 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004643/0.1711, allocations: 233.1 kB / 467.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.1713, allocations: 93.73 kB / 467.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.1713, allocations: 4 kB / 467.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.1713, allocations: 38.55 kB / 467.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 4.349e-06/0.1713, allocations: 0 / 467.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008333/0.1722, allocations: 447.5 kB / 467.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.1722, allocations: 85.23 kB / 467.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.1725, allocations: 194.3 kB / 468 MB, free: 12.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.1725, allocations: 29.7 kB / 468 MB, free: 12.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.974e-05/0.1726, allocations: 151.9 kB / 468.2 MB, free: 12.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.922e-05/0.1726, allocations: 59.11 kB / 468.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.097e-05/0.1727, allocations: 53.69 kB / 468.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1729, allocations: 326.8 kB / 468.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.173, allocations: 87.89 kB / 468.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.1732, allocations: 162.1 kB / 468.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003233/0.1735, allocations: 267.5 kB / 469.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1735, allocations: 0 / 469.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004355/0.174, allocations: 301.1 kB / 469.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.174, allocations: 4 kB / 469.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.174, allocations: 4 kB / 469.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.1741, allocations: 7.938 kB / 469.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.1743, allocations: 51.91 kB / 469.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.1743, allocations: 0 / 469.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.1745, allocations: 16.27 kB / 469.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.1745, allocations: 15.94 kB / 469.5 MB, free: 11 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001549/0.1747, allocations: 157.8 kB / 469.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.367e-05/0.1748, allocations: 15.81 kB / 469.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004044/0.1752, allocations: 235.2 kB / 469.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.76e-05/0.1752, allocations: 3.984 kB / 469.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.1752, allocations: 4 kB / 469.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.1752, allocations: 0 / 469.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.1766, allocations: 0.9554 MB / 470.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.1766, allocations: 8 kB / 470.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.1767, allocations: 35.92 kB / 470.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.1767, allocations: 4 kB / 470.9 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.1768, allocations: 7.984 kB / 470.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/0.1768, allocations: 12.44 kB / 470.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.1768, allocations: 11.94 kB / 471 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004173/0.1772, allocations: 415.5 kB / 471.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.312e-05/0.1773, allocations: 104.8 kB / 471.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.1773, allocations: 8 kB / 471.5 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.1775, allocations: 15.92 kB / 471.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.1776, allocations: 19.92 kB / 471.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.1776, allocations: 19.94 kB / 471.5 MB, free: 8.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.1777, allocations: 151 kB / 471.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1778, allocations: 0 / 471.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003938/0.1782, allocations: 56 kB / 471.7 MB, free: 8.582 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001184/0.1783, allocations: 107.1 kB / 471.8 MB, free: 8.469 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000355/0.1786, allocations: 220.1 kB / 472 MB, free: 8.254 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1787, allocations: 4 kB / 472.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.1788, allocations: 99.75 kB / 472.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.1793, allocations: 34.56 kB / 472.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009492/0.1802, allocations: 0.5696 MB / 472.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.1806, allocations: 0.7632 MB / 473.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001513/0.1807, allocations: 53.48 kB / 473.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.438e-05/0.1808, allocations: 19.44 kB / 473.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1808, allocations: 0 / 473.6 MB, free: 6.613 MB / 350.1 MB Notification: Performance of Templates: time 0.004768/0.1856, allocations: 1.874 MB / 475.5 MB, free: 4.742 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1)