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.001428/0.001428, allocations: 79.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.001486/0.001486, 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 0.9391/0.9391, allocations: 177.1 MB / 205 MB, free: 5.57 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.2808/0.2808, allocations: 29.42 MB / 290.9 MB, free: 2.496 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.393e-06/1.393e-06, allocations: 0 / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.936e-05, allocations: 2.312 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.005314/0.005333, allocations: 6.437 MB / 376.1 MB, free: 4.512 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002493/0.007827, allocations: 2.329 MB / 378.4 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002485/0.008075, allocations: 35.69 kB / 378.4 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007347/0.00881, allocations: 306.1 kB / 378.7 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006016/0.009411, allocations: 0.5165 MB / 379.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007272/0.01014, allocations: 466.7 kB / 379.7 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009238/0.01106, allocations: 1.308 MB / 381 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000578/0.01164, allocations: 0.5096 MB / 381.5 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006961/0.01234, allocations: 0.7285 MB / 382.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005947/0.01293, allocations: 0.6233 MB / 382.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.237e-05/0.01301, allocations: 80 kB / 382.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003223/0.01334, allocations: 231.6 kB / 383.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003406/0.01368, allocations: 0.5143 MB / 383.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002995/0.01398, allocations: 375.2 kB / 384.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008217/0.0148, allocations: 0.9264 MB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.0148, allocations: 0 / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.0148, allocations: 0 / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.01482, 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.001549/0.01637, allocations: 1.376 MB / 386.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.01641, allocations: 11.98 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006713/0.01708, allocations: 288 kB / 386.6 MB, free: 9.844 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007576/0.01783, allocations: 0.6655 MB / 387.3 MB, free: 9.152 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.315e-05/0.01788, allocations: 66.34 kB / 387.4 MB, free: 9.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.762e-05/0.01797, allocations: 92.36 kB / 387.5 MB, free: 9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00089/0.01886, allocations: 0.8891 MB / 388.4 MB, free: 7.992 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.01888, allocations: 11.88 kB / 388.4 MB, free: 7.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.886e-05/0.01893, allocations: 32 kB / 388.4 MB, free: 7.949 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.323e-05/0.01898, allocations: 57.97 kB / 388.5 MB, free: 7.895 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006104/0.01959, allocations: 469 kB / 388.9 MB, free: 7.426 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00319/0.02278, allocations: 5.059 MB / 394 MB, free: 2.156 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005985/0.02338, allocations: 457.4 kB / 394.4 MB, free: 1.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/0.02363, allocations: 231.3 kB / 394.6 MB, free: 1.438 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.946e-05/0.02366, allocations: 12.5 kB / 394.7 MB, free: 1.426 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003509/0.02402, allocations: 352.8 kB / 395 MB, free: 1.043 MB / 362.7 MB Notification: Performance of pre-optimization done (n=65): time 2.966e-06/0.02402, allocations: 3.984 kB / 395 MB, free: 1.039 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.002622/0.02664, allocations: 1.82 MB / 396.8 MB, free: 15.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/0.02671, allocations: 162.9 kB / 397 MB, free: 14.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000393/0.0271, allocations: 0.6047 MB / 397.6 MB, free: 14.36 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.02713, allocations: 41.7 kB / 397.6 MB, free: 14.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.02736, allocations: 0.5415 MB / 398.2 MB, free: 13.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.02749, allocations: 234.1 kB / 398.4 MB, free: 13.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.02762, allocations: 164.3 kB / 398.6 MB, free: 13.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.02778, allocations: 0.5664 MB / 399.1 MB, free: 12.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.02797, allocations: 147.6 kB / 399.3 MB, free: 12.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003622/0.02833, allocations: 0.5397 MB / 399.8 MB, free: 11.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006731/0.029, allocations: 0.7449 MB / 400.6 MB, free: 11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.02901, allocations: 4 kB / 400.6 MB, free: 10.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001024/0.03003, allocations: 0.9012 MB / 401.5 MB, free: 10.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/0.03006, allocations: 37.69 kB / 401.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.03007, allocations: 12 kB / 401.5 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006656/0.03074, allocations: 275.4 kB / 401.8 MB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/0.03102, allocations: 151.7 kB / 401.9 MB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003054/0.03407, allocations: 4.788 MB / 406.7 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.03428, allocations: 27.98 kB / 406.7 MB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.313e-05/0.03433, allocations: 40 kB / 406.8 MB, free: 4.488 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.0002116/0.03454, allocations: 256.8 kB / 407 MB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.987e-05/0.03463, allocations: 107.4 kB / 407.1 MB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009451/0.03557, allocations: 0.7294 MB / 407.9 MB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.03558, allocations: 8 kB / 407.9 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.03558, allocations: 4 kB / 407.9 MB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.03559, allocations: 7.922 kB / 407.9 MB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.03722, allocations: 1.588 MB / 409.5 MB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.03723, allocations: 0 / 409.5 MB, free: 1.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.03739, allocations: 75.91 kB / 409.5 MB, free: 1.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005283/0.03791, allocations: 259.4 kB / 409.8 MB, free: 1.328 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.11e-05/0.03794, allocations: 16 kB / 409.8 MB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002869/0.04081, allocations: 4.749 MB / 414.6 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.04082, allocations: 7.938 kB / 414.6 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009244/0.04174, allocations: 0.9247 MB / 415.5 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.784e-05/0.0418, allocations: 63.52 kB / 415.6 MB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.494e-05/0.04184, allocations: 16 kB / 415.6 MB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.042, allocations: 31.92 kB / 415.6 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.824e-05/0.04209, allocations: 44.41 kB / 415.7 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.04212, allocations: 27.98 kB / 415.7 MB, free: 11.14 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002489/0.04237, allocations: 367 kB / 416 MB, free: 10.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04237, allocations: 0 / 416 MB, free: 10.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005345/0.0429, allocations: 272 kB / 416.3 MB, free: 10.52 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.0001169/0.04302, allocations: 118.7 kB / 416.4 MB, free: 10.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009917/0.04401, allocations: 1.058 MB / 417.5 MB, free: 9.285 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.04402, allocations: 0 / 417.5 MB, free: 9.285 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005616/0.04458, allocations: 0.7691 MB / 418.2 MB, free: 8.461 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005284/0.04511, allocations: 184.4 kB / 418.4 MB, free: 8.293 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.0471, allocations: 1.595 MB / 420 MB, free: 6.621 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.04727, allocations: 259.9 kB / 420.3 MB, free: 6.348 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002399/0.04751, allocations: 158.2 kB / 420.4 MB, free: 6.191 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.295e-05/0.04759, allocations: 52.48 kB / 420.5 MB, free: 6.141 MB / 394.7 MB Notification: Performance of SimCode: time 6.81e-07/0.04759, allocations: 4 kB / 420.5 MB, free: 6.137 MB / 394.7 MB Notification: Performance of Templates: time 0.01261/0.0602, allocations: 11.35 MB / 431.8 MB, free: 10.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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4227439537644386]