Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 116.9 kB / 18.41 MB, free: 4.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002042/0.002042, allocations: 190.9 kB / 21.35 MB, free: 1.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 247 MB, free: 4.336 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2859/0.2859, allocations: 38 MB / 337.2 MB, free: 12.97 MB / 270.1 MB " [Timeout remaining time 180] 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.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 68.72 kB / 467.5 MB, free: 27.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1033, allocations: 58.06 MB / 0.5133 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.009154/0.1125, allocations: 7.574 MB / 0.5207 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004475/0.117, allocations: 2.321 MB / 0.5229 GB, free: 15.78 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006203/0.1176, allocations: 31.81 kB / 0.523 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002319/0.12, allocations: 0.8557 MB / 0.5238 GB, free: 14.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001339/0.1213, allocations: 0.5053 MB / 0.5243 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.1226, allocations: 439 kB / 0.5247 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001717/0.1243, allocations: 1.285 MB / 0.526 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009809/0.1253, allocations: 0.6816 MB / 0.5266 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000995/0.1263, allocations: 0.5485 MB / 0.5272 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.1274, allocations: 0.6541 MB / 0.5278 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001483/0.1275, allocations: 76 kB / 0.5279 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004861/0.128, allocations: 207.7 kB / 0.5281 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004876/0.1285, allocations: 490.8 kB / 0.5286 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005913/0.1291, allocations: 0.5403 MB / 0.5291 GB, free: 9.465 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.1307, allocations: 1.237 MB / 0.5303 GB, free: 8.223 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.1307, allocations: 0 / 0.5303 GB, free: 8.223 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1307, allocations: 3.938 kB / 0.5303 GB, free: 8.219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.227e-05/0.1307, allocations: 4 kB / 0.5303 GB, free: 8.215 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.00245/0.1332, allocations: 1.332 MB / 0.5316 GB, free: 6.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1332, allocations: 15.89 kB / 0.5316 GB, free: 6.805 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009283/0.1342, allocations: 168.1 kB / 0.5318 GB, free: 6.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.1355, allocations: 0.7394 MB / 0.5325 GB, free: 5.859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.324e-05/0.1356, allocations: 58.38 kB / 0.5325 GB, free: 5.801 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.1357, allocations: 88.11 kB / 0.5326 GB, free: 5.715 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.1375, allocations: 1.179 MB / 0.5338 GB, free: 4.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.396e-05/0.1376, allocations: 7.984 kB / 0.5338 GB, free: 4.449 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.153e-05/0.1377, allocations: 36 kB / 0.5338 GB, free: 4.414 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.389e-05/0.1378, allocations: 57.92 kB / 0.5339 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/0.1393, allocations: 0.921 MB / 0.5348 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005926/0.1453, allocations: 4.773 MB / 0.5394 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.1466, allocations: 0.6795 MB / 0.5401 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005625/0.1471, allocations: 379.8 kB / 0.5405 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.928e-05/0.1472, allocations: 12.53 kB / 0.5405 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006551/0.1479, allocations: 443.7 kB / 0.5409 GB, free: 12.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 2.325e-06/0.1479, allocations: 0 / 0.5409 GB, free: 12.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.005624/0.1535, allocations: 2.47 MB / 0.5433 GB, free: 10.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.1536, allocations: 170.8 kB / 0.5435 GB, free: 10.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007607/0.1544, allocations: 0.6057 MB / 0.5441 GB, free: 9.547 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.496e-05/0.1545, allocations: 41.69 kB / 0.5441 GB, free: 9.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004031/0.1549, allocations: 491.9 kB / 0.5446 GB, free: 9.012 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/0.1551, allocations: 242 kB / 0.5448 GB, free: 8.773 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000229/0.1554, allocations: 150.6 kB / 0.545 GB, free: 8.617 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002046/0.1556, allocations: 386.8 kB / 0.5453 GB, free: 8.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004691/0.156, allocations: 289.8 kB / 0.5456 GB, free: 7.949 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006786/0.1567, allocations: 0.5485 MB / 0.5461 GB, free: 7.277 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.158, allocations: 0.9611 MB / 0.5471 GB, free: 6.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.158, allocations: 7.938 kB / 0.5471 GB, free: 6.172 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002166/0.1602, allocations: 1.224 MB / 0.5483 GB, free: 4.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.181e-05/0.1603, allocations: 33.7 kB / 0.5483 GB, free: 4.891 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.1603, allocations: 12 kB / 0.5483 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/0.1613, allocations: 340.2 kB / 0.5486 GB, free: 4.543 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004872/0.1618, allocations: 143.8 kB / 0.5488 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006411/0.1682, allocations: 5.392 MB / 0.554 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006687/0.169, allocations: 32.03 kB / 0.5541 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.43e-05/0.169, allocations: 36 kB / 0.5541 GB, free: 14.64 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,relayNet.cnt,$PRE.relayNet.cnt,$whenCondition1,relayNet.y[1],$PRE.relayNet.y[1],switch.closed,$PRE.switch.closed,switch.open,$PRE.switch.open,switch.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * 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): 2 systems {(3,17,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005584/0.1696, allocations: 363.1 kB / 0.5545 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.1697, allocations: 87.41 kB / 0.5545 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001966/0.1717, allocations: 1.04 MB / 0.5556 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.1717, allocations: 4 kB / 0.5556 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.1717, allocations: 8 kB / 0.5556 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.1718, allocations: 0 / 0.5556 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003376/0.1751, allocations: 2.062 MB / 0.5576 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.1752, allocations: 0 / 0.5576 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003091/0.1755, allocations: 71.89 kB / 0.5577 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008716/0.1764, allocations: 313.6 kB / 0.5579 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.684e-05/0.1764, allocations: 19.94 kB / 0.558 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006174/0.1826, allocations: 5.336 MB / 0.5632 GB, free: 4.918 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.1826, allocations: 0 / 0.5632 GB, free: 4.918 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/0.1846, allocations: 1.12 MB / 0.5643 GB, free: 3.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.1848, allocations: 148.6 kB / 0.5644 GB, free: 3.586 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.033e-05/0.1849, allocations: 16 kB / 0.5644 GB, free: 3.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/0.1852, allocations: 19.98 kB / 0.5644 GB, free: 3.551 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.1854, allocations: 60.38 kB / 0.5645 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.621e-05/0.1854, allocations: 23.98 kB / 0.5645 GB, free: 3.469 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005297/0.186, allocations: 419 kB / 0.5649 GB, free: 3.062 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.186, allocations: 0 / 0.5649 GB, free: 3.062 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000955/0.1869, allocations: 268 kB / 0.5652 GB, free: 2.801 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (switch.open,switch.control[1],switch.closed,$whenCondition1,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 3 (relayNet.y[1],relayNet.cnt,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * 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 {(3,17,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001717/0.1871, allocations: 123 kB / 0.5653 GB, free: 2.672 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001891/0.189, allocations: 1.152 MB / 0.5664 GB, free: 1.477 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.189, allocations: 0 / 0.5664 GB, free: 1.477 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.1901, allocations: 0.7565 MB / 0.5672 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008627/0.191, allocations: 188.8 kB / 0.5673 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002936/0.1939, allocations: 1.86 MB / 0.5692 GB, free: 14.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008228/0.1948, allocations: 1.107 MB / 0.5702 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.1949, allocations: 55.38 kB / 0.5703 GB, free: 13.41 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1949, allocations: 0 / 0.5703 GB, free: 13.41 MB / 446.1 MB Notification: Performance of Templates: time 0.2546/0.4496, allocations: 17.03 MB / 0.5869 GB, free: 64.64 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.sim & ./PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.935551203088835] Failed to read output from testmodel.py, exit status != 0: 0.4566248820628971 0.46951238300000003 0.336407657 Calling exit ...