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.002456/0.002456, allocations: 95.61 kB / 20.96 MB, free: 3.453 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.001916/0.001916, allocations: 161.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.591/1.591, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.2948/0.2948, allocations: 29.42 MB / 290.5 MB, free: 2.426 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 1.343e-06/1.343e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.861e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2): time 0.008632/0.008661, allocations: 5.562 MB / 374.4 MB, free: 5.727 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004904/0.01356, allocations: 2.594 MB / 377 MB, free: 3.125 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004896/0.01405, allocations: 35.69 kB / 377.1 MB, free: 3.09 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.01547, allocations: 374 kB / 377.4 MB, free: 2.723 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00129/0.01676, allocations: 485.2 kB / 377.9 MB, free: 2.246 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.01797, allocations: 482.8 kB / 378.4 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001375/0.01934, allocations: 1.045 MB / 379.4 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009567/0.0203, allocations: 0.4886 MB / 379.9 MB, free: 240 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.02136, allocations: 0.5649 MB / 380.5 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000654/0.02201, allocations: 370.9 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.02214, allocations: 76 kB / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009827/0.02312, allocations: 442.7 kB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003566/0.02348, allocations: 251.2 kB / 381.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003792/0.02386, allocations: 243.4 kB / 381.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001871/0.02573, allocations: 1.122 MB / 383 MB, free: 13.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.02573, allocations: 0 / 383 MB, free: 13.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.02574, allocations: 4 kB / 383 MB, free: 13.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.02575, allocations: 0 / 383 MB, free: 13.18 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.002358/0.02811, allocations: 1.18 MB / 384.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.02815, allocations: 19.92 kB / 384.2 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/0.02967, allocations: 264.2 kB / 384.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.03072, allocations: 0.5123 MB / 384.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.027e-05/0.03077, allocations: 41.69 kB / 385 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.03088, allocations: 56.38 kB / 385 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.03229, allocations: 0.7318 MB / 385.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.253e-05/0.03233, allocations: 8.141 kB / 385.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.021e-05/0.03241, allocations: 24.12 kB / 385.8 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.549e-05/0.03247, allocations: 37.3 kB / 385.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.03369, allocations: 480.8 kB / 386.3 MB, free: 9.715 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004923/0.03862, allocations: 2.951 MB / 389.2 MB, free: 6.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.03984, allocations: 452.4 kB / 389.7 MB, free: 6.215 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005742/0.04041, allocations: 232.3 kB / 389.9 MB, free: 5.984 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.888e-05/0.04047, allocations: 12.5 kB / 389.9 MB, free: 5.973 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007537/0.04123, allocations: 360.7 kB / 390.3 MB, free: 5.594 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 2.245e-06/0.04123, allocations: 0 / 390.3 MB, free: 5.594 MB / 362.7 MB Notification: Performance of matching and sorting (n=58): time 0.004044/0.04527, allocations: 1.517 MB / 391.8 MB, free: 4.031 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.0454, allocations: 137 kB / 391.9 MB, free: 3.867 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007776/0.04617, allocations: 0.5572 MB / 392.5 MB, free: 3.293 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.531e-05/0.04623, allocations: 33.7 kB / 392.5 MB, free: 3.254 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003835/0.04661, allocations: 403.6 kB / 392.9 MB, free: 2.852 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000227/0.04684, allocations: 214.2 kB / 393.1 MB, free: 2.641 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002527/0.04709, allocations: 135.9 kB / 393.3 MB, free: 2.496 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003722/0.04747, allocations: 0.5821 MB / 393.8 MB, free: 1.902 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005054/0.04797, allocations: 216 kB / 394 MB, free: 1.684 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007435/0.04871, allocations: 447.3 kB / 394.5 MB, free: 1.164 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.04986, allocations: 0.5619 MB / 395 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.04987, allocations: 8 kB / 395.1 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002041/0.05191, allocations: 0.8353 MB / 395.9 MB, free: 15.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.019e-05/0.05196, allocations: 37.69 kB / 395.9 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.05197, allocations: 4.312 kB / 395.9 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008679/0.05284, allocations: 199.2 kB / 396.1 MB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/0.05335, allocations: 111.8 kB / 396.2 MB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005776/0.05912, allocations: 4.842 MB / 401.1 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006176/0.05974, allocations: 35.97 kB / 401.1 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.473e-05/0.05982, allocations: 27.98 kB / 401.1 MB, free: 10.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008478/0.06066, allocations: 381.7 kB / 401.5 MB, free: 9.785 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007103/0.06137, allocations: 427.4 kB / 401.9 MB, free: 9.293 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001095/0.06247, allocations: 0.5541 MB / 402.5 MB, free: 8.676 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.575e-06/0.06247, allocations: 0 / 402.5 MB, free: 8.676 MB / 378.7 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001773/0.06424, allocations: 0.7806 MB / 403.3 MB, free: 7.867 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.175e-05/0.06429, allocations: 33.7 kB / 403.3 MB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.06429, allocations: 8.344 kB / 403.3 MB, free: 7.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006167/0.06491, allocations: 171.2 kB / 403.5 MB, free: 7.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004982/0.06541, allocations: 115.8 kB / 403.6 MB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005042/0.07045, allocations: 4.686 MB / 408.3 MB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005365/0.07099, allocations: 47.95 kB / 408.3 MB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-05/0.07104, allocations: 20 kB / 408.3 MB, free: 2.535 MB / 378.7 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.000307/0.07135, allocations: 315.9 kB / 408.6 MB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.07149, allocations: 67.67 kB / 408.7 MB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001628/0.07312, allocations: 0.6312 MB / 409.3 MB, free: 1.504 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.07313, allocations: 4 kB / 409.3 MB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.07313, allocations: 4 kB / 409.4 MB, free: 1.496 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.07314, allocations: 7.984 kB / 409.4 MB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002825/0.07596, allocations: 1.41 MB / 410.8 MB, free: 4 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.07597, allocations: 4 kB / 410.8 MB, free: 0 / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006259/0.07659, allocations: 120 kB / 410.9 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002714/0.07686, allocations: 75.27 kB / 411 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.847e-05/0.07692, allocations: 16 kB / 411 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003106/0.08003, allocations: 3.62 MB / 414.6 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.697e-06/0.08004, allocations: 11.92 kB / 414.6 MB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/0.08218, allocations: 1.05 MB / 415.7 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003089/0.08249, allocations: 111.5 kB / 415.8 MB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.034e-05/0.08257, allocations: 12 kB / 415.8 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004247/0.08299, allocations: 43.95 kB / 415.8 MB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.08315, allocations: 56.34 kB / 415.9 MB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-05/0.0832, allocations: 19.94 kB / 415.9 MB, free: 10.56 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005136/0.08371, allocations: 359 kB / 416.3 MB, free: 10.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08371, allocations: 0 / 416.3 MB, free: 10.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001078/0.08479, allocations: 255.9 kB / 416.5 MB, free: 9.957 MB / 394.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.0002143/0.085, allocations: 127.3 kB / 416.6 MB, free: 9.824 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003215/0.08822, allocations: 1.771 MB / 418.4 MB, free: 7.938 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.08822, allocations: 0 / 418.4 MB, free: 7.938 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009937/0.08921, allocations: 0.6334 MB / 419 MB, free: 7.266 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008212/0.09004, allocations: 134.4 kB / 419.2 MB, free: 7.145 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002852/0.09289, allocations: 1.342 MB / 420.5 MB, free: 5.738 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.09332, allocations: 350.8 kB / 420.8 MB, free: 5.371 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004682/0.09379, allocations: 124.4 kB / 421 MB, free: 5.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.09397, allocations: 52.48 kB / 421 MB, free: 5.195 MB / 394.7 MB Notification: Performance of SimCode: time 1.223e-06/0.09397, allocations: 0 / 421 MB, free: 5.195 MB / 394.7 MB Notification: Performance of Templates: time 0.02062/0.1146, allocations: 9.933 MB / 431 MB, free: 11.36 MB / 410.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: 5.329354648012668]