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.0009536/0.0009536, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001121/0.001121, allocations: 168.2 kB / 24.91 MB, free: 8.688 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 1.003/1.003, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2304/0.2304, allocations: 29.42 MB / 291.2 MB, free: 2.465 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.412e-06/1.412e-06, allocations: 0 / 316.8 MB, free: 36 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.297e-05, allocations: 7.125 kB / 316.8 MB, free: 28 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.01697/0.01699, allocations: 6.402 MB / 323.2 MB, free: 9.594 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00427/0.02126, allocations: 2.352 MB / 325.6 MB, free: 7.234 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004568/0.02172, allocations: 39.69 kB / 325.6 MB, free: 7.195 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008953/0.02261, allocations: 302.1 kB / 325.9 MB, free: 6.898 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009844/0.0236, allocations: 0.5204 MB / 326.4 MB, free: 6.375 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.0247, allocations: 478.6 kB / 326.9 MB, free: 5.906 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001564/0.02626, allocations: 1.305 MB / 328.2 MB, free: 4.598 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000864/0.02712, allocations: 0.5545 MB / 328.8 MB, free: 4.027 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001515/0.02864, allocations: 0.8299 MB / 329.6 MB, free: 3.195 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007547/0.02939, allocations: 0.5298 MB / 330.1 MB, free: 2.664 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.02952, allocations: 79.94 kB / 330.2 MB, free: 2.586 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004677/0.02999, allocations: 227.6 kB / 330.4 MB, free: 2.363 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004666/0.03046, allocations: 0.5065 MB / 330.9 MB, free: 1.855 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000615/0.03107, allocations: 371.1 kB / 331.3 MB, free: 1.492 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.03245, allocations: 0.9148 MB / 332.2 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.03245, allocations: 0 / 332.2 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.03245, allocations: 0 / 332.2 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.151e-05/0.03248, allocations: 0 / 332.2 MB, free: 0.5703 MB / 298.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.001747/0.03423, allocations: 1.189 MB / 333.4 MB, free: 15.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.03427, allocations: 11.98 kB / 333.4 MB, free: 15.33 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008312/0.0351, allocations: 224.7 kB / 333.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008077/0.03591, allocations: 0.5593 MB / 334.2 MB, free: 14.53 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.176e-05/0.03597, allocations: 70.38 kB / 334.3 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.03609, allocations: 84.31 kB / 334.3 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.03713, allocations: 0.7939 MB / 335.1 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.637e-05/0.03716, allocations: 7.938 kB / 335.1 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-05/0.03724, allocations: 35.94 kB / 335.2 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.345e-05/0.03731, allocations: 57.97 kB / 335.2 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006702/0.03798, allocations: 385.9 kB / 335.6 MB, free: 13.01 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003994/0.04197, allocations: 3.713 MB / 339.3 MB, free: 9.125 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006335/0.04261, allocations: 427.5 kB / 339.7 MB, free: 8.684 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/0.04283, allocations: 173.7 kB / 339.9 MB, free: 8.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.568e-05/0.04288, allocations: 12.5 kB / 339.9 MB, free: 8.488 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003765/0.04326, allocations: 321.4 kB / 340.2 MB, free: 8.137 MB / 314.7 MB Notification: Performance of pre-optimization done (n=65): time 3.356e-06/0.04326, allocations: 0 / 340.2 MB, free: 8.137 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.002984/0.04624, allocations: 1.23 MB / 341.5 MB, free: 6.867 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.251e-05/0.04633, allocations: 166.9 kB / 341.6 MB, free: 6.664 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004664/0.04679, allocations: 0.5114 MB / 342.1 MB, free: 6.141 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.805e-05/0.04684, allocations: 37.7 kB / 342.2 MB, free: 6.098 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/0.04712, allocations: 425.2 kB / 342.6 MB, free: 5.676 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/0.04731, allocations: 230 kB / 342.8 MB, free: 5.449 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/0.04751, allocations: 146.5 kB / 343 MB, free: 5.297 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0004212/0.04793, allocations: 390.6 kB / 343.3 MB, free: 4.906 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.04811, allocations: 107.7 kB / 343.4 MB, free: 4.797 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.04844, allocations: 391.5 kB / 343.8 MB, free: 4.285 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006228/0.04906, allocations: 0.5862 MB / 344.4 MB, free: 3.562 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.82e-06/0.04907, allocations: 0 / 344.4 MB, free: 3.562 MB / 314.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001179/0.05025, allocations: 0.6843 MB / 345.1 MB, free: 2.852 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.259e-05/0.05029, allocations: 33.83 kB / 345.1 MB, free: 2.812 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.0503, allocations: 12 kB / 345.1 MB, free: 2.801 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009382/0.05124, allocations: 290.4 kB / 345.4 MB, free: 2.512 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004083/0.05165, allocations: 139.8 kB / 345.6 MB, free: 2.375 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003718/0.05537, allocations: 3.504 MB / 349.1 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000525/0.05589, allocations: 24 kB / 349.1 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/0.05595, allocations: 32 kB / 349.1 MB, free: 14.63 MB / 330.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.0003617/0.05632, allocations: 202.1 kB / 349.3 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.05643, allocations: 71.81 kB / 349.4 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.05745, allocations: 0.5742 MB / 350 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.05746, allocations: 8 kB / 350 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.05747, allocations: 4 kB / 350 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.05747, allocations: 4.078 kB / 350 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002221/0.0597, allocations: 1.171 MB / 351.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.0597, allocations: 3.984 kB / 351.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.05994, allocations: 75.89 kB / 351.2 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007623/0.0607, allocations: 254.1 kB / 351.5 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.361e-05/0.06074, allocations: 12 kB / 351.5 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003484/0.06423, allocations: 3.481 MB / 355 MB, free: 8.469 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.06423, allocations: 4 kB / 355 MB, free: 8.465 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.06545, allocations: 0.7055 MB / 355.7 MB, free: 7.703 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.06561, allocations: 75.41 kB / 355.7 MB, free: 7.629 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.096e-05/0.0657, allocations: 19.94 kB / 355.8 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.06595, allocations: 12 kB / 355.8 MB, free: 7.598 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.0661, allocations: 64.33 kB / 355.8 MB, free: 7.531 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.874e-05/0.06614, allocations: 12 kB / 355.9 MB, free: 7.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000268/0.0664, allocations: 232.6 kB / 356.1 MB, free: 7.293 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0664, allocations: 0 / 356.1 MB, free: 7.293 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001103/0.06751, allocations: 268 kB / 356.3 MB, free: 7.031 MB / 330.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.0002406/0.06775, allocations: 96.34 kB / 356.4 MB, free: 6.926 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001665/0.06941, allocations: 0.8392 MB / 357.3 MB, free: 6.039 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.573e-05/0.06944, allocations: 8.5 kB / 357.3 MB, free: 6.031 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007293/0.07017, allocations: 0.6231 MB / 357.9 MB, free: 5.359 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007988/0.07097, allocations: 187.2 kB / 358.1 MB, free: 5.188 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/0.07406, allocations: 1.578 MB / 359.7 MB, free: 3.551 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.07434, allocations: 259.8 kB / 359.9 MB, free: 3.277 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003194/0.07466, allocations: 86.19 kB / 360 MB, free: 3.191 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003358/0.075, allocations: 185.3 kB / 360.2 MB, free: 3.012 MB / 330.7 MB Notification: Performance of SimCode: time 1.583e-06/0.075, allocations: 0 / 360.2 MB, free: 3.012 MB / 330.7 MB Notification: Performance of Templates: time 0.01656/0.09156, allocations: 11.96 MB / 372.1 MB, free: 7.258 MB / 346.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2059057243168354]