Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.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.001341/0.001341, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001292/0.001292, allocations: 165 kB / 24.56 MB, free: 16 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 0.9826/0.9826, allocations: 177.1 MB / 205 MB, free: 5.297 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.2124/0.2124, allocations: 29.42 MB / 290.9 MB, free: 2.414 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.HydroPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1") translateModel(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.406e-06/3.406e-06, allocations: 3.984 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.178e-05/3.519e-05, allocations: 5.406 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1): time 0.01305/0.01309, allocations: 5.057 MB / 374.7 MB, free: 5.906 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00364/0.01673, allocations: 1.737 MB / 376.4 MB, free: 4.164 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006233/0.01735, allocations: 27.81 kB / 376.5 MB, free: 4.137 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009331/0.01828, allocations: 222.5 kB / 376.7 MB, free: 3.918 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008398/0.01912, allocations: 306 kB / 377 MB, free: 3.617 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.02017, allocations: 426.9 kB / 377.4 MB, free: 3.199 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001202/0.02137, allocations: 0.8851 MB / 378.3 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009025/0.02227, allocations: 468.5 kB / 378.7 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.02331, allocations: 494.8 kB / 379.2 MB, free: 1.367 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007067/0.02401, allocations: 291.1 kB / 379.5 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.02415, allocations: 68 kB / 379.6 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005416/0.0247, allocations: 243.4 kB / 379.8 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002343/0.02493, allocations: 195.4 kB / 380 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002873/0.02522, allocations: 215.4 kB / 380.2 MB, free: 384 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.02645, allocations: 0.6033 MB / 380.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.02646, allocations: 4 kB / 380.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.02646, allocations: 0 / 380.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.314e-05/0.02648, allocations: 0 / 380.8 MB, free: 15.77 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001952/0.02843, allocations: 1.027 MB / 381.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.02849, allocations: 15.98 kB / 381.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009708/0.02946, allocations: 216.2 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008813/0.03034, allocations: 497.5 kB / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.244e-05/0.03038, allocations: 37.38 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.734e-05/0.03048, allocations: 48.38 kB / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009845/0.03146, allocations: 0.5498 MB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/0.03149, allocations: 8.141 kB / 383.2 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.458e-05/0.03154, allocations: 24.12 kB / 383.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-05/0.03159, allocations: 28.98 kB / 383.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00065/0.03224, allocations: 249.7 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003272/0.03552, allocations: 2.489 MB / 386 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006994/0.03622, allocations: 264.2 kB / 386.2 MB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/0.03642, allocations: 99.95 kB / 386.3 MB, free: 9.977 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.576e-05/0.03645, allocations: 4.328 kB / 386.3 MB, free: 9.973 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003823/0.03683, allocations: 212 kB / 386.5 MB, free: 9.738 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 3.277e-06/0.03684, allocations: 0 / 386.5 MB, free: 9.738 MB / 362.7 MB Notification: Performance of matching and sorting (n=41): time 0.0009968/0.03783, allocations: 368.6 kB / 386.9 MB, free: 9.367 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.071e-05/0.03793, allocations: 166.2 kB / 387.1 MB, free: 9.168 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004652/0.03839, allocations: 426.8 kB / 387.5 MB, free: 8.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/0.03843, allocations: 33.7 kB / 387.5 MB, free: 8.691 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002927/0.03873, allocations: 359.9 kB / 387.9 MB, free: 8.336 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.03885, allocations: 146.8 kB / 388 MB, free: 8.191 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.03901, allocations: 99.78 kB / 388.1 MB, free: 8.086 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.03921, allocations: 0.5352 MB / 388.6 MB, free: 7.539 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.03945, allocations: 103.3 kB / 388.7 MB, free: 7.426 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00033/0.03978, allocations: 309 kB / 389 MB, free: 7.039 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004988/0.04028, allocations: 325.1 kB / 389.4 MB, free: 6.656 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.04028, allocations: 0 / 389.4 MB, free: 6.656 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001115/0.0414, allocations: 0.5037 MB / 389.9 MB, free: 6.129 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.296e-05/0.04146, allocations: 41.69 kB / 389.9 MB, free: 6.082 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.04147, allocations: 11.94 kB / 389.9 MB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000599/0.04207, allocations: 124.1 kB / 390 MB, free: 5.945 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003238/0.0424, allocations: 79.91 kB / 390.1 MB, free: 5.867 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002775/0.04517, allocations: 2.567 MB / 392.7 MB, free: 3.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003861/0.04556, allocations: 59.59 kB / 392.7 MB, free: 3.121 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.671e-05/0.04559, allocations: 28.02 kB / 392.8 MB, free: 3.094 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002902/0.04588, allocations: 225.5 kB / 393 MB, free: 2.859 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002254/0.04611, allocations: 305 kB / 393.3 MB, free: 2.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003223/0.04643, allocations: 325.4 kB / 393.6 MB, free: 2.098 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.396e-06/0.04643, allocations: 4 kB / 393.6 MB, free: 2.094 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.00062/0.04705, allocations: 500 kB / 394.1 MB, free: 1.582 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/0.04709, allocations: 37.64 kB / 394.1 MB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.04709, allocations: 4 kB / 394.1 MB, free: 1.535 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002446/0.04734, allocations: 95.77 kB / 394.2 MB, free: 1.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.04754, allocations: 83.89 kB / 394.3 MB, free: 1.355 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/0.04909, allocations: 2.524 MB / 396.8 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.04929, allocations: 51.69 kB / 396.9 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.04931, allocations: 20 kB / 396.9 MB, free: 14.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0001613/0.04948, allocations: 292 kB / 397.2 MB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.745e-05/0.04954, allocations: 67.66 kB / 397.3 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004425/0.04999, allocations: 306.9 kB / 397.6 MB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.04999, allocations: 7.938 kB / 397.6 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.04999, allocations: 4.031 kB / 397.6 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.05, allocations: 7.984 kB / 397.6 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008829/0.05088, allocations: 0.8137 MB / 398.4 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.05089, allocations: 4 kB / 398.4 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/0.05112, allocations: 79.89 kB / 398.5 MB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-05/0.0512, allocations: 27.61 kB / 398.5 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/0.05123, allocations: 11.98 kB / 398.5 MB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000784/0.05201, allocations: 1.775 MB / 400.3 MB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.05201, allocations: 0 / 400.3 MB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006255/0.05264, allocations: 0.535 MB / 400.8 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.05275, allocations: 95.5 kB / 400.9 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.918e-05/0.05279, allocations: 12 kB / 400.9 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.05296, allocations: 23.97 kB / 401 MB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/0.05304, allocations: 31.94 kB / 401 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.05306, allocations: 12 kB / 401 MB, free: 10.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002043/0.05326, allocations: 287.1 kB / 401.3 MB, free: 10.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.05326, allocations: 0 / 401.3 MB, free: 10.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000564/0.05383, allocations: 267.4 kB / 401.5 MB, free: 9.789 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001169/0.05395, allocations: 111.2 kB / 401.6 MB, free: 9.668 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009258/0.05487, allocations: 0.9711 MB / 402.6 MB, free: 8.617 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.05487, allocations: 0 / 402.6 MB, free: 8.617 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002343/0.05511, allocations: 297.3 kB / 402.9 MB, free: 8.305 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.05556, allocations: 138.3 kB / 403 MB, free: 8.184 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.05714, allocations: 1.073 MB / 404.1 MB, free: 7.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.05725, allocations: 153.6 kB / 404.3 MB, free: 6.898 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002155/0.05746, allocations: 83.31 kB / 404.4 MB, free: 6.816 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.587e-05/0.05755, allocations: 40.5 kB / 404.4 MB, free: 6.777 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.05755, allocations: 0 / 404.4 MB, free: 6.777 MB / 378.7 MB Notification: Performance of Templates: time 0.009941/0.06749, allocations: 8.223 MB / 412.6 MB, free: 14.64 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0026811356656253]