Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.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.001584/0.001584, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.001898/0.001898, allocations: 161.9 kB / 24.5 MB, free: 3.711 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.483/1.483, allocations: 177.2 MB / 204.9 MB, free: 9 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.1748/0.1748, allocations: 29.43 MB / 290.7 MB, free: 3.258 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.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 63.91 kB / 431.2 MB, free: 3.215 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3651, allocations: 62.45 MB / 493.6 MB, free: 37.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.005788/0.3709, allocations: 5.126 MB / 498.8 MB, free: 34.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004303/0.3752, allocations: 2.171 MB / 0.4892 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007479/0.3759, allocations: 34.88 kB / 0.4892 GB, free: 32.83 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.3769, allocations: 276.6 kB / 0.4895 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008818/0.3778, allocations: 346.6 kB / 0.4898 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.379, allocations: 0.5073 MB / 0.4903 GB, free: 32.15 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001001/0.38, allocations: 1.059 MB / 0.4914 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006998/0.3807, allocations: 0.5377 MB / 0.4919 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005357/0.3812, allocations: 431.7 kB / 0.4923 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003797/0.3816, allocations: 371 kB / 0.4926 GB, free: 30.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.343e-05/0.3817, allocations: 80.28 kB / 0.4927 GB, free: 30.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000421/0.3821, allocations: 310.6 kB / 0.493 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.3823, allocations: 229.4 kB / 0.4932 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002103/0.3825, allocations: 295 kB / 0.4935 GB, free: 30.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000906/0.3834, allocations: 1.091 MB / 0.4946 GB, free: 30.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3834, allocations: 0 / 0.4946 GB, free: 30.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3834, allocations: 3.25 kB / 0.4946 GB, free: 30.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.3834, allocations: 0 / 0.4946 GB, free: 30.05 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001864/0.3853, allocations: 1.073 MB / 0.4956 GB, free: 29.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3853, allocations: 17.42 kB / 0.4956 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008114/0.3861, allocations: 163.3 kB / 0.4958 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008169/0.387, allocations: 0.5402 MB / 0.4963 GB, free: 28.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.954e-05/0.387, allocations: 45.41 kB / 0.4964 GB, free: 28.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.509e-05/0.3871, allocations: 64.67 kB / 0.4964 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.3882, allocations: 0.8217 MB / 0.4972 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.3882, allocations: 7.938 kB / 0.4972 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.323e-05/0.3882, allocations: 22.41 kB / 0.4973 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-05/0.3883, allocations: 34.89 kB / 0.4973 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.3893, allocations: 0.6265 MB / 0.4979 GB, free: 28.19 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003409/0.3927, allocations: 2.524 MB / 0.5004 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/0.3938, allocations: 0.5958 MB / 0.501 GB, free: 26.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003904/0.3942, allocations: 224.3 kB / 0.5012 GB, free: 26.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.668e-05/0.3943, allocations: 10.22 kB / 0.5012 GB, free: 26.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.3943, allocations: 38.34 kB / 0.5012 GB, free: 26.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 2.775e-06/0.3943, allocations: 3.938 kB / 0.5012 GB, free: 26.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.001371/0.3957, allocations: 0.6996 MB / 0.5019 GB, free: 25.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.3958, allocations: 142.7 kB / 0.502 GB, free: 25.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005722/0.3963, allocations: 0.4941 MB / 0.5025 GB, free: 25.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/0.3964, allocations: 32.95 kB / 0.5026 GB, free: 25.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.3966, allocations: 370.7 kB / 0.5029 GB, free: 25.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.3967, allocations: 191.1 kB / 0.5031 GB, free: 24.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.3969, allocations: 95.2 kB / 0.5032 GB, free: 24.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.397, allocations: 375.6 kB / 0.5035 GB, free: 24.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004319/0.3974, allocations: 209.5 kB / 0.5037 GB, free: 24.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004895/0.3979, allocations: 404.1 kB / 0.5041 GB, free: 24.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008611/0.3987, allocations: 0.5523 MB / 0.5047 GB, free: 23.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3987, allocations: 0 / 0.5047 GB, free: 23.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001482/0.4002, allocations: 0.7821 MB / 0.5054 GB, free: 23.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.4002, allocations: 6.25 kB / 0.5054 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.4003, allocations: 6.344 kB / 0.5054 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003754/0.4006, allocations: 117.1 kB / 0.5056 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000511/0.4011, allocations: 130.3 kB / 0.5057 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/0.4035, allocations: 2.274 MB / 0.5079 GB, free: 21.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004054/0.4039, allocations: 77.56 kB / 0.508 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/0.404, allocations: 23.25 kB / 0.508 GB, free: 21.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005384/0.4045, allocations: 369 kB / 0.5083 GB, free: 21.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004388/0.4049, allocations: 391 kB / 0.5087 GB, free: 21.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007274/0.4057, allocations: 0.5273 MB / 0.5092 GB, free: 20.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.274e-06/0.4057, allocations: 0 / 0.5092 GB, free: 20.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.001115/0.4068, allocations: 0.6942 MB / 0.5099 GB, free: 20.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.4068, allocations: 8.844 kB / 0.5099 GB, free: 20.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.4068, allocations: 3 kB / 0.5099 GB, free: 20.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000233/0.407, allocations: 105.8 kB / 0.51 GB, free: 20.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004828/0.4075, allocations: 128.2 kB / 0.5101 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/0.4091, allocations: 2.072 MB / 0.5122 GB, free: 18.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/0.4095, allocations: 75.47 kB / 0.5122 GB, free: 18.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/0.4096, allocations: 21.97 kB / 0.5123 GB, free: 18.69 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * Single equations (assignments): 59 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001575/0.4097, allocations: 213 kB / 0.5125 GB, free: 18.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.364e-05/0.4098, allocations: 60.22 kB / 0.5125 GB, free: 18.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.4109, allocations: 0.5544 MB / 0.5131 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.4109, allocations: 10.06 kB / 0.5131 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.4109, allocations: 7.938 kB / 0.5131 GB, free: 18.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.4109, allocations: 7.359 kB / 0.5131 GB, free: 18.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.4128, allocations: 1.117 MB / 0.5142 GB, free: 17.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.4128, allocations: 0 / 0.5142 GB, free: 17.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005526/0.4133, allocations: 115.5 kB / 0.5143 GB, free: 17.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.4133, allocations: 6.328 kB / 0.5143 GB, free: 17.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.686e-05/0.4134, allocations: 19.94 kB / 0.5143 GB, free: 17.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.4134, allocations: 7.203 kB / 0.5143 GB, free: 17.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.4134, allocations: 0 / 0.5143 GB, free: 17.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.4148, allocations: 0.8986 MB / 0.5152 GB, free: 17.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002109/0.415, allocations: 108 kB / 0.5153 GB, free: 17.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.876e-05/0.4151, allocations: 20.05 kB / 0.5153 GB, free: 17.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003751/0.4155, allocations: 49.05 kB / 0.5154 GB, free: 17.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.816e-05/0.4156, allocations: 38.42 kB / 0.5154 GB, free: 17.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.463e-05/0.4156, allocations: 13.44 kB / 0.5154 GB, free: 17.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004982/0.4161, allocations: 355 kB / 0.5158 GB, free: 16.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4161, allocations: 1.375 kB / 0.5158 GB, free: 16.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009833/0.4171, allocations: 282.3 kB / 0.516 GB, free: 16.77 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (powerPlant.rotor.phi,powerPlant.rotor.w,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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001174/0.4172, allocations: 110.7 kB / 0.5161 GB, free: 16.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001839/0.419, allocations: 1.057 MB / 0.5172 GB, free: 16.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.419, allocations: 0 / 0.5172 GB, free: 16.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004751/0.4195, allocations: 248.1 kB / 0.5174 GB, free: 16.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007358/0.4202, allocations: 128.6 kB / 0.5175 GB, free: 16.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.4226, allocations: 1.492 MB / 0.519 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.4229, allocations: 346 kB / 0.5193 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003779/0.4233, allocations: 114.3 kB / 0.5194 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.4234, allocations: 43.22 kB / 0.5195 GB, free: 15.02 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4234, allocations: 0 / 0.5195 GB, free: 15.02 MB / 446.1 MB Notification: Performance of Templates: time 0.01665/0.44, allocations: 7.669 MB / 0.5269 GB, free: 14.02 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.127714004018344] Failed to read output from testmodel.py, exit status != 0: 0.448770759976469 0.462368462 0.075800925 Calling exit ...