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.001877/0.001877, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002058/0.002058, allocations: 165.3 kB / 24.27 MB, free: 148 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 1.567/1.567, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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.3319/0.3319, allocations: 29.41 MB / 290.5 MB, free: 2.418 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.483e-06/1.483e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.014e-05/3.162e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.01098/0.01102, allocations: 7.542 MB / 376.4 MB, free: 3.742 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005106/0.01612, allocations: 2.313 MB / 378.7 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005377/0.01666, allocations: 35.69 kB / 378.8 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00251/0.01917, allocations: 0.8516 MB / 379.6 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001509/0.02068, allocations: 0.5242 MB / 380.1 MB, free: 4 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.02213, allocations: 478.6 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001749/0.02388, allocations: 1.301 MB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008644/0.02474, allocations: 0.5174 MB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001329/0.02607, allocations: 0.7516 MB / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.02717, allocations: 0.6233 MB / 383.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.02732, allocations: 76 kB / 383.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005694/0.02789, allocations: 235.5 kB / 384.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006053/0.02849, allocations: 0.5143 MB / 384.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005269/0.02902, allocations: 383.1 kB / 385 MB, free: 11.13 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.03077, allocations: 1.262 MB / 386.3 MB, free: 9.863 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.03077, allocations: 0 / 386.3 MB, free: 9.863 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.03077, allocations: 0 / 386.3 MB, free: 9.863 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.75e-05/0.03079, allocations: 4 kB / 386.3 MB, free: 9.859 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.002741/0.03353, allocations: 1.427 MB / 387.7 MB, free: 8.387 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.03357, allocations: 11.98 kB / 387.7 MB, free: 8.375 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/0.03482, allocations: 296 kB / 388 MB, free: 8.086 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.03631, allocations: 0.6693 MB / 388.7 MB, free: 7.391 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-05/0.03638, allocations: 62.38 kB / 388.7 MB, free: 7.332 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.03652, allocations: 76.38 kB / 388.8 MB, free: 7.258 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.03818, allocations: 0.9626 MB / 389.8 MB, free: 6.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.353e-05/0.03821, allocations: 7.938 kB / 389.8 MB, free: 6.172 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.605e-05/0.0383, allocations: 39.98 kB / 389.8 MB, free: 6.133 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.623e-05/0.03838, allocations: 57.98 kB / 389.9 MB, free: 6.078 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.03967, allocations: 0.5089 MB / 390.4 MB, free: 5.559 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007101/0.04677, allocations: 5.289 MB / 395.7 MB, free: 60 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.04786, allocations: 486.7 kB / 396.1 MB, free: 15.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004628/0.04833, allocations: 255.2 kB / 396.4 MB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.657e-05/0.04838, allocations: 8.5 kB / 396.4 MB, free: 15.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006539/0.04904, allocations: 392.8 kB / 396.8 MB, free: 14.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 2.254e-06/0.04904, allocations: 0 / 396.8 MB, free: 14.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.005327/0.05437, allocations: 1.91 MB / 398.7 MB, free: 12.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.0545, allocations: 170.8 kB / 398.8 MB, free: 12.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008928/0.0554, allocations: 0.7063 MB / 399.6 MB, free: 11.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.509e-05/0.05545, allocations: 37.7 kB / 399.6 MB, free: 11.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005418/0.05599, allocations: 0.565 MB / 400.2 MB, free: 11.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/0.05625, allocations: 238.1 kB / 400.4 MB, free: 11.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002825/0.05653, allocations: 180.2 kB / 400.6 MB, free: 10.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004101/0.05694, allocations: 0.6016 MB / 401.2 MB, free: 10.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003591/0.0573, allocations: 175.6 kB / 401.3 MB, free: 10.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007881/0.05809, allocations: 0.5827 MB / 401.9 MB, free: 9.398 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.05928, allocations: 0.8035 MB / 402.7 MB, free: 8.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.05929, allocations: 4 kB / 402.7 MB, free: 8.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002028/0.06131, allocations: 0.9555 MB / 403.7 MB, free: 7.422 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.911e-05/0.06136, allocations: 33.7 kB / 403.7 MB, free: 7.383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.06138, allocations: 8 kB / 403.7 MB, free: 7.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001355/0.06274, allocations: 314.5 kB / 404 MB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005424/0.06328, allocations: 143.7 kB / 404.2 MB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006733/0.07001, allocations: 4.964 MB / 409.1 MB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005886/0.0706, allocations: 31.98 kB / 409.2 MB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.502e-05/0.07067, allocations: 40 kB / 409.2 MB, free: 1.645 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.0004794/0.07115, allocations: 276.1 kB / 409.5 MB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.07131, allocations: 99.53 kB / 409.6 MB, free: 1.262 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001803/0.07312, allocations: 0.784 MB / 410.4 MB, free: 452 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.07313, allocations: 4 kB / 410.4 MB, free: 448 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.07313, allocations: 8 kB / 410.4 MB, free: 440 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.07315, allocations: 7.922 kB / 410.4 MB, free: 432 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003576/0.07672, allocations: 1.752 MB / 412.1 MB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.07673, allocations: 4.156 kB / 412.1 MB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003182/0.07705, allocations: 71.91 kB / 412.2 MB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001067/0.07811, allocations: 271 kB / 412.5 MB, free: 14.24 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.074e-05/0.07816, allocations: 16 kB / 412.5 MB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006116/0.08428, allocations: 4.913 MB / 417.4 MB, free: 9.074 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.08429, allocations: 4 kB / 417.4 MB, free: 9.07 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.08616, allocations: 0.9676 MB / 418.4 MB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/0.08635, allocations: 71.47 kB / 418.4 MB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.052e-05/0.08644, allocations: 12 kB / 418.4 MB, free: 7.949 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003314/0.08677, allocations: 27.92 kB / 418.5 MB, free: 7.922 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.08692, allocations: 48.41 kB / 418.5 MB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.436e-05/0.08698, allocations: 24 kB / 418.5 MB, free: 7.852 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006715/0.08765, allocations: 427 kB / 419 MB, free: 7.438 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.08765, allocations: 3.938 kB / 419 MB, free: 7.434 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001025/0.08867, allocations: 268 kB / 419.2 MB, free: 7.172 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.0001964/0.08887, allocations: 123.1 kB / 419.3 MB, free: 7.043 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002015/0.09088, allocations: 1.106 MB / 420.5 MB, free: 5.883 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.09089, allocations: 4 kB / 420.5 MB, free: 5.879 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.09208, allocations: 0.8082 MB / 421.3 MB, free: 5.016 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009207/0.093, allocations: 180.1 kB / 421.4 MB, free: 4.852 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002971/0.09597, allocations: 1.595 MB / 423 MB, free: 3.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006225/0.09659, allocations: 488.2 kB / 423.5 MB, free: 2.672 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004253/0.09702, allocations: 158.1 kB / 423.7 MB, free: 2.516 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.09714, allocations: 52.5 kB / 423.7 MB, free: 2.465 MB / 394.7 MB Notification: Performance of SimCode: time 1.162e-06/0.09715, allocations: 0 / 423.7 MB, free: 2.465 MB / 394.7 MB Notification: Performance of Templates: time 0.02293/0.1201, allocations: 11.33 MB / 435.1 MB, free: 7.289 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: 5.366102169035003]