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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 169 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9221/0.9221, allocations: 177.1 MB / 205.3 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] 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.1208/0.1208, allocations: 29.42 MB / 291.2 MB, free: 2.695 MB / 266.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.693e-06/1.693e-06, allocations: 0 / 316.9 MB, free: 9.023 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.643e-05/1.812e-05, allocations: 2.312 kB / 316.9 MB, free: 9.02 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.005812/0.00583, allocations: 6.445 MB / 323.3 MB, free: 2.535 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002853/0.008683, allocations: 2.348 MB / 325.7 MB, free: 184 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000226/0.008909, allocations: 35.69 kB / 325.7 MB, free: 148 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006523/0.009562, allocations: 317.9 kB / 326 MB, free: 15.83 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006338/0.0102, allocations: 0.5009 MB / 326.5 MB, free: 15.33 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006676/0.01086, allocations: 474.5 kB / 327 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008268/0.01169, allocations: 1.305 MB / 328.3 MB, free: 13.55 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007552/0.01245, allocations: 0.5545 MB / 328.8 MB, free: 12.99 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007212/0.01317, allocations: 0.8338 MB / 329.7 MB, free: 12.15 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004918/0.01366, allocations: 0.5375 MB / 330.2 MB, free: 11.61 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.07e-05/0.01373, allocations: 68 kB / 330.3 MB, free: 11.55 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002918/0.01402, allocations: 227.7 kB / 330.5 MB, free: 11.32 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003049/0.01433, allocations: 0.5143 MB / 331 MB, free: 10.81 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002462/0.01457, allocations: 367 kB / 331.4 MB, free: 10.45 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006895/0.01526, allocations: 0.9187 MB / 332.3 MB, free: 9.527 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.01526, allocations: 0 / 332.3 MB, free: 9.527 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01527, allocations: 0 / 332.3 MB, free: 9.527 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.01527, allocations: 0 / 332.3 MB, free: 9.527 MB / 314.7 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.001179/0.01645, allocations: 1.193 MB / 333.5 MB, free: 8.297 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.01648, allocations: 12.03 kB / 333.5 MB, free: 8.285 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000586/0.01707, allocations: 224.7 kB / 333.7 MB, free: 8.066 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005702/0.01764, allocations: 0.5554 MB / 334.3 MB, free: 7.484 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.73e-05/0.01768, allocations: 58.38 kB / 334.3 MB, free: 7.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.932e-05/0.01776, allocations: 96.28 kB / 334.4 MB, free: 7.336 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006826/0.01844, allocations: 0.794 MB / 335.2 MB, free: 6.449 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.01846, allocations: 7.875 kB / 335.2 MB, free: 6.441 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.534e-05/0.01851, allocations: 36 kB / 335.3 MB, free: 6.406 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.694e-05/0.01855, allocations: 53.98 kB / 335.3 MB, free: 6.355 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00042/0.01897, allocations: 374 kB / 335.7 MB, free: 5.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002928/0.0219, allocations: 3.732 MB / 339.4 MB, free: 2.078 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004715/0.02237, allocations: 423.5 kB / 339.8 MB, free: 1.637 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/0.02253, allocations: 173.7 kB / 340 MB, free: 1.453 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.02256, allocations: 8.5 kB / 340 MB, free: 1.445 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002627/0.02282, allocations: 325.4 kB / 340.3 MB, free: 1.094 MB / 314.7 MB Notification: Performance of pre-optimization done (n=65): time 1.613e-06/0.02282, allocations: 0 / 340.3 MB, free: 1.094 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.1443/0.1671, allocations: 1.218 MB / 341.5 MB, free: 30.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.487e-05/0.1672, allocations: 172.7 kB / 341.7 MB, free: 30.65 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005917/0.1677, allocations: 0.5089 MB / 342.2 MB, free: 30.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.294e-05/0.1678, allocations: 38.58 kB / 342.3 MB, free: 30.49 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002524/0.1681, allocations: 419.8 kB / 342.7 MB, free: 30.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.1682, allocations: 235.7 kB / 342.9 MB, free: 30.24 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.1684, allocations: 146.9 kB / 343 MB, free: 30.22 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.993e-05/0.1685, allocations: 390.9 kB / 343.4 MB, free: 29.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.1687, allocations: 106.4 kB / 343.5 MB, free: 29.87 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.1689, allocations: 392.2 kB / 343.9 MB, free: 29.52 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005109/0.1695, allocations: 0.5793 MB / 344.5 MB, free: 29.13 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.1695, allocations: 3.938 kB / 344.5 MB, free: 29.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001032/0.1705, allocations: 0.6832 MB / 345.2 MB, free: 28.99 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.479e-05/0.1705, allocations: 34.73 kB / 345.2 MB, free: 28.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.1706, allocations: 9.469 kB / 345.2 MB, free: 28.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008176/0.1714, allocations: 281.2 kB / 345.5 MB, free: 28.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/0.1717, allocations: 159 kB / 345.6 MB, free: 28.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002623/0.1744, allocations: 3.51 MB / 349.2 MB, free: 26.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003415/0.1747, allocations: 33.42 kB / 349.2 MB, free: 26.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.022e-05/0.1748, allocations: 31.38 kB / 349.2 MB, free: 26.36 MB / 314.7 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.0002306/0.175, allocations: 208 kB / 349.4 MB, free: 26.2 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.638e-05/0.1751, allocations: 66.3 kB / 349.5 MB, free: 26.2 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007706/0.1758, allocations: 0.5673 MB / 350.1 MB, free: 26.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.1759, allocations: 8.859 kB / 350.1 MB, free: 26.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/0.1759, allocations: 4.125 kB / 350.1 MB, free: 26.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.1759, allocations: 5.75 kB / 350.1 MB, free: 26.04 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/0.1773, allocations: 1.177 MB / 351.2 MB, free: 25.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.1773, allocations: 11.73 kB / 351.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.1775, allocations: 78.64 kB / 351.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005671/0.1781, allocations: 260.5 kB / 351.6 MB, free: 25.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.565e-05/0.1781, allocations: 11.84 kB / 351.6 MB, free: 25.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002207/0.1803, allocations: 3.484 MB / 355.1 MB, free: 22.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1803, allocations: 3.172 kB / 355.1 MB, free: 22.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000715/0.1811, allocations: 0.721 MB / 355.8 MB, free: 22.58 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.434e-05/0.1811, allocations: 63.72 kB / 355.9 MB, free: 22.54 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.302e-05/0.1812, allocations: 16.62 kB / 355.9 MB, free: 22.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.1813, allocations: 15.89 kB / 355.9 MB, free: 22.54 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.1814, allocations: 57 kB / 356 MB, free: 22.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.1815, allocations: 11.81 kB / 356 MB, free: 22.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001549/0.1816, allocations: 238.2 kB / 356.2 MB, free: 22.51 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1816, allocations: 4 kB / 356.2 MB, free: 22.51 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006978/0.1823, allocations: 266.8 kB / 356.5 MB, free: 22.51 MB / 314.7 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.0001269/0.1824, allocations: 96.64 kB / 356.6 MB, free: 22.44 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007796/0.1832, allocations: 0.8414 MB / 357.4 MB, free: 22.03 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.751e-05/0.1832, allocations: 12.94 kB / 357.4 MB, free: 22.03 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004642/0.1837, allocations: 0.6126 MB / 358 MB, free: 21.67 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005438/0.1842, allocations: 183.8 kB / 358.2 MB, free: 21.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002289/0.1865, allocations: 1.573 MB / 359.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.1867, allocations: 269.5 kB / 360 MB, free: 20.84 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002396/0.187, allocations: 88.7 kB / 360.1 MB, free: 20.81 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/0.1872, allocations: 189.6 kB / 360.3 MB, free: 20.77 MB / 314.7 MB Notification: Performance of SimCode: time 2.835e-06/0.1872, allocations: 0 / 360.3 MB, free: 20.77 MB / 314.7 MB Notification: Performance of Templates: time 0.01484/0.2021, allocations: 11.95 MB / 372.3 MB, free: 10.44 MB / 314.7 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0555053539574146]