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.001311/0.001311, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001445/0.001445, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.027/1.027, allocations: 177.1 MB / 205 MB, free: 5.613 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.2319/0.2319, allocations: 29.42 MB / 290.9 MB, free: 2.504 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.663e-06/1.663e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.503e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.005994/0.006019, allocations: 6.437 MB / 376.1 MB, free: 4.527 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003801/0.00982, allocations: 2.325 MB / 378.4 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005232/0.01034, allocations: 35.69 kB / 378.4 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008386/0.01118, allocations: 306 kB / 378.7 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008759/0.01206, allocations: 0.5243 MB / 379.3 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000992/0.01305, allocations: 462.6 kB / 379.7 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001285/0.01434, allocations: 1.312 MB / 381 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006026/0.01494, allocations: 0.5057 MB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009497/0.01589, allocations: 0.8337 MB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005642/0.01645, allocations: 0.5726 MB / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.903e-05/0.01653, allocations: 68 kB / 383 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003794/0.01691, allocations: 231.5 kB / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003155/0.01723, allocations: 0.5104 MB / 383.7 MB, free: 12.83 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002765/0.0175, allocations: 363.2 kB / 384.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008165/0.01832, allocations: 0.9148 MB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.01832, allocations: 0 / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01832, allocations: 0 / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.01833, allocations: 0 / 385 MB, free: 11.56 MB / 362.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.001338/0.01967, allocations: 1.357 MB / 386.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.01971, allocations: 11.98 kB / 386.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006805/0.02039, allocations: 288 kB / 386.7 MB, free: 9.863 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006281/0.02102, allocations: 0.6284 MB / 387.3 MB, free: 9.211 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.203e-05/0.02106, allocations: 66.36 kB / 387.3 MB, free: 9.145 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.783e-05/0.02114, allocations: 76.38 kB / 387.4 MB, free: 9.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000893/0.02203, allocations: 0.9046 MB / 388.3 MB, free: 8.051 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.02205, allocations: 11.89 kB / 388.3 MB, free: 8.039 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.849e-05/0.0221, allocations: 36 kB / 388.4 MB, free: 8.004 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.479e-05/0.02216, allocations: 53.98 kB / 388.4 MB, free: 7.949 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006023/0.02276, allocations: 469 kB / 388.9 MB, free: 7.484 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003192/0.02595, allocations: 5.047 MB / 393.9 MB, free: 2.223 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006254/0.02658, allocations: 473.4 kB / 394.4 MB, free: 1.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/0.0268, allocations: 219.4 kB / 394.6 MB, free: 1.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.597e-05/0.02684, allocations: 20.48 kB / 394.6 MB, free: 1.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003491/0.02719, allocations: 352.8 kB / 395 MB, free: 1.098 MB / 362.7 MB Notification: Performance of pre-optimization done (n=65): time 3.116e-06/0.02719, allocations: 0 / 395 MB, free: 1.098 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.002688/0.02988, allocations: 1.812 MB / 396.8 MB, free: 15.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/0.02995, allocations: 178.8 kB / 397 MB, free: 15.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000425/0.03037, allocations: 0.597 MB / 397.6 MB, free: 14.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.03041, allocations: 45.75 kB / 397.6 MB, free: 14.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/0.03069, allocations: 0.5416 MB / 398.1 MB, free: 13.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.03084, allocations: 230.1 kB / 398.4 MB, free: 13.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.031, allocations: 160.3 kB / 398.5 MB, free: 13.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.03118, allocations: 0.5664 MB / 399.1 MB, free: 12.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.03136, allocations: 151.6 kB / 399.2 MB, free: 12.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000353/0.03172, allocations: 0.5436 MB / 399.8 MB, free: 11.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005953/0.03231, allocations: 0.741 MB / 400.5 MB, free: 11.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.03232, allocations: 4 kB / 400.5 MB, free: 11.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001061/0.03338, allocations: 0.8976 MB / 401.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.344e-05/0.03342, allocations: 41.73 kB / 401.5 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.03343, allocations: 8 kB / 401.5 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007613/0.03419, allocations: 283.1 kB / 401.7 MB, free: 9.785 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.03448, allocations: 143.8 kB / 401.9 MB, free: 9.645 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00334/0.03782, allocations: 4.785 MB / 406.7 MB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003679/0.03819, allocations: 39.94 kB / 406.7 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-05/0.03823, allocations: 35.98 kB / 406.7 MB, free: 4.547 MB / 378.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.0002656/0.0385, allocations: 252.8 kB / 407 MB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.972e-05/0.03859, allocations: 95.53 kB / 407.1 MB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009309/0.03952, allocations: 0.7332 MB / 407.8 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-06/0.03953, allocations: 11.98 kB / 407.8 MB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.03953, allocations: 4 kB / 407.8 MB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.03954, allocations: 7.938 kB / 407.8 MB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/0.04128, allocations: 1.592 MB / 409.4 MB, free: 1.727 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/0.04129, allocations: 4 kB / 409.4 MB, free: 1.723 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.04146, allocations: 75.89 kB / 409.5 MB, free: 1.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000568/0.04203, allocations: 255.5 kB / 409.8 MB, free: 1.391 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-05/0.04207, allocations: 16 kB / 409.8 MB, free: 1.375 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003334/0.0454, allocations: 4.76 MB / 414.5 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.04541, allocations: 4 kB / 414.5 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.0466, allocations: 0.9285 MB / 415.5 MB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.04672, allocations: 59.53 kB / 415.5 MB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.867e-05/0.04678, allocations: 19.98 kB / 415.5 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.04696, allocations: 23.94 kB / 415.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.04709, allocations: 52.39 kB / 415.6 MB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.04711, allocations: 16 kB / 415.6 MB, free: 11.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002967/0.04741, allocations: 382.9 kB / 416 MB, free: 10.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04741, allocations: 0 / 416 MB, free: 10.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007328/0.04814, allocations: 272 kB / 416.3 MB, free: 10.57 MB / 394.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.000135/0.04828, allocations: 107.2 kB / 416.4 MB, free: 10.46 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.0494, allocations: 1.051 MB / 417.4 MB, free: 9.352 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.0494, allocations: 8.188 kB / 417.4 MB, free: 9.344 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005752/0.04998, allocations: 0.7643 MB / 418.2 MB, free: 8.523 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005471/0.05052, allocations: 181 kB / 418.4 MB, free: 8.355 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.05283, allocations: 1.599 MB / 420 MB, free: 6.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.05305, allocations: 263.8 kB / 420.2 MB, free: 6.402 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003065/0.05336, allocations: 154.2 kB / 420.4 MB, free: 6.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.775e-05/0.05345, allocations: 48.5 kB / 420.4 MB, free: 6.203 MB / 394.7 MB Notification: Performance of SimCode: time 1.422e-06/0.05345, allocations: 0 / 420.4 MB, free: 6.203 MB / 394.7 MB Notification: Performance of Templates: time 0.0168/0.07025, allocations: 11.81 MB / 432.2 MB, free: 10.55 MB / 410.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.3234603693708777]