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.001298/0.001298, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001617/0.001617, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.401/1.401, allocations: 230.6 MB / 258.3 MB, free: 7.965 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.1834/0.1834, allocations: 38.53 MB / 353.2 MB, free: 12.5 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.001945/0.001945, allocations: 71.89 kB / 493.8 MB, free: 4.344 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2957, allocations: 62.46 MB / 0.5432 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.009042/0.3047, allocations: 7.781 MB / 0.5508 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004376/0.3091, allocations: 2.379 MB / 0.5532 GB, free: 8.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004328/0.3095, allocations: 37.5 kB / 0.5532 GB, free: 8.547 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002194/0.3117, allocations: 0.8856 MB / 0.5541 GB, free: 7.863 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00111/0.3128, allocations: 0.5134 MB / 0.5546 GB, free: 7.438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.314, allocations: 463.9 kB / 0.555 GB, free: 7.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001512/0.3155, allocations: 1.274 MB / 0.5562 GB, free: 6.387 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008273/0.3164, allocations: 0.5275 MB / 0.5568 GB, free: 6.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009746/0.3173, allocations: 0.5688 MB / 0.5573 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.3184, allocations: 0.7064 MB / 0.558 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.3185, allocations: 77.62 kB / 0.5581 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005601/0.3191, allocations: 239.7 kB / 0.5583 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000486/0.3196, allocations: 0.4908 MB / 0.5588 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005443/0.3201, allocations: 0.5286 MB / 0.5593 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.3215, allocations: 1.249 MB / 0.5605 GB, free: 2.691 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3215, allocations: 0 / 0.5605 GB, free: 2.691 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3215, allocations: 0 / 0.5605 GB, free: 2.691 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.3216, allocations: 0 / 0.5605 GB, free: 2.691 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.002248/0.3238, allocations: 1.263 MB / 0.5618 GB, free: 1.387 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.3238, allocations: 15.98 kB / 0.5618 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.3248, allocations: 208.1 kB / 0.562 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.3261, allocations: 0.6633 MB / 0.5626 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.191e-05/0.3262, allocations: 62.38 kB / 0.5627 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.3263, allocations: 80.12 kB / 0.5627 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.328, allocations: 1.175 MB / 0.5639 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.484e-05/0.3281, allocations: 11.89 kB / 0.5639 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-05/0.3282, allocations: 32 kB / 0.5639 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.038e-05/0.3282, allocations: 57.98 kB / 0.564 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.3297, allocations: 0.9288 MB / 0.5649 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00566/0.3354, allocations: 4.694 MB / 0.5695 GB, free: 9.148 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.3365, allocations: 0.6209 MB / 0.5701 GB, free: 8.508 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005158/0.337, allocations: 343.9 kB / 0.5704 GB, free: 8.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.024e-05/0.3371, allocations: 8.484 kB / 0.5704 GB, free: 8.152 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006328/0.3377, allocations: 448.8 kB / 0.5709 GB, free: 7.688 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 2.174e-06/0.3377, allocations: 4 kB / 0.5709 GB, free: 7.684 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.005429/0.3431, allocations: 2.303 MB / 0.5731 GB, free: 5.355 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.3432, allocations: 170.9 kB / 0.5733 GB, free: 5.152 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007539/0.344, allocations: 0.6016 MB / 0.5739 GB, free: 4.547 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.707e-05/0.3441, allocations: 41.7 kB / 0.5739 GB, free: 4.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004152/0.3445, allocations: 0.492 MB / 0.5744 GB, free: 4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/0.3447, allocations: 234.1 kB / 0.5746 GB, free: 3.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/0.3449, allocations: 150.6 kB / 0.5747 GB, free: 3.617 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002119/0.3451, allocations: 386.8 kB / 0.5751 GB, free: 3.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004725/0.3456, allocations: 289.8 kB / 0.5754 GB, free: 2.945 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006913/0.3463, allocations: 0.5486 MB / 0.5759 GB, free: 2.273 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.3475, allocations: 0.9545 MB / 0.5769 GB, free: 1.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.3476, allocations: 7.938 kB / 0.5769 GB, free: 1.172 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002163/0.3497, allocations: 1.218 MB / 0.5781 GB, free: 15.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.49e-05/0.3498, allocations: 40.67 kB / 0.5781 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.3498, allocations: 8 kB / 0.5781 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.3508, allocations: 337.4 kB / 0.5784 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000493/0.3513, allocations: 155.7 kB / 0.5786 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006343/0.3577, allocations: 5.18 MB / 0.5836 GB, free: 9.961 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000589/0.3583, allocations: 35.98 kB / 0.5837 GB, free: 9.926 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.3584, allocations: 39.98 kB / 0.5837 GB, free: 9.887 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.0005853/0.3589, allocations: 355.1 kB / 0.584 GB, free: 9.523 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.3591, allocations: 83.47 kB / 0.5841 GB, free: 9.441 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001999/0.3611, allocations: 1.031 MB / 0.5851 GB, free: 8.383 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.3611, allocations: 8 kB / 0.5851 GB, free: 8.375 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.3611, allocations: 4 kB / 0.5851 GB, free: 8.371 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.3611, allocations: 3.984 kB / 0.5851 GB, free: 8.367 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003562/0.3647, allocations: 2.02 MB / 0.5871 GB, free: 6.273 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.3647, allocations: 4 kB / 0.5871 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003255/0.365, allocations: 75.89 kB / 0.5872 GB, free: 6.195 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008947/0.3659, allocations: 313.5 kB / 0.5875 GB, free: 5.883 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.605e-05/0.366, allocations: 15.94 kB / 0.5875 GB, free: 5.867 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006144/0.3721, allocations: 5.105 MB / 0.5925 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.3721, allocations: 4 kB / 0.5925 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.3741, allocations: 1.115 MB / 0.5936 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002144/0.3743, allocations: 75.47 kB / 0.5937 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.3744, allocations: 15.94 kB / 0.5937 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003372/0.3747, allocations: 19.98 kB / 0.5937 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.3749, allocations: 56.34 kB / 0.5937 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.59e-05/0.3749, allocations: 27.92 kB / 0.5938 GB, free: 15.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005455/0.3755, allocations: 423 kB / 0.5942 GB, free: 14.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3755, allocations: 0 / 0.5942 GB, free: 14.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000962/0.3764, allocations: 264 kB / 0.5944 GB, free: 14.48 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.0001674/0.3766, allocations: 123 kB / 0.5945 GB, free: 14.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001929/0.3785, allocations: 1.118 MB / 0.5956 GB, free: 13.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3785, allocations: 0 / 0.5956 GB, free: 13.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001108/0.3796, allocations: 0.7393 MB / 0.5964 GB, free: 12.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008546/0.3805, allocations: 178.5 kB / 0.5965 GB, free: 12.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00323/0.3837, allocations: 1.865 MB / 0.5983 GB, free: 10.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008862/0.3846, allocations: 1.107 MB / 0.5994 GB, free: 9.195 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.3848, allocations: 59.44 kB / 0.5995 GB, free: 9.137 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3848, allocations: 0 / 0.5995 GB, free: 9.137 MB / 446.1 MB Notification: Performance of Templates: time 0.02447/0.4092, allocations: 17.16 MB / 0.6162 GB, free: 7.992 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: 9.921750522218645] Failed to read output from testmodel.py, exit status != 0: 0.41842207591980696 0.43354762999999996 0.10886485200000001 Calling exit ...