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.0008211/0.0008211, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004333/0.004333, allocations: 164.1 kB / 24.7 MB, free: 8.891 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.8903/0.8903, allocations: 177.1 MB / 205 MB, free: 5.75 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.212/0.212, allocations: 29.41 MB / 290.8 MB, free: 2.43 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.473e-06/1.473e-06, allocations: 0 / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.077e-05/4.224e-05, allocations: 4.109 kB / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.006129/0.006171, allocations: 7.115 MB / 438.6 MB, free: 5.957 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003144/0.009316, allocations: 2.239 MB / 440.8 MB, free: 3.711 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004672/0.009783, allocations: 35.69 kB / 440.9 MB, free: 3.676 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.01113, allocations: 0.832 MB / 441.7 MB, free: 2.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009591/0.01209, allocations: 0.5281 MB / 442.2 MB, free: 2.309 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.0131, allocations: 470.6 kB / 442.7 MB, free: 1.848 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001427/0.01452, allocations: 1.309 MB / 444 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005943/0.01512, allocations: 0.5019 MB / 444.5 MB, free: 24 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1872/0.2023, allocations: 0.7482 MB / 445.2 MB, free: 44.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006443/0.203, allocations: 0.6157 MB / 445.8 MB, free: 44.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.347e-05/0.2031, allocations: 76.47 kB / 445.9 MB, free: 44.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004071/0.2035, allocations: 235.2 kB / 446.2 MB, free: 44.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002931/0.2038, allocations: 0.52 MB / 446.7 MB, free: 44.27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002703/0.204, allocations: 364 kB / 447 MB, free: 44.25 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009418/0.205, allocations: 1.262 MB / 448.3 MB, free: 44.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.205, allocations: 0.8438 kB / 448.3 MB, free: 44.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.205, allocations: 0 / 448.3 MB, free: 44.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.205, allocations: 3.875 kB / 448.3 MB, free: 44.17 MB / 410.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.001461/0.2065, allocations: 1.248 MB / 449.5 MB, free: 43.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.2065, allocations: 13.67 kB / 449.6 MB, free: 43.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005948/0.2071, allocations: 202 kB / 449.8 MB, free: 43.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007294/0.2078, allocations: 0.6653 MB / 450.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/0.2079, allocations: 60.56 kB / 450.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.321e-05/0.208, allocations: 80.19 kB / 450.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.209, allocations: 1.216 MB / 451.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.209, allocations: 3.953 kB / 451.8 MB, free: 42.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.635e-05/0.2091, allocations: 38.53 kB / 451.8 MB, free: 42.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.922e-05/0.2091, allocations: 57 kB / 451.9 MB, free: 42.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008631/0.21, allocations: 0.9508 MB / 452.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002818/0.2128, allocations: 4.33 MB / 457.1 MB, free: 40.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000685/0.2135, allocations: 0.643 MB / 457.8 MB, free: 39.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/0.2138, allocations: 376.8 kB / 458.2 MB, free: 39.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.78e-05/0.2138, allocations: 13.88 kB / 458.2 MB, free: 39.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003694/0.2142, allocations: 468.6 kB / 458.6 MB, free: 39.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=65): time 2.284e-06/0.2142, allocations: 3.281 kB / 458.6 MB, free: 39.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=66): time 0.002852/0.217, allocations: 2.378 MB / 461 MB, free: 38.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.2171, allocations: 174.5 kB / 461.2 MB, free: 38.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003725/0.2174, allocations: 0.5865 MB / 461.8 MB, free: 38.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.2175, allocations: 40.77 kB / 461.8 MB, free: 38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.2176, allocations: 494.8 kB / 462.3 MB, free: 37.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.2177, allocations: 232.3 kB / 462.5 MB, free: 37.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.2179, allocations: 161.5 kB / 462.7 MB, free: 37.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.157e-05/0.2179, allocations: 378.4 kB / 463 MB, free: 37.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000256/0.2182, allocations: 315.9 kB / 463.4 MB, free: 36.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000324/0.2185, allocations: 0.5791 MB / 463.9 MB, free: 36.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006384/0.2191, allocations: 0.9554 MB / 464.9 MB, free: 35.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.2191, allocations: 3.156 kB / 464.9 MB, free: 35.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001106/0.2202, allocations: 1.244 MB / 466.1 MB, free: 35.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/0.2203, allocations: 39.52 kB / 466.2 MB, free: 35.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.2203, allocations: 9.531 kB / 466.2 MB, free: 35.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005978/0.2209, allocations: 334.1 kB / 466.5 MB, free: 35.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.2212, allocations: 147.9 kB / 466.7 MB, free: 35.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003071/0.2242, allocations: 4.978 MB / 471.6 MB, free: 31.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003874/0.2246, allocations: 36.19 kB / 471.7 MB, free: 31.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.482e-05/0.2247, allocations: 40.69 kB / 471.7 MB, free: 31.7 MB / 410.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.0003567/0.225, allocations: 356.2 kB / 472.1 MB, free: 31.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/0.2251, allocations: 77.72 kB / 472.1 MB, free: 31.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.2261, allocations: 1.069 MB / 473.2 MB, free: 30.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.2261, allocations: 7.172 kB / 473.2 MB, free: 30.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.2261, allocations: 2.875 kB / 473.2 MB, free: 30.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.2261, allocations: 6.578 kB / 473.2 MB, free: 30.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.2279, allocations: 1.878 MB / 475.1 MB, free: 30.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2279, allocations: 0 / 475.1 MB, free: 30.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.228, allocations: 71.2 kB / 475.2 MB, free: 30.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004489/0.2285, allocations: 309.5 kB / 475.5 MB, free: 30 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.2285, allocations: 21.52 kB / 475.5 MB, free: 29.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002757/0.2313, allocations: 4.902 MB / 480.4 MB, free: 26.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2313, allocations: 7.281 kB / 480.4 MB, free: 26.53 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009598/0.2322, allocations: 1.139 MB / 481.5 MB, free: 25.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.004e-05/0.2323, allocations: 72.97 kB / 481.6 MB, free: 25.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.723e-05/0.2324, allocations: 17.97 kB / 481.6 MB, free: 25.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.2325, allocations: 20.56 kB / 481.6 MB, free: 25.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.928e-05/0.2326, allocations: 64.98 kB / 481.7 MB, free: 25.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.2327, allocations: 17.34 kB / 481.7 MB, free: 25.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002689/0.2329, allocations: 400.1 kB / 482.1 MB, free: 25.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2329, allocations: 0 / 482.1 MB, free: 25.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006833/0.2336, allocations: 271.8 kB / 482.4 MB, free: 25.67 MB / 410.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.0001202/0.2337, allocations: 120.6 kB / 482.5 MB, free: 25.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.2348, allocations: 1.181 MB / 483.7 MB, free: 24.97 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.2348, allocations: 1.875 kB / 483.7 MB, free: 24.97 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000564/0.2353, allocations: 0.7621 MB / 484.4 MB, free: 24.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005716/0.2359, allocations: 175.5 kB / 484.6 MB, free: 24.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.2379, allocations: 1.861 MB / 486.5 MB, free: 23.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.2383, allocations: 0.5045 MB / 487 MB, free: 23.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.2385, allocations: 56.03 kB / 487 MB, free: 23.36 MB / 410.7 MB Notification: Performance of SimCode: time 9.91e-07/0.2385, allocations: 1.531 kB / 487 MB, free: 23.36 MB / 410.7 MB Notification: Performance of Templates: time 0.02086/0.2593, allocations: 17.46 MB / 0.4927 GB, free: 19.95 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.438675710000098] Failed to read output from testmodel.py, exit status != 0: 0.26594448182731867 0.27318218499999997 0.06657840500000001 Calling exit ...