Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.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.001302/0.001302, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001148/0.001148, allocations: 164 kB / 24.99 MB, free: 8.355 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.9946/0.9946, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2644/0.2644, allocations: 29.42 MB / 291.2 MB, free: 2.496 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.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.063e-05, allocations: 2.312 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.005656/0.005676, allocations: 5.861 MB / 375.5 MB, free: 5.43 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002861/0.008537, allocations: 2.719 MB / 378.2 MB, free: 2.699 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003339/0.008871, allocations: 39.75 kB / 378.2 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007861/0.009657, allocations: 385.7 kB / 378.6 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006116/0.01027, allocations: 485.1 kB / 379.1 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006844/0.01095, allocations: 0.5767 MB / 379.7 MB, free: 1.227 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007757/0.01173, allocations: 1.194 MB / 380.9 MB, free: 32 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006201/0.01235, allocations: 0.5997 MB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005925/0.01294, allocations: 0.6351 MB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003845/0.01333, allocations: 394.8 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.343e-05/0.01341, allocations: 88 kB / 382.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004675/0.01388, allocations: 470.6 kB / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000194/0.01407, allocations: 291.1 kB / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001941/0.01427, allocations: 275.3 kB / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008238/0.01509, allocations: 0.8602 MB / 384.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.01509, allocations: 0 / 384.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01509, allocations: 0 / 384.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.0151, allocations: 3.938 kB / 384.4 MB, free: 12.42 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.00129/0.01639, allocations: 1.208 MB / 385.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.01643, allocations: 15.98 kB / 385.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008583/0.01729, allocations: 300 kB / 386 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006481/0.01793, allocations: 0.5929 MB / 386.5 MB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.02e-05/0.01797, allocations: 49.69 kB / 386.6 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.12e-05/0.01806, allocations: 68.33 kB / 386.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000818/0.01887, allocations: 0.6776 MB / 387.3 MB, free: 9.379 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.0189, allocations: 8.125 kB / 387.3 MB, free: 9.371 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.415e-05/0.01894, allocations: 28.38 kB / 387.4 MB, free: 9.344 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.567e-05/0.01899, allocations: 45.23 kB / 387.4 MB, free: 9.297 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005185/0.0195, allocations: 327.5 kB / 387.7 MB, free: 8.977 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002682/0.02219, allocations: 2.985 MB / 390.7 MB, free: 5.879 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006693/0.02286, allocations: 430.4 kB / 391.1 MB, free: 5.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.02304, allocations: 136.6 kB / 391.3 MB, free: 5.293 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.02307, allocations: 12.5 kB / 391.3 MB, free: 5.281 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.0231, allocations: 41.89 kB / 391.3 MB, free: 5.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 2.034e-06/0.02311, allocations: 4 kB / 391.3 MB, free: 5.227 MB / 362.7 MB Notification: Performance of matching and sorting (n=63): time 0.00203/0.02514, allocations: 1.46 MB / 392.8 MB, free: 3.715 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.02519, allocations: 137 kB / 392.9 MB, free: 3.551 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005885/0.02577, allocations: 0.4947 MB / 393.4 MB, free: 3.039 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.02581, allocations: 41.64 kB / 393.5 MB, free: 2.992 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.026, allocations: 423.4 kB / 393.9 MB, free: 2.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.02611, allocations: 230 kB / 394.1 MB, free: 2.344 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.02624, allocations: 128.3 kB / 394.2 MB, free: 2.211 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.02638, allocations: 0.5469 MB / 394.8 MB, free: 1.652 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.02655, allocations: 103.6 kB / 394.9 MB, free: 1.547 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/0.02683, allocations: 363 kB / 395.2 MB, free: 1.102 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004329/0.02726, allocations: 422.9 kB / 395.6 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.02726, allocations: 0 / 395.6 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0006409/0.0279, allocations: 0.5352 MB / 396.2 MB, free: 72 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.02792, allocations: 4 kB / 396.2 MB, free: 68 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.02792, allocations: 4 kB / 396.2 MB, free: 64 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001996/0.02812, allocations: 68.06 kB / 396.3 MB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000378/0.0285, allocations: 163.8 kB / 396.4 MB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/0.02957, allocations: 2.087 MB / 398.5 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.02977, allocations: 39.97 kB / 398.5 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/0.0298, allocations: 27.98 kB / 398.6 MB, free: 13.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002565/0.03006, allocations: 228.8 kB / 398.8 MB, free: 13.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002747/0.03033, allocations: 360 kB / 399.1 MB, free: 12.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004434/0.03078, allocations: 418.9 kB / 399.6 MB, free: 12.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.276e-06/0.03078, allocations: 4 kB / 399.6 MB, free: 12.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.000643/0.03142, allocations: 0.5277 MB / 400.1 MB, free: 11.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.105e-06/0.03143, allocations: 4 kB / 400.1 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.03143, allocations: 4 kB / 400.1 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000143/0.03158, allocations: 63.64 kB / 400.2 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005653/0.03214, allocations: 164 kB / 400.3 MB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009196/0.03306, allocations: 2.093 MB / 402.4 MB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.03326, allocations: 36.02 kB / 402.4 MB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.03329, allocations: 31.98 kB / 402.5 MB, free: 9.352 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,powerPlant.throttleCosts.local_reset,powerPlant.hotwellLevel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * 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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.03343, allocations: 311.7 kB / 402.8 MB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.444e-05/0.03353, allocations: 87.58 kB / 402.9 MB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006304/0.03416, allocations: 483.4 kB / 403.3 MB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.03416, allocations: 12 kB / 403.3 MB, free: 8.461 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.03416, allocations: 3.938 kB / 403.3 MB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.03417, allocations: 11.92 kB / 403.4 MB, free: 8.445 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/0.03594, allocations: 1.492 MB / 404.9 MB, free: 6.805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.03594, allocations: 8 kB / 404.9 MB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002815/0.03622, allocations: 123.8 kB / 405 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001177/0.03634, allocations: 51.64 kB / 405 MB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/0.03637, allocations: 28.33 kB / 405.1 MB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008482/0.03722, allocations: 2.071 MB / 407.1 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.227e-06/0.03722, allocations: 11.92 kB / 407.1 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.03832, allocations: 0.9366 MB / 408.1 MB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.03846, allocations: 119.5 kB / 408.2 MB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.123e-05/0.03851, allocations: 27.92 kB / 408.2 MB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.03872, allocations: 31.98 kB / 408.3 MB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.616e-05/0.03881, allocations: 79.64 kB / 408.3 MB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.03884, allocations: 24 kB / 408.4 MB, free: 3.047 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002212/0.03906, allocations: 326.8 kB / 408.7 MB, free: 2.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03906, allocations: 0 / 408.7 MB, free: 2.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005871/0.03965, allocations: 244 kB / 408.9 MB, free: 2.492 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 7 (powerPlant.evaporator.y,powerPlant.superheater1.y,powerPlant.superheater2.y,powerPlant.transferFunction.x_scaled[1],powerPlant.hotwellLevel.y,powerPlant.throttleDynamics.y,powerPlant.throttleCosts.y) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001148/0.03976, allocations: 131 kB / 409 MB, free: 2.355 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009692/0.04073, allocations: 0.9364 MB / 410 MB, free: 1.383 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.04074, allocations: 0 / 410 MB, free: 1.383 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003088/0.04105, allocations: 379.3 kB / 410.3 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005451/0.04159, allocations: 171.3 kB / 410.5 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.04363, allocations: 1.577 MB / 412.1 MB, free: 15.1 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.04376, allocations: 196.1 kB / 412.3 MB, free: 14.89 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002755/0.04404, allocations: 128.6 kB / 412.4 MB, free: 14.76 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.04416, allocations: 56.48 kB / 412.5 MB, free: 14.71 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.04416, allocations: 0 / 412.5 MB, free: 14.71 MB / 394.7 MB Notification: Performance of Templates: time 0.01438/0.05854, allocations: 8.265 MB / 420.7 MB, free: 6.547 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1807155299466103]