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.001759/0.001759, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001798/0.001798, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.512/1.512, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.1802/0.1802, allocations: 38.55 MB / 353.2 MB, free: 12.35 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.002074/0.002074, allocations: 67.91 kB / 493.7 MB, free: 4.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3463, allocations: 62.47 MB / 0.5432 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.01297/0.3593, allocations: 7.169 MB / 0.5502 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006604/0.3659, allocations: 2.209 MB / 0.5523 GB, free: 9.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008637/0.3668, allocations: 37.44 kB / 0.5524 GB, free: 9.242 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003161/0.3699, allocations: 0.8369 MB / 0.5532 GB, free: 8.605 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002146/0.3721, allocations: 0.5136 MB / 0.5537 GB, free: 8.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00178/0.3738, allocations: 461 kB / 0.5541 GB, free: 7.844 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002406/0.3763, allocations: 1.277 MB / 0.5554 GB, free: 7.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009549/0.3772, allocations: 0.5085 MB / 0.5559 GB, free: 6.793 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.3783, allocations: 0.576 MB / 0.5564 GB, free: 6.457 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001135/0.3795, allocations: 0.6647 MB / 0.5571 GB, free: 5.953 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002069/0.3797, allocations: 79.98 kB / 0.5572 GB, free: 5.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006721/0.3803, allocations: 227.7 kB / 0.5574 GB, free: 5.652 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005381/0.3809, allocations: 0.4986 MB / 0.5579 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005625/0.3814, allocations: 441.9 kB / 0.5583 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001553/0.383, allocations: 1.265 MB / 0.5595 GB, free: 3.449 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.383, allocations: 0 / 0.5595 GB, free: 3.449 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.383, allocations: 0 / 0.5595 GB, free: 3.449 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.939e-05/0.383, allocations: 4 kB / 0.5595 GB, free: 3.445 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.002505/0.3855, allocations: 1.265 MB / 0.5608 GB, free: 2.137 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.3856, allocations: 11.98 kB / 0.5608 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.3867, allocations: 200.1 kB / 0.561 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/0.3881, allocations: 0.6633 MB / 0.5616 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.978e-05/0.3882, allocations: 62.38 kB / 0.5617 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.3883, allocations: 88.11 kB / 0.5617 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.3902, allocations: 1.208 MB / 0.5629 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.837e-05/0.3902, allocations: 15.88 kB / 0.5629 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.974e-05/0.3903, allocations: 32 kB / 0.563 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.609e-05/0.3904, allocations: 53.98 kB / 0.563 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/0.392, allocations: 0.9578 MB / 0.564 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00615/0.3981, allocations: 4.328 MB / 0.5682 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.3994, allocations: 0.6561 MB / 0.5688 GB, free: 9.539 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005811/0.4, allocations: 377.5 kB / 0.5692 GB, free: 9.152 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.372e-05/0.4, allocations: 8.5 kB / 0.5692 GB, free: 9.145 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00069/0.4007, allocations: 462.6 kB / 0.5696 GB, free: 8.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 2.875e-06/0.4007, allocations: 4 kB / 0.5696 GB, free: 8.656 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.005511/0.4062, allocations: 2.38 MB / 0.572 GB, free: 6.238 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/0.4064, allocations: 178.9 kB / 0.5721 GB, free: 6.027 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000764/0.4071, allocations: 0.5858 MB / 0.5727 GB, free: 5.438 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.986e-05/0.4072, allocations: 37.7 kB / 0.5727 GB, free: 5.395 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004406/0.4076, allocations: 0.4921 MB / 0.5732 GB, free: 4.895 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002245/0.4079, allocations: 238.1 kB / 0.5734 GB, free: 4.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/0.4081, allocations: 158.5 kB / 0.5736 GB, free: 4.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.4083, allocations: 386.8 kB / 0.574 GB, free: 4.113 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004972/0.4088, allocations: 315.5 kB / 0.5743 GB, free: 3.797 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007454/0.4095, allocations: 0.5737 MB / 0.5748 GB, free: 3.098 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.4109, allocations: 0.9546 MB / 0.5758 GB, free: 2.004 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.4109, allocations: 4 kB / 0.5758 GB, free: 2 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002295/0.4132, allocations: 1.251 MB / 0.577 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.851e-05/0.4132, allocations: 36.67 kB / 0.577 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.4132, allocations: 12 kB / 0.577 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.4143, allocations: 333.7 kB / 0.5774 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005137/0.4148, allocations: 151.7 kB / 0.5775 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006592/0.4214, allocations: 4.974 MB / 0.5824 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00058/0.422, allocations: 39.98 kB / 0.5824 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.498e-05/0.4221, allocations: 35.98 kB / 0.5824 GB, free: 10.94 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.000544/0.4226, allocations: 360.6 kB / 0.5828 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.4227, allocations: 75.53 kB / 0.5828 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002046/0.4248, allocations: 1.067 MB / 0.5839 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.4248, allocations: 11.94 kB / 0.5839 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.4248, allocations: 4 kB / 0.5839 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.4248, allocations: 0 / 0.5839 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003471/0.4283, allocations: 1.874 MB / 0.5857 GB, free: 7.441 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.4283, allocations: 0 / 0.5857 GB, free: 7.441 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003153/0.4286, allocations: 79.89 kB / 0.5858 GB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008886/0.4295, allocations: 305.7 kB / 0.5861 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.207e-05/0.4295, allocations: 16 kB / 0.5861 GB, free: 7.043 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006391/0.4359, allocations: 4.916 MB / 0.5909 GB, free: 1.922 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4359, allocations: 4 kB / 0.5909 GB, free: 1.918 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/0.4379, allocations: 1.14 MB / 0.592 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.4381, allocations: 83.39 kB / 0.5921 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.78e-05/0.4382, allocations: 12 kB / 0.5921 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/0.4385, allocations: 19.98 kB / 0.5921 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.4387, allocations: 60.33 kB / 0.5922 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.622e-05/0.4387, allocations: 23.98 kB / 0.5922 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005106/0.4392, allocations: 395.1 kB / 0.5926 GB, free: 152 kB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4392, allocations: 4 kB / 0.5926 GB, free: 148 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009927/0.4402, allocations: 268.1 kB / 0.5929 GB, free: 15.88 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.0001644/0.4404, allocations: 115.2 kB / 0.593 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002043/0.4424, allocations: 1.18 MB / 0.5941 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4424, allocations: 0 / 0.5941 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.4436, allocations: 0.7694 MB / 0.5949 GB, free: 13.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008908/0.4445, allocations: 181.5 kB / 0.595 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/0.4477, allocations: 1.902 MB / 0.5969 GB, free: 11.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006459/0.4484, allocations: 0.5001 MB / 0.5974 GB, free: 11.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.4485, allocations: 55.42 kB / 0.5974 GB, free: 11 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4485, allocations: 4 kB / 0.5974 GB, free: 10.99 MB / 446.1 MB Notification: Performance of Templates: time 0.02529/0.4738, allocations: 17.46 MB / 0.6145 GB, free: 9.543 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: 10.460434678010643] Failed to read output from testmodel.py, exit status != 0: 0.4831217508763075 0.49836932199999995 0.111928603 Calling exit ...