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.00118/0.00118, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.006255/0.006255, allocations: 158.4 kB / 24.69 MB, free: 9.43 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 0.8914/0.8914, allocations: 177.1 MB / 205 MB, free: 5.727 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.2212/0.2212, allocations: 29.41 MB / 290.8 MB, free: 2.418 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.974e-06/1.974e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.539e-05, allocations: 2.281 kB / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2): time 0.005172/0.005198, allocations: 5.327 MB / 436.8 MB, free: 7.727 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002524/0.007721, allocations: 2.496 MB / 439.3 MB, free: 5.223 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000317/0.008038, allocations: 31.75 kB / 439.3 MB, free: 5.191 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007957/0.008834, allocations: 358 kB / 439.7 MB, free: 4.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005771/0.009411, allocations: 481.2 kB / 440.1 MB, free: 4.367 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005925/0.01, allocations: 478.7 kB / 440.6 MB, free: 3.898 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006941/0.0107, allocations: 1.045 MB / 441.7 MB, free: 2.852 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008006/0.0115, allocations: 496.4 kB / 442.1 MB, free: 2.359 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005078/0.01201, allocations: 0.565 MB / 442.7 MB, free: 1.793 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003307/0.01234, allocations: 362.9 kB / 443.1 MB, free: 1.438 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.306e-05/0.0124, allocations: 76 kB / 443.1 MB, free: 1.363 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003889/0.01279, allocations: 446.7 kB / 443.6 MB, free: 0.9258 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.01294, allocations: 243.2 kB / 443.8 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.0131, allocations: 247.3 kB / 444 MB, free: 456 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1796/0.1927, allocations: 1.12 MB / 445.2 MB, free: 45.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/0.1927, allocations: 0 / 445.2 MB, free: 45.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.1927, allocations: 0 / 445.2 MB, free: 45.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.1927, allocations: 3 kB / 445.2 MB, free: 45.96 MB / 410.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.001529/0.1942, allocations: 1.046 MB / 446.2 MB, free: 45.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1943, allocations: 14.3 kB / 446.2 MB, free: 45.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006425/0.1949, allocations: 193 kB / 446.4 MB, free: 45.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005438/0.1955, allocations: 0.4884 MB / 446.9 MB, free: 45.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.1955, allocations: 43.28 kB / 446.9 MB, free: 45.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.13e-05/0.1956, allocations: 65.06 kB / 447 MB, free: 45.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007911/0.1963, allocations: 0.8396 MB / 447.9 MB, free: 44.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.1964, allocations: 5.984 kB / 447.9 MB, free: 44.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.828e-05/0.1964, allocations: 23.28 kB / 447.9 MB, free: 44.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-05/0.1964, allocations: 40.44 kB / 447.9 MB, free: 44.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007979/0.1972, allocations: 0.7256 MB / 448.6 MB, free: 44.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002133/0.1994, allocations: 2.47 MB / 451.1 MB, free: 43.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007648/0.2001, allocations: 0.5447 MB / 451.7 MB, free: 43.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003644/0.2005, allocations: 321.2 kB / 452 MB, free: 43.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.411e-05/0.2005, allocations: 6.906 kB / 452 MB, free: 43.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004493/0.201, allocations: 424.9 kB / 452.4 MB, free: 43.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=56): time 1.583e-06/0.201, allocations: 0 / 452.4 MB, free: 43.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=58): time 0.002552/0.2035, allocations: 1.973 MB / 454.4 MB, free: 43.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.643e-05/0.2036, allocations: 139.2 kB / 454.5 MB, free: 42.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003676/0.204, allocations: 449.8 kB / 454.9 MB, free: 42.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.204, allocations: 36.92 kB / 455 MB, free: 42.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.2041, allocations: 321.5 kB / 455.3 MB, free: 42.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.268e-05/0.2042, allocations: 207.8 kB / 455.5 MB, free: 42.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.2043, allocations: 114.4 kB / 455.6 MB, free: 42.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.56e-05/0.2044, allocations: 364.8 kB / 456 MB, free: 41.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/0.2047, allocations: 318.7 kB / 456.3 MB, free: 41.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003572/0.2051, allocations: 492.4 kB / 456.8 MB, free: 41.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006663/0.2058, allocations: 0.723 MB / 457.5 MB, free: 41.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2058, allocations: 3.375 kB / 457.5 MB, free: 41.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001105/0.2069, allocations: 1.035 MB / 458.5 MB, free: 40.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.2069, allocations: 36.69 kB / 458.6 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.2069, allocations: 2.875 kB / 458.6 MB, free: 40.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003496/0.2072, allocations: 187.3 kB / 458.7 MB, free: 40.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.2075, allocations: 114.9 kB / 458.9 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/0.2095, allocations: 3.85 MB / 462.7 MB, free: 37.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.2098, allocations: 62.55 kB / 462.8 MB, free: 37.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.2098, allocations: 26.75 kB / 462.8 MB, free: 37.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004102/0.2102, allocations: 476.1 kB / 463.3 MB, free: 37.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003284/0.2106, allocations: 483.2 kB / 463.7 MB, free: 36.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006222/0.2112, allocations: 0.7004 MB / 464.4 MB, free: 36.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.994e-06/0.2112, allocations: 0 / 464.4 MB, free: 36.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.0009259/0.2121, allocations: 0.9512 MB / 465.4 MB, free: 36.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.2121, allocations: 31.92 kB / 465.4 MB, free: 36.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.2121, allocations: 3.375 kB / 465.4 MB, free: 36.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002529/0.2124, allocations: 173.5 kB / 465.6 MB, free: 35.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.2126, allocations: 117.9 kB / 465.7 MB, free: 35.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/0.2142, allocations: 3.649 MB / 469.3 MB, free: 32.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002317/0.2144, allocations: 58.62 kB / 469.4 MB, free: 32.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.2145, allocations: 22.94 kB / 469.4 MB, free: 32.88 MB / 410.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.0001012/0.2146, allocations: 220 kB / 469.6 MB, free: 32.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.2146, allocations: 55.73 kB / 469.7 MB, free: 32.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008571/0.2155, allocations: 0.819 MB / 470.5 MB, free: 32.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.2155, allocations: 10.53 kB / 470.5 MB, free: 32.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.2155, allocations: 0 / 470.5 MB, free: 32.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.2155, allocations: 3.422 kB / 470.5 MB, free: 32.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.2168, allocations: 1.479 MB / 472 MB, free: 31.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.2168, allocations: 2.812 kB / 472 MB, free: 31.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.2171, allocations: 128.9 kB / 472.1 MB, free: 31.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001074/0.2172, allocations: 62.16 kB / 472.2 MB, free: 31.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.2173, allocations: 20.78 kB / 472.2 MB, free: 31.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007641/0.218, allocations: 2.634 MB / 474.8 MB, free: 29.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.218, allocations: 1.359 kB / 474.9 MB, free: 29.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.2192, allocations: 1.305 MB / 476.2 MB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.2193, allocations: 110.6 kB / 476.3 MB, free: 28.33 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.2194, allocations: 25.97 kB / 476.3 MB, free: 28.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003227/0.2197, allocations: 54.58 kB / 476.3 MB, free: 28.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.913e-05/0.2198, allocations: 51.58 kB / 476.4 MB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.2198, allocations: 25.03 kB / 476.4 MB, free: 28.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002231/0.22, allocations: 306.6 kB / 476.7 MB, free: 28.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.22, allocations: 0 / 476.7 MB, free: 28.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005841/0.2206, allocations: 254 kB / 477 MB, free: 28.12 MB / 410.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.0001124/0.2207, allocations: 130.5 kB / 477.1 MB, free: 28.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001439/0.2221, allocations: 1.735 MB / 478.8 MB, free: 27.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2221, allocations: 0 / 478.8 MB, free: 27.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000439/0.2226, allocations: 0.5725 MB / 479.4 MB, free: 26.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.223, allocations: 131.8 kB / 479.5 MB, free: 26.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.2244, allocations: 1.468 MB / 481 MB, free: 25.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.2246, allocations: 346.9 kB / 481.3 MB, free: 25.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.2247, allocations: 52.27 kB / 481.4 MB, free: 25.7 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.2247, allocations: 0 / 481.4 MB, free: 25.7 MB / 410.7 MB Notification: Performance of Templates: time 0.01216/0.2369, allocations: 14.27 MB / 495.7 MB, free: 24.38 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.626089993864298] Failed to read output from testmodel.py, exit status != 0: 0.2427541045472026 0.250282163 0.055981925 Calling exit ...