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.001469/0.001469, allocations: 85.36 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001682/0.001682, allocations: 164.8 kB / 23.95 MB, free: 4.168 MB / 14.72 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.485/1.485, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.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.1785/0.1785, allocations: 29.44 MB / 290.1 MB, free: 3.293 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.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 1.983e-06/1.983e-06, allocations: 0 / 430.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.007e-05/3.205e-05, allocations: 6.219 kB / 430.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1): time 0.007142/0.007174, allocations: 4.89 MB / 435.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003772/0.01095, allocations: 2.05 MB / 437.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003991/0.01135, allocations: 31.75 kB / 437.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.01239, allocations: 258.4 kB / 437.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008313/0.01322, allocations: 349.8 kB / 438.3 MB, free: 10.35 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.01426, allocations: 446 kB / 438.7 MB, free: 9.914 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001048/0.01531, allocations: 0.8851 MB / 439.6 MB, free: 9.027 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000698/0.01601, allocations: 456.6 kB / 440 MB, free: 8.574 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007265/0.01673, allocations: 494.8 kB / 440.5 MB, free: 8.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004605/0.01719, allocations: 287.1 kB / 440.8 MB, free: 7.809 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.01732, allocations: 68 kB / 440.9 MB, free: 7.742 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006051/0.01792, allocations: 307.1 kB / 441.2 MB, free: 7.441 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.01814, allocations: 199.3 kB / 441.4 MB, free: 7.246 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002632/0.01841, allocations: 215.4 kB / 441.6 MB, free: 7.035 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.01961, allocations: 0.958 MB / 442.5 MB, free: 6.074 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.01962, allocations: 0 / 442.5 MB, free: 6.074 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.01962, allocations: 0 / 442.5 MB, free: 6.074 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.01963, allocations: 4 kB / 442.5 MB, free: 6.07 MB / 366.1 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.002101/0.02173, allocations: 0.9659 MB / 443.5 MB, free: 5.062 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.02178, allocations: 15.98 kB / 443.5 MB, free: 5.047 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008992/0.02268, allocations: 148.4 kB / 443.7 MB, free: 4.902 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009389/0.02362, allocations: 474 kB / 444.1 MB, free: 4.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.409e-05/0.02366, allocations: 37.38 kB / 444.2 MB, free: 4.375 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.02377, allocations: 52.33 kB / 444.2 MB, free: 4.324 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.02517, allocations: 0.738 MB / 445 MB, free: 3.535 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.02519, allocations: 192 / 445 MB, free: 3.535 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-05/0.02527, allocations: 28.06 kB / 445 MB, free: 3.508 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-05/0.02532, allocations: 32.98 kB / 445 MB, free: 3.473 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001399/0.02671, allocations: 0.5971 MB / 445.6 MB, free: 2.879 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003559/0.03027, allocations: 2.261 MB / 447.9 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.03165, allocations: 0.5149 MB / 448.4 MB, free: 4 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1937/0.2253, allocations: 197.1 kB / 448.6 MB, free: 30.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.834e-05/0.2254, allocations: 5.172 kB / 448.6 MB, free: 30.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000659/0.226, allocations: 299.8 kB / 448.9 MB, free: 30.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 1.994e-06/0.226, allocations: 0 / 448.9 MB, free: 30.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=41): time 0.001864/0.2279, allocations: 0.6727 MB / 449.6 MB, free: 30.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.228, allocations: 164.2 kB / 449.7 MB, free: 29.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006562/0.2286, allocations: 435.7 kB / 450.1 MB, free: 29.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.188e-05/0.2287, allocations: 36.61 kB / 450.2 MB, free: 29.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000225/0.2289, allocations: 319.9 kB / 450.5 MB, free: 29.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.229, allocations: 143.3 kB / 450.6 MB, free: 29.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.2292, allocations: 90.52 kB / 450.7 MB, free: 29.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.847e-05/0.2292, allocations: 369.9 kB / 451.1 MB, free: 28.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005196/0.2298, allocations: 217.7 kB / 451.3 MB, free: 28.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005548/0.2303, allocations: 400.9 kB / 451.7 MB, free: 28.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.2314, allocations: 0.5176 MB / 452.2 MB, free: 28.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2314, allocations: 1.125 kB / 452.2 MB, free: 28.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001844/0.2332, allocations: 0.7855 MB / 453 MB, free: 27.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.669e-05/0.2333, allocations: 38.19 kB / 453 MB, free: 27.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.2333, allocations: 7.938 kB / 453 MB, free: 27.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000549/0.2338, allocations: 137.1 kB / 453.2 MB, free: 27.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003945/0.2342, allocations: 93.08 kB / 453.3 MB, free: 27.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003049/0.2373, allocations: 2.499 MB / 455.8 MB, free: 25.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005206/0.2378, allocations: 69.72 kB / 455.8 MB, free: 25.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/0.2379, allocations: 22.45 kB / 455.8 MB, free: 25.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006333/0.2385, allocations: 372.3 kB / 456.2 MB, free: 25.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000509/0.239, allocations: 389.4 kB / 456.6 MB, free: 25.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009005/0.2399, allocations: 0.4956 MB / 457.1 MB, free: 25.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.266e-06/0.2399, allocations: 1.5 kB / 457.1 MB, free: 25.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001473/0.2414, allocations: 0.7058 MB / 457.8 MB, free: 24.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.2414, allocations: 38.45 kB / 457.8 MB, free: 24.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2414, allocations: 11.31 kB / 457.8 MB, free: 24.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003586/0.2418, allocations: 124.5 kB / 458 MB, free: 24.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.2421, allocations: 88.64 kB / 458 MB, free: 24.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002156/0.2443, allocations: 2.302 MB / 460.3 MB, free: 22.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004607/0.2448, allocations: 67.16 kB / 460.4 MB, free: 22.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.084e-05/0.2448, allocations: 20.27 kB / 460.4 MB, free: 22.78 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (45): * Single equations (assignments): 43 * 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.0001858/0.245, allocations: 213.9 kB / 460.6 MB, free: 22.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-05/0.2451, allocations: 53.33 kB / 460.7 MB, free: 22.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.2463, allocations: 0.5048 MB / 461.2 MB, free: 22.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.2463, allocations: 4.938 kB / 461.2 MB, free: 22.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2463, allocations: 1.125 kB / 461.2 MB, free: 22.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.2464, allocations: 3.922 kB / 461.2 MB, free: 22.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/0.2482, allocations: 1.001 MB / 462.2 MB, free: 21.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2482, allocations: 1.344 kB / 462.2 MB, free: 21.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005168/0.2488, allocations: 88.83 kB / 462.3 MB, free: 21.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001233/0.2489, allocations: 35.59 kB / 462.3 MB, free: 21.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.314e-05/0.2489, allocations: 9.453 kB / 462.3 MB, free: 21.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008997/0.2498, allocations: 1.337 MB / 463.7 MB, free: 20.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.2498, allocations: 5.312 kB / 463.7 MB, free: 20.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.2516, allocations: 0.8414 MB / 464.5 MB, free: 20.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/0.2518, allocations: 84.58 kB / 464.6 MB, free: 20 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.571e-05/0.2519, allocations: 17.33 kB / 464.6 MB, free: 19.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004143/0.2523, allocations: 38.89 kB / 464.7 MB, free: 19.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.2524, allocations: 37.42 kB / 464.7 MB, free: 19.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/0.2524, allocations: 16.89 kB / 464.7 MB, free: 19.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005435/0.253, allocations: 306 kB / 465 MB, free: 19.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.253, allocations: 0 / 465 MB, free: 19.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001009/0.254, allocations: 264.3 kB / 465.3 MB, free: 19.76 MB / 366.1 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.0001317/0.2541, allocations: 108.5 kB / 465.4 MB, free: 19.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002154/0.2563, allocations: 1.165 MB / 466.5 MB, free: 18.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2563, allocations: 1.75 kB / 466.5 MB, free: 18.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006957/0.257, allocations: 333 kB / 466.9 MB, free: 18.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007098/0.2577, allocations: 115.1 kB / 467 MB, free: 18.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.2597, allocations: 1.121 MB / 468.1 MB, free: 18.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.2601, allocations: 302 kB / 468.4 MB, free: 17.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003351/0.2604, allocations: 95.73 kB / 468.5 MB, free: 17.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.2606, allocations: 39.03 kB / 468.5 MB, free: 17.97 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2606, allocations: 0 / 468.5 MB, free: 17.97 MB / 366.1 MB Notification: Performance of Templates: time 0.01469/0.2753, allocations: 7.749 MB / 476.3 MB, free: 15.25 MB / 366.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.045756097882986] Failed to read output from testmodel.py, exit status != 0: 0.28429825603961945 0.29277295799999997 0.27087216899999994 Calling exit ...