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.0009541/0.0009541, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001258/0.001258, allocations: 165.8 kB / 24.82 MB, free: 9.266 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.022/1.022, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2322/0.2322, allocations: 29.42 MB / 291.2 MB, free: 2.387 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 2.023e-06/2.023e-06, allocations: 3.938 kB / 370.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.183e-05/3.385e-05, allocations: 9.266 kB / 370.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2): time 0.007004/0.007038, allocations: 5.346 MB / 375.5 MB, free: 5.305 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003124/0.01016, allocations: 2.095 MB / 377.6 MB, free: 3.203 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004666/0.01063, allocations: 31.75 kB / 377.6 MB, free: 3.172 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007382/0.01137, allocations: 274.2 kB / 377.8 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008013/0.01217, allocations: 429.5 kB / 378.3 MB, free: 2.48 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008803/0.01305, allocations: 478.7 kB / 378.7 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00142/0.01447, allocations: 1.037 MB / 379.8 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006964/0.01516, allocations: 0.4926 MB / 380.3 MB, free: 488 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007664/0.01593, allocations: 0.5533 MB / 380.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005045/0.01643, allocations: 370.9 kB / 381.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.663e-05/0.01653, allocations: 76 kB / 381.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005862/0.01712, allocations: 391 kB / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002045/0.01732, allocations: 243.3 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.01751, allocations: 255.3 kB / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008952/0.01841, allocations: 0.7435 MB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.01841, allocations: 0 / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.01841, allocations: 0 / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.01842, allocations: 0 / 382.9 MB, free: 13.87 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001261/0.01968, allocations: 1.11 MB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.01972, allocations: 15.98 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007449/0.02047, allocations: 256.2 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008716/0.02134, allocations: 0.4935 MB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.02137, allocations: 41.69 kB / 384.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.97e-05/0.02144, allocations: 64.33 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000582/0.02202, allocations: 0.5638 MB / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.02204, allocations: 4.172 kB / 385.4 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.954e-05/0.02208, allocations: 36.05 kB / 385.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.05e-05/0.02212, allocations: 37.3 kB / 385.5 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003332/0.02245, allocations: 242.1 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002196/0.02465, allocations: 2.485 MB / 388.2 MB, free: 8.316 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004281/0.02508, allocations: 292.6 kB / 388.5 MB, free: 8.008 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/0.02524, allocations: 132.8 kB / 388.6 MB, free: 7.871 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.02528, allocations: 8.5 kB / 388.6 MB, free: 7.859 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002772/0.02555, allocations: 256.7 kB / 388.9 MB, free: 7.586 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 1.973e-06/0.02556, allocations: 0 / 388.9 MB, free: 7.586 MB / 362.7 MB Notification: Performance of matching and sorting (n=58): time 0.001384/0.02694, allocations: 0.9251 MB / 389.8 MB, free: 6.617 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.99e-05/0.02701, allocations: 137 kB / 389.9 MB, free: 6.453 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.02728, allocations: 430.4 kB / 390.4 MB, free: 6.016 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/0.02731, allocations: 37.7 kB / 390.4 MB, free: 5.973 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.0275, allocations: 363.6 kB / 390.7 MB, free: 5.613 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.02762, allocations: 206.2 kB / 390.9 MB, free: 5.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.02775, allocations: 115.9 kB / 391.1 MB, free: 5.289 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000464/0.02821, allocations: 0.5545 MB / 391.6 MB, free: 4.723 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.02836, allocations: 116.1 kB / 391.7 MB, free: 4.598 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.02857, allocations: 315.6 kB / 392 MB, free: 4.211 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/0.0289, allocations: 359.7 kB / 392.4 MB, free: 3.801 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.0289, allocations: 7.984 kB / 392.4 MB, free: 3.793 MB / 362.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007965/0.0297, allocations: 0.5894 MB / 393 MB, free: 3.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.747e-05/0.02974, allocations: 37.77 kB / 393 MB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.02975, allocations: 4 kB / 393 MB, free: 3.133 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004161/0.03016, allocations: 147.2 kB / 393.2 MB, free: 2.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.03039, allocations: 99.88 kB / 393.3 MB, free: 2.883 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002548/0.03294, allocations: 4.225 MB / 397.5 MB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002965/0.03324, allocations: 35.92 kB / 397.5 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.925e-05/0.03328, allocations: 19.98 kB / 397.5 MB, free: 14.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000279/0.03356, allocations: 241.8 kB / 397.8 MB, free: 14.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002612/0.03382, allocations: 311.7 kB / 398.1 MB, free: 13.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005093/0.03433, allocations: 363.7 kB / 398.4 MB, free: 13.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.337e-06/0.03433, allocations: 0 / 398.4 MB, free: 13.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.0008101/0.03514, allocations: 0.5622 MB / 399 MB, free: 12.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.03517, allocations: 33.7 kB / 399 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.03517, allocations: 4 kB / 399 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003376/0.03551, allocations: 135.2 kB / 399.2 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/0.03579, allocations: 99.83 kB / 399.3 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002626/0.03842, allocations: 4.179 MB / 403.4 MB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002725/0.03869, allocations: 31.98 kB / 403.5 MB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.682e-05/0.03873, allocations: 19.98 kB / 403.5 MB, free: 8.02 MB / 378.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.0001807/0.03891, allocations: 303.9 kB / 403.8 MB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.03901, allocations: 79.62 kB / 403.9 MB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006721/0.03969, allocations: 462.5 kB / 404.3 MB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.03969, allocations: 8 kB / 404.3 MB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.03969, allocations: 0 / 404.3 MB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.0397, allocations: 3.984 kB / 404.3 MB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/0.04112, allocations: 1.02 MB / 405.4 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.04112, allocations: 0 / 405.4 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003603/0.04149, allocations: 112.1 kB / 405.5 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001528/0.04164, allocations: 55.33 kB / 405.5 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.78e-05/0.04168, allocations: 16 kB / 405.5 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/0.0435, allocations: 3.469 MB / 409 MB, free: 2.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.0435, allocations: 7.938 kB / 409 MB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009125/0.04441, allocations: 0.7373 MB / 409.8 MB, free: 1.379 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.04458, allocations: 103.5 kB / 409.9 MB, free: 1.277 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.095e-05/0.04463, allocations: 16.09 kB / 409.9 MB, free: 1.262 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.04487, allocations: 31.97 kB / 409.9 MB, free: 1.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.04498, allocations: 60.28 kB / 410 MB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.04501, allocations: 12 kB / 410 MB, free: 1.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002032/0.04521, allocations: 271 kB / 410.2 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04521, allocations: 4 kB / 410.2 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009096/0.04612, allocations: 256 kB / 410.5 MB, free: 0.6406 MB / 378.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.0001649/0.04629, allocations: 127.2 kB / 410.6 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001702/0.04799, allocations: 1.451 MB / 412.1 MB, free: 14.94 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.04799, allocations: 0 / 412.1 MB, free: 14.94 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004984/0.04849, allocations: 0.5188 MB / 412.6 MB, free: 14.38 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009226/0.04941, allocations: 140.9 kB / 412.7 MB, free: 14.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.05172, allocations: 1.291 MB / 414 MB, free: 12.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.05191, allocations: 172 kB / 414.2 MB, free: 12.72 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002908/0.0522, allocations: 76.52 kB / 414.3 MB, free: 12.64 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/0.05252, allocations: 190.1 kB / 414.4 MB, free: 12.45 MB / 394.7 MB Notification: Performance of SimCode: time 1.353e-06/0.05252, allocations: 0 / 414.4 MB, free: 12.45 MB / 394.7 MB Notification: Performance of Templates: time 0.01626/0.06878, allocations: 10.58 MB / 425 MB, free: 1.977 MB / 394.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 sys.exit(0), Time elapsed: 3.2959789908491075]