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.0006931/0.0006931, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009487/0.001642, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006825/0.0006825, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008972/0.00158, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9418/0.9418, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07315/1.015, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.1296/0.1296, allocations: 29.43 MB / 273.6 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09973/0.2293, allocations: 9.534 MB / 283.1 MB, free: 12.82 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.392e-06/1.392e-06, allocations: 0 / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084e-05/1.223e-05, allocations: 6.906 kB / 284.4 MB, free: 11.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.007722/0.007734, allocations: 6.529 MB / 291 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004311/0.01204, allocations: 2.387 MB / 293.3 MB, free: 4.898 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004157/0.01246, allocations: 37.19 kB / 293.4 MB, free: 4.879 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008421/0.0133, allocations: 324.6 kB / 293.7 MB, free: 4.629 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.01436, allocations: 0.5573 MB / 294.3 MB, free: 4.168 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.0155, allocations: 475.9 kB / 294.7 MB, free: 3.816 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00163/0.01713, allocations: 1.358 MB / 296.1 MB, free: 3.004 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007597/0.01789, allocations: 0.5117 MB / 296.6 MB, free: 2.48 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001355/0.01924, allocations: 0.927 MB / 297.5 MB, free: 1.551 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008932/0.02014, allocations: 0.5648 MB / 298.1 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001476/0.02028, allocations: 68 kB / 298.1 MB, free: 0.918 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005444/0.02083, allocations: 231.6 kB / 298.4 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004643/0.02129, allocations: 494.8 kB / 298.9 MB, free: 212 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004254/0.02172, allocations: 303.4 kB / 299.2 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.02276, allocations: 0.8641 MB / 300 MB, free: 15.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.105e-05/0.02277, allocations: 4 kB / 300 MB, free: 15.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.02277, allocations: 0 / 300 MB, free: 15.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.668e-05/0.0228, allocations: 0 / 300 MB, free: 15.04 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.002019/0.02482, allocations: 1.419 MB / 301.4 MB, free: 13.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.02485, allocations: 8.031 kB / 301.4 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009787/0.02583, allocations: 305.8 kB / 301.7 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008885/0.02672, allocations: 0.5632 MB / 302.3 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.96e-05/0.02678, allocations: 66.38 kB / 302.4 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.02691, allocations: 84.3 kB / 302.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.02798, allocations: 0.7863 MB / 303.2 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.86e-05/0.02802, allocations: 19.81 kB / 303.3 MB, free: 11.63 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.406e-05/0.02809, allocations: 32 kB / 303.3 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-05/0.02817, allocations: 53.98 kB / 303.3 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006468/0.02882, allocations: 374 kB / 303.7 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003885/0.0327, allocations: 3.732 MB / 307.4 MB, free: 7.262 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006869/0.03339, allocations: 431.5 kB / 307.9 MB, free: 6.809 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000235/0.03362, allocations: 169.7 kB / 308 MB, free: 6.629 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.842e-05/0.03366, allocations: 8.5 kB / 308 MB, free: 6.621 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003992/0.03406, allocations: 317.4 kB / 308.3 MB, free: 6.277 MB / 298.7 MB Notification: Performance of pre-optimization done (n=65): time 2.255e-06/0.03406, allocations: 0 / 308.3 MB, free: 6.277 MB / 298.7 MB Notification: Performance of matching and sorting (n=66): time 0.003099/0.03716, allocations: 1.261 MB / 309.6 MB, free: 4.973 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.561e-05/0.03726, allocations: 222.2 kB / 309.8 MB, free: 4.707 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004465/0.0377, allocations: 0.5075 MB / 310.3 MB, free: 4.191 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/0.03775, allocations: 37.7 kB / 310.4 MB, free: 4.148 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.038, allocations: 421.1 kB / 310.8 MB, free: 3.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/0.03818, allocations: 226 kB / 311 MB, free: 3.508 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.03839, allocations: 154.5 kB / 311.2 MB, free: 3.352 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.03853, allocations: 390.6 kB / 311.5 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.03871, allocations: 107.7 kB / 311.6 MB, free: 2.852 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003575/0.03907, allocations: 395.5 kB / 312 MB, free: 2.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006786/0.03975, allocations: 0.5985 MB / 312.6 MB, free: 1.602 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.03976, allocations: 7.984 kB / 312.6 MB, free: 1.594 MB / 298.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001152/0.04091, allocations: 0.6836 MB / 313.3 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.457e-05/0.04095, allocations: 37.7 kB / 313.4 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.04095, allocations: 8.844 kB / 313.4 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006307/0.04158, allocations: 289.6 kB / 313.6 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.0419, allocations: 167.7 kB / 313.8 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002437/0.04434, allocations: 3.525 MB / 317.3 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.04455, allocations: 27.94 kB / 317.4 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.04459, allocations: 32 kB / 317.4 MB, free: 12.61 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.0001767/0.04477, allocations: 202 kB / 317.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.165e-05/0.04484, allocations: 67.88 kB / 317.7 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006257/0.04546, allocations: 0.5704 MB / 318.2 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.04547, allocations: 8 kB / 318.2 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.04547, allocations: 4 kB / 318.2 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.04548, allocations: 4.078 kB / 318.2 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.0466, allocations: 1.186 MB / 319.4 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.0466, allocations: 3.984 kB / 319.4 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.04679, allocations: 87.89 kB / 319.5 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.942e-05/0.04685, allocations: 63.52 kB / 319.6 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004799/0.04733, allocations: 271.7 kB / 319.8 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/0.04735, allocations: 12 kB / 319.9 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002194/0.04955, allocations: 3.475 MB / 323.3 MB, free: 6.355 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.04955, allocations: 4 kB / 323.3 MB, free: 6.352 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006215/0.05017, allocations: 0.721 MB / 324.1 MB, free: 5.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.977e-05/0.05022, allocations: 19.98 kB / 324.1 MB, free: 5.551 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.05036, allocations: 12 kB / 324.1 MB, free: 5.539 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.643e-05/0.05045, allocations: 52.41 kB / 324.1 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.05047, allocations: 19.98 kB / 324.2 MB, free: 5.469 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001459/0.05062, allocations: 228.6 kB / 324.4 MB, free: 5.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.05062, allocations: 0 / 324.4 MB, free: 5.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005074/0.05112, allocations: 279.9 kB / 324.7 MB, free: 4.977 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.0001056/0.05123, allocations: 96.28 kB / 324.8 MB, free: 4.871 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007248/0.05196, allocations: 0.8563 MB / 325.6 MB, free: 3.969 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.231e-05/0.05198, allocations: 20.5 kB / 325.6 MB, free: 3.945 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004676/0.05245, allocations: 0.6495 MB / 326.3 MB, free: 3.254 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007895/0.05323, allocations: 1.415 MB / 327.7 MB, free: 1.582 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/0.06485, allocations: 1.607 MB / 329.3 MB, free: 15.91 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001804/0.06503, allocations: 251.8 kB / 329.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001837/0.06522, allocations: 86.22 kB / 329.6 MB, free: 15.56 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/0.06545, allocations: 193.3 kB / 329.8 MB, free: 15.37 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.06545, allocations: 4 kB / 329.8 MB, free: 15.36 MB / 330.7 MB Notification: Performance of Templates: time 0.01437/0.07982, allocations: 12.08 MB / 341.9 MB, free: 3.496 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.839773257263005]