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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002054/0.002054, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.6/1.6, allocations: 225.6 MB / 250.8 MB, free: 13.34 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.1847/0.1847, allocations: 38.52 MB / 344.5 MB, free: 2.523 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001984/0.001984, allocations: 64.12 kB / 482 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3601, allocations: 61.25 MB / 0.5306 GB, free: 5.496 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2): time 0.006245/0.3664, allocations: 5.735 MB / 0.5362 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003667/0.37, allocations: 2.635 MB / 0.5387 GB, free: 15.4 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003865/0.3704, allocations: 27.59 kB / 0.5388 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.3716, allocations: 378.9 kB / 0.5391 GB, free: 15.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009651/0.3726, allocations: 473.3 kB / 0.5396 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009809/0.3736, allocations: 459.2 kB / 0.54 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001203/0.3748, allocations: 1.068 MB / 0.5411 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007354/0.3755, allocations: 426.9 kB / 0.5415 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005882/0.3761, allocations: 428.6 kB / 0.5419 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005748/0.3767, allocations: 440 kB / 0.5423 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.838e-05/0.3768, allocations: 73.72 kB / 0.5424 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008378/0.3776, allocations: 0.5181 MB / 0.5429 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002626/0.3779, allocations: 235.4 kB / 0.5431 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003731/0.3782, allocations: 378.9 kB / 0.5435 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.3795, allocations: 1.079 MB / 0.5445 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3795, allocations: 1.188 kB / 0.5445 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3795, allocations: 4 kB / 0.5445 GB, free: 11.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.3795, allocations: 0 / 0.5445 GB, free: 11.39 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002246/0.3818, allocations: 1.129 MB / 0.5456 GB, free: 10.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.3818, allocations: 13.67 kB / 0.5456 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.3832, allocations: 183 kB / 0.5458 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.3844, allocations: 0.5637 MB / 0.5464 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.439e-05/0.3845, allocations: 44.61 kB / 0.5464 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.3846, allocations: 65.97 kB / 0.5465 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.3863, allocations: 0.7869 MB / 0.5472 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.237e-05/0.3863, allocations: 14.25 kB / 0.5472 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.351e-05/0.3864, allocations: 20.94 kB / 0.5473 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.856e-05/0.3864, allocations: 36.92 kB / 0.5473 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.388, allocations: 0.7285 MB / 0.548 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00441/0.3924, allocations: 2.891 MB / 0.5508 GB, free: 6.645 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.3937, allocations: 0.5534 MB / 0.5514 GB, free: 6.344 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006559/0.3944, allocations: 320.5 kB / 0.5517 GB, free: 6.176 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.342e-05/0.3944, allocations: 11.12 kB / 0.5517 GB, free: 6.172 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007929/0.3952, allocations: 419.8 kB / 0.5521 GB, free: 5.902 MB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 2.064e-06/0.3952, allocations: 0 / 0.5521 GB, free: 5.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=58): time 0.004385/0.3996, allocations: 2.143 MB / 0.5542 GB, free: 4.062 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.956e-05/0.3997, allocations: 111.4 kB / 0.5543 GB, free: 3.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006902/0.4004, allocations: 482.1 kB / 0.5547 GB, free: 3.449 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.117e-05/0.4004, allocations: 37.7 kB / 0.5548 GB, free: 3.406 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002652/0.4007, allocations: 332.9 kB / 0.5551 GB, free: 3.074 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.4009, allocations: 206.2 kB / 0.5553 GB, free: 2.871 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/0.4011, allocations: 106.3 kB / 0.5554 GB, free: 2.762 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.4013, allocations: 366.8 kB / 0.5557 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006106/0.4019, allocations: 295.2 kB / 0.556 GB, free: 2.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006782/0.4025, allocations: 402.9 kB / 0.5564 GB, free: 1.664 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.4038, allocations: 0.7301 MB / 0.5571 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.4038, allocations: 7.938 kB / 0.5571 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002182/0.406, allocations: 1.005 MB / 0.5581 GB, free: 15.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.863e-05/0.4061, allocations: 33.7 kB / 0.5581 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.4061, allocations: 4 kB / 0.5582 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006533/0.4067, allocations: 185.6 kB / 0.5583 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005613/0.4073, allocations: 119.8 kB / 0.5584 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006443/0.4137, allocations: 4.135 MB / 0.5625 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006914/0.4144, allocations: 55.98 kB / 0.5625 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-05/0.4145, allocations: 28 kB / 0.5626 GB, free: 11.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008671/0.4153, allocations: 445.2 kB / 0.563 GB, free: 10.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006261/0.416, allocations: 390.9 kB / 0.5634 GB, free: 10.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001186/0.4172, allocations: 0.699 MB / 0.564 GB, free: 9.402 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.106e-06/0.4172, allocations: 0 / 0.564 GB, free: 9.402 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.00186/0.419, allocations: 0.9272 MB / 0.5649 GB, free: 8.461 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/0.4191, allocations: 37.69 kB / 0.565 GB, free: 8.418 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.4191, allocations: 0 / 0.565 GB, free: 8.418 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005078/0.4196, allocations: 173.7 kB / 0.5651 GB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/0.42, allocations: 115.8 kB / 0.5653 GB, free: 8.129 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00405/0.4241, allocations: 3.94 MB / 0.5691 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005858/0.4247, allocations: 55.94 kB / 0.5692 GB, free: 3.852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.414e-05/0.4247, allocations: 20 kB / 0.5692 GB, free: 3.832 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,secondary.count,$PRE.secondary.count,secondary.T_start,$PRE.secondary.T_start,$whenCondition1,hydroPlant.reservoirLevel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 56 * 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.0002425/0.425, allocations: 220.1 kB / 0.5694 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.4251, allocations: 71.62 kB / 0.5695 GB, free: 3.539 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001783/0.4269, allocations: 0.8111 MB / 0.5702 GB, free: 2.719 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.4269, allocations: 4 kB / 0.5703 GB, free: 2.715 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4269, allocations: 8 kB / 0.5703 GB, free: 2.707 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.4269, allocations: 7.922 kB / 0.5703 GB, free: 2.699 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002826/0.4297, allocations: 1.664 MB / 0.5719 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.4297, allocations: 0 / 0.5719 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000608/0.4303, allocations: 131.8 kB / 0.572 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002301/0.4305, allocations: 65.86 kB / 0.5721 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.024e-05/0.4306, allocations: 19.98 kB / 0.5721 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002318/0.4329, allocations: 2.891 MB / 0.5749 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.4329, allocations: 7.969 kB / 0.5749 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002321/0.4352, allocations: 1.303 MB / 0.5762 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000292/0.4355, allocations: 200.7 kB / 0.5764 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.909e-05/0.4356, allocations: 15.98 kB / 0.5764 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004828/0.4361, allocations: 51.94 kB / 0.5765 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.4362, allocations: 60.42 kB / 0.5765 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.136e-05/0.4363, allocations: 16 kB / 0.5765 GB, free: 11.85 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005347/0.4368, allocations: 346.8 kB / 0.5769 GB, free: 11.51 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4368, allocations: 0 / 0.5769 GB, free: 11.51 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001021/0.4379, allocations: 267.9 kB / 0.5771 GB, free: 11.25 MB / 430.1 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.0001726/0.438, allocations: 122.9 kB / 0.5772 GB, free: 11.12 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003018/0.441, allocations: 1.684 MB / 0.5789 GB, free: 9.359 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.441, allocations: 0 / 0.5789 GB, free: 9.359 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009844/0.442, allocations: 0.579 MB / 0.5794 GB, free: 8.758 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007369/0.4428, allocations: 134.4 kB / 0.5796 GB, free: 8.637 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/0.4455, allocations: 1.545 MB / 0.5811 GB, free: 7.043 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006075/0.4461, allocations: 0.9469 MB / 0.582 GB, free: 6.066 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004542/0.4465, allocations: 152.5 kB / 0.5822 GB, free: 5.918 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.4467, allocations: 47.42 kB / 0.5822 GB, free: 5.871 MB / 430.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4467, allocations: 0 / 0.5822 GB, free: 5.871 MB / 430.1 MB Notification: Performance of Templates: time 0.02/0.4667, allocations: 10.6 MB / 0.5925 GB, free: 11.32 MB / 446.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.488692591898143]