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.0006676/0.0006676, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000877/0.001545, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006717/0.0006717, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000811/0.001483, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9098/0.9098, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07251/0.9823, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.1155/0.1155, allocations: 29.41 MB / 273.4 MB, free: 1.445 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1087/0.2242, allocations: 9.518 MB / 282.9 MB, free: 12.85 MB / 282.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.743e-06/1.743e-06, allocations: 0 / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.42e-05, allocations: 2.312 kB / 284.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.00905/0.009074, allocations: 6.508 MB / 290.7 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005469/0.01454, allocations: 2.383 MB / 293.1 MB, free: 4.992 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007765/0.01532, allocations: 37.62 kB / 293.1 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.01647, allocations: 327.8 kB / 293.5 MB, free: 4.719 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.01805, allocations: 0.5611 MB / 294 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.01964, allocations: 468.1 kB / 294.5 MB, free: 3.91 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002076/0.02171, allocations: 1.357 MB / 295.8 MB, free: 3.133 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008836/0.0226, allocations: 0.5157 MB / 296.4 MB, free: 2.602 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001629/0.02423, allocations: 0.9269 MB / 297.3 MB, free: 1.676 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009459/0.02517, allocations: 0.5725 MB / 297.9 MB, free: 1.102 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001581/0.02533, allocations: 68 kB / 297.9 MB, free: 1.035 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006212/0.02595, allocations: 215.7 kB / 298.1 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000778/0.02673, allocations: 498.8 kB / 298.6 MB, free: 344 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004515/0.02718, allocations: 311.4 kB / 298.9 MB, free: 32 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00337/0.03055, allocations: 0.8564 MB / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.799e-05/0.03057, allocations: 0 / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.03057, allocations: 0 / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.339e-05/0.03059, allocations: 0 / 299.8 MB, free: 15.17 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.001993/0.03259, allocations: 1.419 MB / 301.2 MB, free: 13.72 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.03262, allocations: 12.02 kB / 301.2 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008765/0.0335, allocations: 305.7 kB / 301.5 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005749/0.03408, allocations: 0.5671 MB / 302.1 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.229e-05/0.03412, allocations: 62.38 kB / 302.1 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.977e-05/0.0342, allocations: 80.36 kB / 302.2 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008042/0.035, allocations: 0.7901 MB / 303 MB, free: 11.78 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.03503, allocations: 11.89 kB / 303 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.591e-05/0.03507, allocations: 39.98 kB / 303.1 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.124e-05/0.03512, allocations: 65.91 kB / 303.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003953/0.03552, allocations: 370 kB / 303.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002788/0.03831, allocations: 3.725 MB / 307.2 MB, free: 7.391 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004637/0.03877, allocations: 433.9 kB / 307.6 MB, free: 6.945 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.03892, allocations: 157.8 kB / 307.8 MB, free: 6.777 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.03895, allocations: 16.48 kB / 307.8 MB, free: 6.762 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002706/0.03922, allocations: 321.4 kB / 308.1 MB, free: 6.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=65): time 2.094e-06/0.03922, allocations: 4 kB / 308.1 MB, free: 6.406 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.001995/0.04122, allocations: 1.234 MB / 309.4 MB, free: 5.133 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.04128, allocations: 170.9 kB / 309.5 MB, free: 4.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002748/0.04155, allocations: 0.5036 MB / 310 MB, free: 4.418 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.04158, allocations: 37.7 kB / 310.1 MB, free: 4.375 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.04175, allocations: 421.1 kB / 310.5 MB, free: 3.957 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.04186, allocations: 238 kB / 310.7 MB, free: 3.723 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.04198, allocations: 150.5 kB / 310.8 MB, free: 3.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.04209, allocations: 390.6 kB / 311.2 MB, free: 3.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.0422, allocations: 107.7 kB / 311.3 MB, free: 3.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.04241, allocations: 387.5 kB / 311.7 MB, free: 2.566 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003998/0.04281, allocations: 0.5941 MB / 312.3 MB, free: 1.836 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.04282, allocations: 0 / 312.3 MB, free: 1.836 MB / 298.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0009626/0.04378, allocations: 0.6835 MB / 313 MB, free: 1.121 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.585e-05/0.04382, allocations: 38.56 kB / 313 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.04382, allocations: 11.94 kB / 313 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005993/0.04442, allocations: 281.5 kB / 313.3 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003059/0.04473, allocations: 175.7 kB / 313.5 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002638/0.04737, allocations: 3.507 MB / 317 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/0.04761, allocations: 27.98 kB / 317 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.664e-05/0.04765, allocations: 32 kB / 317.1 MB, free: 12.86 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.0001991/0.04785, allocations: 202 kB / 317.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.639e-05/0.04792, allocations: 67.88 kB / 317.3 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006485/0.04857, allocations: 0.5705 MB / 317.9 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.04858, allocations: 11.98 kB / 317.9 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.04858, allocations: 4 kB / 317.9 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.04859, allocations: 11.98 kB / 317.9 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.04976, allocations: 1.175 MB / 319.1 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.04976, allocations: 0 / 319.1 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.04995, allocations: 91.88 kB / 319.2 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-05/0.05001, allocations: 59.53 kB / 319.2 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004786/0.05049, allocations: 267.2 kB / 319.5 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.05052, allocations: 12 kB / 319.5 MB, free: 10.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00243/0.05295, allocations: 3.478 MB / 323 MB, free: 6.609 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.05295, allocations: 4 kB / 323 MB, free: 6.605 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006313/0.05358, allocations: 0.7249 MB / 323.7 MB, free: 5.816 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.508e-05/0.05364, allocations: 12 kB / 323.7 MB, free: 5.805 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.05378, allocations: 16 kB / 323.7 MB, free: 5.789 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.149e-05/0.05386, allocations: 60.33 kB / 323.8 MB, free: 5.727 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.05389, allocations: 16 kB / 323.8 MB, free: 5.711 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001544/0.05404, allocations: 228.6 kB / 324 MB, free: 5.492 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.1e-08/0.05404, allocations: 0 / 324 MB, free: 5.492 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005852/0.05463, allocations: 272 kB / 324.3 MB, free: 5.227 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.0001198/0.05475, allocations: 101 kB / 324.4 MB, free: 5.117 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007538/0.0555, allocations: 0.8504 MB / 325.3 MB, free: 4.223 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.126e-05/0.05552, allocations: 16.48 kB / 325.3 MB, free: 4.207 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004523/0.05597, allocations: 0.6121 MB / 325.9 MB, free: 3.551 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005098/0.05648, allocations: 265.8 kB / 326.1 MB, free: 3.301 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/0.06847, allocations: 1.612 MB / 327.8 MB, free: 1.625 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.06867, allocations: 259.8 kB / 328 MB, free: 1.352 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002541/0.06893, allocations: 86.28 kB / 328.1 MB, free: 1.266 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002482/0.06918, allocations: 193.2 kB / 328.3 MB, free: 1.078 MB / 314.7 MB Notification: Performance of SimCode: time 1.533e-06/0.06918, allocations: 0 / 328.3 MB, free: 1.078 MB / 314.7 MB Notification: Performance of Templates: time 0.01424/0.08341, allocations: 12.2 MB / 340.5 MB, free: 5.082 MB / 330.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: 2.740617698058486]