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.001761/0.001761, allocations: 107.1 kB / 20.44 MB, free: 1.324 MB / 14.72 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.0021/0.0021, allocations: 196.5 kB / 23.72 MB, free: 4.492 MB / 14.72 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.532/1.532, allocations: 230.6 MB / 257.5 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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.1903/0.1903, allocations: 38.56 MB / 352.5 MB, free: 12.29 MB / 286.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 70.39 kB / 493 MB, free: 4.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3476, allocations: 62.47 MB / 0.5424 GB, free: 404 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.01095/0.3586, allocations: 7.16 MB / 0.5494 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005138/0.3637, allocations: 2.216 MB / 0.5516 GB, free: 9.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005185/0.3642, allocations: 37.34 kB / 0.5516 GB, free: 9.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002427/0.3667, allocations: 0.8457 MB / 0.5525 GB, free: 8.559 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001461/0.3681, allocations: 0.5088 MB / 0.553 GB, free: 8.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.3696, allocations: 465.4 kB / 0.5534 GB, free: 7.797 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001838/0.3715, allocations: 1.274 MB / 0.5546 GB, free: 7.086 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009135/0.3724, allocations: 0.5125 MB / 0.5551 GB, free: 6.746 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.3737, allocations: 0.5759 MB / 0.5557 GB, free: 6.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001222/0.3749, allocations: 0.6587 MB / 0.5563 GB, free: 5.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.375, allocations: 76 kB / 0.5564 GB, free: 5.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005985/0.3756, allocations: 231.7 kB / 0.5566 GB, free: 5.617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005266/0.3762, allocations: 0.4986 MB / 0.5571 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004876/0.3767, allocations: 445.9 kB / 0.5576 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.3781, allocations: 1.261 MB / 0.5588 GB, free: 3.414 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3781, allocations: 0 / 0.5588 GB, free: 3.414 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.3781, allocations: 0 / 0.5588 GB, free: 3.414 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.007e-05/0.3781, allocations: 0 / 0.5588 GB, free: 3.414 MB / 398.1 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.002337/0.3804, allocations: 1.261 MB / 0.56 GB, free: 2.109 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.3805, allocations: 15.98 kB / 0.56 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.3815, allocations: 208.1 kB / 0.5602 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.3829, allocations: 0.6633 MB / 0.5609 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.849e-05/0.3829, allocations: 58.38 kB / 0.5609 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.383, allocations: 88.12 kB / 0.561 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.3848, allocations: 1.2 MB / 0.5622 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.447e-05/0.3849, allocations: 11.89 kB / 0.5622 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.629e-05/0.3849, allocations: 32 kB / 0.5622 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.576e-05/0.385, allocations: 61.97 kB / 0.5623 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.3866, allocations: 0.95 MB / 0.5632 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005643/0.3922, allocations: 4.348 MB / 0.5675 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.3934, allocations: 0.6491 MB / 0.5681 GB, free: 9.504 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005408/0.394, allocations: 373.6 kB / 0.5685 GB, free: 9.121 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.181e-05/0.394, allocations: 8.484 kB / 0.5685 GB, free: 9.113 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006699/0.3947, allocations: 466.6 kB / 0.5689 GB, free: 8.625 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 2.485e-06/0.3947, allocations: 0 / 0.5689 GB, free: 8.625 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.005381/0.4001, allocations: 2.384 MB / 0.5712 GB, free: 6.203 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.4002, allocations: 162.9 kB / 0.5714 GB, free: 6.008 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007092/0.4009, allocations: 0.5976 MB / 0.572 GB, free: 5.406 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.612e-05/0.401, allocations: 37.7 kB / 0.572 GB, free: 5.363 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004018/0.4014, allocations: 499.8 kB / 0.5725 GB, free: 4.867 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000239/0.4016, allocations: 238.1 kB / 0.5727 GB, free: 4.633 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.4018, allocations: 162.6 kB / 0.5729 GB, free: 4.469 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.402, allocations: 390.7 kB / 0.5732 GB, free: 4.078 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004727/0.4025, allocations: 311.5 kB / 0.5735 GB, free: 3.766 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007067/0.4032, allocations: 0.5815 MB / 0.5741 GB, free: 3.059 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/0.4045, allocations: 0.9507 MB / 0.575 GB, free: 1.969 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.4045, allocations: 0 / 0.575 GB, free: 1.969 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002166/0.4067, allocations: 1.255 MB / 0.5763 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.487e-05/0.4067, allocations: 37.69 kB / 0.5763 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.4067, allocations: 8 kB / 0.5763 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.4078, allocations: 333.6 kB / 0.5766 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005065/0.4083, allocations: 147.7 kB / 0.5768 GB, free: 164 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006357/0.4147, allocations: 4.971 MB / 0.5816 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005815/0.4152, allocations: 36.03 kB / 0.5816 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-05/0.4153, allocations: 44 kB / 0.5817 GB, free: 10.91 MB / 430.1 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.0006209/0.4159, allocations: 353 kB / 0.582 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.416, allocations: 75.52 kB / 0.5821 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001998/0.418, allocations: 1.067 MB / 0.5831 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.4181, allocations: 7.938 kB / 0.5832 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.4181, allocations: 8 kB / 0.5832 GB, free: 9.355 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.4181, allocations: 3.984 kB / 0.5832 GB, free: 9.352 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003231/0.4213, allocations: 1.862 MB / 0.585 GB, free: 7.422 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.4213, allocations: 8.172 kB / 0.585 GB, free: 7.414 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003041/0.4216, allocations: 71.91 kB / 0.5851 GB, free: 7.344 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008822/0.4225, allocations: 313.7 kB / 0.5854 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.721e-05/0.4225, allocations: 12 kB / 0.5854 GB, free: 7.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006152/0.4287, allocations: 4.922 MB / 0.5902 GB, free: 1.895 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4287, allocations: 8 kB / 0.5902 GB, free: 1.887 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/0.4307, allocations: 1.14 MB / 0.5913 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000201/0.4309, allocations: 71.47 kB / 0.5914 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.277e-05/0.431, allocations: 19.98 kB / 0.5914 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000342/0.4313, allocations: 16 kB / 0.5914 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.4315, allocations: 64.27 kB / 0.5915 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.954e-05/0.4315, allocations: 16 kB / 0.5915 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005072/0.432, allocations: 403 kB / 0.5919 GB, free: 124 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.432, allocations: 0 / 0.5919 GB, free: 124 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.001189/0.4332, allocations: 268 kB / 0.5921 GB, free: 15.86 MB / 446.1 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.0002111/0.4334, allocations: 115.2 kB / 0.5922 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002113/0.4355, allocations: 1.18 MB / 0.5934 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4355, allocations: 4 kB / 0.5934 GB, free: 14.51 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.4367, allocations: 0.7657 MB / 0.5941 GB, free: 13.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008579/0.4376, allocations: 180.3 kB / 0.5943 GB, free: 13.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/0.4407, allocations: 1.83 MB / 0.5961 GB, free: 11.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006549/0.4414, allocations: 0.5001 MB / 0.5966 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004598/0.4419, allocations: 178.1 kB / 0.5967 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.442, allocations: 51.44 kB / 0.5968 GB, free: 10.88 MB / 446.1 MB Notification: Performance of SimCode: time 4.1e-07/0.442, allocations: 0 / 0.5968 GB, free: 10.88 MB / 446.1 MB Notification: Performance of Templates: time 0.02317/0.4652, allocations: 12.42 MB / 0.6089 GB, free: 14.6 MB / 462.1 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: 5.528560807928443] Failed to read output from testmodel.py, exit status != 0: 0.47487098537385464 0.48921252800000004 0.10788386100000001 Calling exit ...