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.00101/0.00101, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001161/0.001161, allocations: 165.3 kB / 24.99 MB, free: 8.301 MB / 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 1.038/1.038, allocations: 177.1 MB / 205.3 MB, free: 5.602 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.2688/0.2688, allocations: 29.42 MB / 291.2 MB, free: 2.508 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.923e-06/1.923e-06, allocations: 0 / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.933e-05/3.125e-05, allocations: 4.141 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.009339/0.00937, allocations: 7.604 MB / 377.2 MB, free: 3.676 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004323/0.01369, allocations: 2.313 MB / 379.5 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004717/0.01417, allocations: 35.69 kB / 379.6 MB, free: 1.32 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.01555, allocations: 0.8516 MB / 380.4 MB, free: 476 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001058/0.01661, allocations: 0.5282 MB / 380.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009901/0.0176, allocations: 474.6 kB / 381.4 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001457/0.01906, allocations: 1.304 MB / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006985/0.01975, allocations: 0.5135 MB / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.02077, allocations: 0.7515 MB / 384 MB, free: 12.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008655/0.02164, allocations: 0.6273 MB / 384.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.02175, allocations: 76 kB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004516/0.02221, allocations: 235.5 kB / 384.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004366/0.02264, allocations: 0.5182 MB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000385/0.02303, allocations: 379.1 kB / 385.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.02412, allocations: 0.9148 MB / 386.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.02412, allocations: 4 kB / 386.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.02412, allocations: 0 / 386.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.342e-05/0.02415, allocations: 0 / 386.7 MB, free: 10.14 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.001741/0.02589, allocations: 1.369 MB / 388.1 MB, free: 8.723 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.02593, allocations: 15.98 kB / 388.1 MB, free: 8.707 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007732/0.0267, allocations: 295.9 kB / 388.4 MB, free: 8.418 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008286/0.02753, allocations: 0.6655 MB / 389.1 MB, free: 7.727 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.466e-05/0.02758, allocations: 66.36 kB / 389.1 MB, free: 7.664 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.102e-05/0.02766, allocations: 80.38 kB / 389.2 MB, free: 7.586 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.02872, allocations: 0.9008 MB / 390.1 MB, free: 6.566 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.02874, allocations: 3.938 kB / 390.1 MB, free: 6.562 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.081e-05/0.0288, allocations: 39.98 kB / 390.1 MB, free: 6.523 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.439e-05/0.02885, allocations: 57.92 kB / 390.2 MB, free: 6.469 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006915/0.02954, allocations: 465 kB / 390.7 MB, free: 6.004 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003839/0.03338, allocations: 5.051 MB / 395.7 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006547/0.03404, allocations: 473 kB / 396.2 MB, free: 256 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/0.0343, allocations: 219.4 kB / 396.4 MB, free: 20 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.03433, allocations: 12.5 kB / 396.4 MB, free: 8 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000492/0.03482, allocations: 360.8 kB / 396.7 MB, free: 15.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 2.976e-06/0.03482, allocations: 0 / 396.7 MB, free: 15.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.004356/0.03918, allocations: 1.812 MB / 398.6 MB, free: 13.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.3e-05/0.03925, allocations: 174.9 kB / 398.7 MB, free: 13.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004614/0.03971, allocations: 0.6008 MB / 399.3 MB, free: 12.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.03975, allocations: 37.7 kB / 399.4 MB, free: 12.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002741/0.04002, allocations: 0.5416 MB / 399.9 MB, free: 12.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/0.04017, allocations: 234.1 kB / 400.1 MB, free: 12.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.04033, allocations: 160.3 kB / 400.3 MB, free: 11.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.04049, allocations: 0.5664 MB / 400.9 MB, free: 11.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.04069, allocations: 143.6 kB / 401 MB, free: 11.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003658/0.04106, allocations: 0.5436 MB / 401.5 MB, free: 10.51 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006414/0.0417, allocations: 0.7449 MB / 402.3 MB, free: 9.582 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.0417, allocations: 8 kB / 402.3 MB, free: 9.574 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001134/0.04284, allocations: 0.8974 MB / 403.2 MB, free: 8.648 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.741e-05/0.04287, allocations: 41.69 kB / 403.2 MB, free: 8.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.04289, allocations: 8 kB / 403.2 MB, free: 8.594 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007698/0.04366, allocations: 287.3 kB / 403.5 MB, free: 8.305 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/0.04396, allocations: 143.7 kB / 403.7 MB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003499/0.04746, allocations: 4.789 MB / 408.5 MB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003737/0.04783, allocations: 35.98 kB / 408.5 MB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.26e-05/0.04788, allocations: 32 kB / 408.5 MB, free: 3.066 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.0002887/0.04817, allocations: 260.1 kB / 408.8 MB, free: 2.797 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.245e-05/0.04826, allocations: 99.48 kB / 408.9 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000983/0.04924, allocations: 0.7293 MB / 409.6 MB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.04925, allocations: 8 kB / 409.6 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.04926, allocations: 4 kB / 409.6 MB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.04926, allocations: 7.922 kB / 409.6 MB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002568/0.05183, allocations: 1.592 MB / 411.2 MB, free: 248 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.05184, allocations: 8 kB / 411.2 MB, free: 240 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.05206, allocations: 71.89 kB / 411.3 MB, free: 168 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008234/0.05288, allocations: 251.3 kB / 411.5 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.668e-05/0.05293, allocations: 16 kB / 411.6 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004419/0.05734, allocations: 4.753 MB / 416.3 MB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.05735, allocations: 4 kB / 416.3 MB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/0.05881, allocations: 0.9169 MB / 417.2 MB, free: 9.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.05895, allocations: 67.52 kB / 417.3 MB, free: 9.844 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.31e-05/0.05904, allocations: 16 kB / 417.3 MB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002837/0.05932, allocations: 27.92 kB / 417.3 MB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.05947, allocations: 60.33 kB / 417.4 MB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.09e-05/0.05951, allocations: 20 kB / 417.4 MB, free: 9.723 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004153/0.05992, allocations: 375 kB / 417.8 MB, free: 9.359 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05992, allocations: 0 / 417.8 MB, free: 9.359 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001112/0.06103, allocations: 272 kB / 418 MB, free: 9.094 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.0001653/0.0612, allocations: 118.2 kB / 418.2 MB, free: 8.977 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001551/0.06275, allocations: 1.055 MB / 419.2 MB, free: 7.867 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.06275, allocations: 4 kB / 419.2 MB, free: 7.863 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008402/0.06359, allocations: 0.7652 MB / 420 MB, free: 7.043 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008392/0.06443, allocations: 178.1 kB / 420.2 MB, free: 6.875 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003323/0.06776, allocations: 1.584 MB / 421.7 MB, free: 5.215 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003346/0.0711, allocations: 263.8 kB / 422 MB, free: 4.938 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004694/0.07157, allocations: 154.2 kB / 422.1 MB, free: 4.785 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.07171, allocations: 60.42 kB / 422.2 MB, free: 4.727 MB / 394.7 MB Notification: Performance of SimCode: time 1.523e-06/0.07171, allocations: 4 kB / 422.2 MB, free: 4.723 MB / 394.7 MB Notification: Performance of Templates: time 0.01503/0.08674, allocations: 11.35 MB / 433.6 MB, free: 9.535 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.5896295341663063]