Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.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.001106/0.001106, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001357/0.001357, allocations: 170.9 kB / 24.91 MB, free: 8.781 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.037/1.037, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2548/0.2548, allocations: 29.42 MB / 291.2 MB, free: 2.469 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.PowerWorld.Test.HydroPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2") translateModel(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.276e-06/3.276e-06, allocations: 4 kB / 316.8 MB, free: 12 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.786e-05/3.114e-05, allocations: 3.516 kB / 316.8 MB, free: 8 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2): time 0.005792/0.005824, allocations: 5.377 MB / 322.2 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003489/0.009313, allocations: 2.15 MB / 324.4 MB, free: 8.441 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006019/0.009914, allocations: 27.81 kB / 324.4 MB, free: 8.414 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008125/0.01073, allocations: 266.3 kB / 324.6 MB, free: 8.152 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008434/0.01157, allocations: 445.4 kB / 325.1 MB, free: 7.715 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009564/0.01253, allocations: 486.7 kB / 325.6 MB, free: 7.238 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001036/0.01356, allocations: 1.03 MB / 326.6 MB, free: 6.207 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007592/0.01432, allocations: 0.5023 MB / 327.1 MB, free: 5.699 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007615/0.01508, allocations: 0.5766 MB / 327.7 MB, free: 5.121 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004707/0.01555, allocations: 350.9 kB / 328 MB, free: 4.777 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.113e-05/0.01565, allocations: 76 kB / 328.1 MB, free: 4.703 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005727/0.01622, allocations: 371 kB / 328.4 MB, free: 4.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000184/0.0164, allocations: 251.2 kB / 328.7 MB, free: 4.094 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.0166, allocations: 243.4 kB / 328.9 MB, free: 3.855 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008852/0.01749, allocations: 0.7435 MB / 329.7 MB, free: 3.109 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.01749, allocations: 3.984 kB / 329.7 MB, free: 3.105 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.0175, allocations: 0 / 329.7 MB, free: 3.105 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.0175, allocations: 4 kB / 329.7 MB, free: 3.102 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001148/0.01865, allocations: 0.9808 MB / 330.7 MB, free: 2.086 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.01869, allocations: 11.98 kB / 330.7 MB, free: 2.074 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000714/0.0194, allocations: 244.5 kB / 330.9 MB, free: 1.836 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000509/0.01991, allocations: 428 kB / 331.3 MB, free: 1.391 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.01994, allocations: 45.67 kB / 331.4 MB, free: 1.348 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.904e-05/0.02001, allocations: 64.3 kB / 331.4 MB, free: 1.285 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000529/0.02054, allocations: 0.5478 MB / 332 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.02056, allocations: 8.125 kB / 332 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.685e-05/0.0206, allocations: 32.12 kB / 332 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.77e-05/0.02063, allocations: 33.3 kB / 332.1 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002937/0.02093, allocations: 217 kB / 332.3 MB, free: 404 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/0.02277, allocations: 1.843 MB / 334.1 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004034/0.02317, allocations: 301.1 kB / 334.4 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.02332, allocations: 123.1 kB / 334.5 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.5e-05/0.02336, allocations: 12.5 kB / 334.5 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002679/0.02362, allocations: 236.1 kB / 334.8 MB, free: 13.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=56): time 2.475e-06/0.02363, allocations: 0 / 334.8 MB, free: 13.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=58): time 0.001292/0.02492, allocations: 0.8282 MB / 335.6 MB, free: 12.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.02498, allocations: 145 kB / 335.7 MB, free: 12.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003381/0.02531, allocations: 363.2 kB / 336.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.02535, allocations: 37.7 kB / 336.1 MB, free: 12.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.02547, allocations: 257.9 kB / 336.4 MB, free: 12.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.02558, allocations: 210.2 kB / 336.6 MB, free: 11.88 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.0257, allocations: 102.3 kB / 336.7 MB, free: 11.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.0258, allocations: 370.7 kB / 337 MB, free: 11.4 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.02592, allocations: 107.9 kB / 337.2 MB, free: 11.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000176/0.02609, allocations: 264.1 kB / 337.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.02639, allocations: 331.4 kB / 337.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.02639, allocations: 4 kB / 337.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000609/0.027, allocations: 0.4917 MB / 338.2 MB, free: 10.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.775e-05/0.02704, allocations: 33.7 kB / 338.3 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.02704, allocations: 320 / 338.3 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003833/0.02743, allocations: 143.2 kB / 338.4 MB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.02767, allocations: 99.81 kB / 338.5 MB, free: 9.785 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/0.02975, allocations: 2.985 MB / 341.5 MB, free: 6.621 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.03002, allocations: 35.97 kB / 341.5 MB, free: 6.586 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.03005, allocations: 19.98 kB / 341.5 MB, free: 6.566 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002508/0.0303, allocations: 196.8 kB / 341.7 MB, free: 6.359 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001893/0.03049, allocations: 264 kB / 342 MB, free: 6.043 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002977/0.03078, allocations: 316.5 kB / 342.3 MB, free: 5.688 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.054e-06/0.03079, allocations: 0 / 342.3 MB, free: 5.688 MB / 314.7 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.0005779/0.03136, allocations: 479.7 kB / 342.8 MB, free: 5.191 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.085e-05/0.03141, allocations: 36.05 kB / 342.8 MB, free: 5.152 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.03141, allocations: 4 kB / 342.8 MB, free: 5.148 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004452/0.03186, allocations: 125.4 kB / 342.9 MB, free: 5.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.03209, allocations: 99.88 kB / 343 MB, free: 4.922 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.0338, allocations: 2.938 MB / 346 MB, free: 1.793 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.03401, allocations: 40 kB / 346 MB, free: 1.754 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.03404, allocations: 16.05 kB / 346 MB, free: 1.738 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,hydroPlant.reservoirLevel.local_reset,secondary.count,$PRE.secondary.count,secondary.T_start,$PRE.secondary.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 55 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0002037/0.03425, allocations: 220.1 kB / 346.2 MB, free: 1.516 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-05/0.03432, allocations: 51.94 kB / 346.3 MB, free: 1.465 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005005/0.03482, allocations: 383.7 kB / 346.7 MB, free: 1.074 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.03483, allocations: 8 kB / 346.7 MB, free: 1.066 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.03483, allocations: 4 kB / 346.7 MB, free: 1.062 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.03484, allocations: 3.984 kB / 346.7 MB, free: 1.059 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.03586, allocations: 0.8736 MB / 347.6 MB, free: 136 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.03586, allocations: 0 / 347.6 MB, free: 136 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/0.03614, allocations: 115.8 kB / 347.7 MB, free: 20 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000149/0.03628, allocations: 60.67 kB / 347.7 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/0.03631, allocations: 12 kB / 347.7 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001271/0.03758, allocations: 2.391 MB / 350.1 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.03759, allocations: 4 kB / 350.1 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005934/0.03818, allocations: 0.6113 MB / 350.7 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.0383, allocations: 79.53 kB / 350.8 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.362e-05/0.03834, allocations: 16 kB / 350.8 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.03851, allocations: 36.03 kB / 350.9 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.113e-05/0.03859, allocations: 52.34 kB / 350.9 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.03861, allocations: 12 kB / 350.9 MB, free: 12.51 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001165/0.03873, allocations: 156.7 kB / 351.1 MB, free: 12.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03873, allocations: 0 / 351.1 MB, free: 12.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005982/0.03932, allocations: 264 kB / 351.3 MB, free: 12.1 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (hydroPlant.reservoirLevel.y,hydroPlant.rotor.phi,hydroPlant.rotor.w,hydroPlant.controlDynamics.x_scaled[1]) * Number of discrete variables: 4 (system.initime,$whenCondition1,secondary.T_start,secondary.count) * Number of discrete states: 1 (secondary.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001387/0.03946, allocations: 92.3 kB / 351.4 MB, free: 12 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.04048, allocations: 1.175 MB / 352.6 MB, free: 10.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/0.04049, allocations: 12.12 kB / 352.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003154/0.0408, allocations: 406 kB / 353 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/0.04124, allocations: 145.9 kB / 353.2 MB, free: 10.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.04295, allocations: 1.24 MB / 354.4 MB, free: 8.867 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.04308, allocations: 184 kB / 354.6 MB, free: 8.664 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000203/0.04329, allocations: 68.53 kB / 354.6 MB, free: 8.598 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/0.04353, allocations: 155.2 kB / 354.8 MB, free: 8.445 MB / 330.7 MB Notification: Performance of SimCode: time 1.002e-06/0.04353, allocations: 0 / 354.8 MB, free: 8.445 MB / 330.7 MB Notification: Performance of Templates: time 0.01321/0.05674, allocations: 10.44 MB / 365.2 MB, free: 14.12 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.224557314068079]