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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 107.7 kB / 17.06 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 197.3 kB / 18.01 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1784/0.1784, allocations: 38.03 MB / 329.9 MB, free: 8.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002936/0.002936, allocations: 71.83 kB / 457.6 MB, free: 7.324 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3301, allocations: 58.06 MB / 0.5036 GB, free: 7.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.00655/0.3367, allocations: 5.404 MB / 0.5089 GB, free: 3.793 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003386/0.3401, allocations: 2.259 MB / 0.5111 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005682/0.3407, allocations: 26.09 kB / 0.5111 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009917/0.3417, allocations: 270.2 kB / 0.5114 GB, free: 2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000881/0.3426, allocations: 341 kB / 0.5117 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.3437, allocations: 0.4984 MB / 0.5122 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001082/0.3448, allocations: 1.05 MB / 0.5132 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008268/0.3456, allocations: 0.6228 MB / 0.5138 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005145/0.3461, allocations: 391.5 kB / 0.5142 GB, free: 460 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004573/0.3466, allocations: 397.7 kB / 0.5146 GB, free: 248 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.3467, allocations: 80.16 kB / 0.5147 GB, free: 248 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005824/0.3473, allocations: 356.1 kB / 0.515 GB, free: 132 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001804/0.3475, allocations: 218 kB / 0.5152 GB, free: 0 / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004298/0.348, allocations: 398.8 kB / 0.5156 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001467/0.3495, allocations: 1.081 MB / 0.5166 GB, free: 15.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3495, allocations: 2.047 kB / 0.5166 GB, free: 15.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3495, allocations: 0 / 0.5166 GB, free: 15.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.3495, allocations: 0 / 0.5166 GB, free: 15.25 MB / 398.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.002329/0.3518, allocations: 1.144 MB / 0.5178 GB, free: 14.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.3519, allocations: 17.78 kB / 0.5178 GB, free: 14.44 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001431/0.352, allocations: 105.6 kB / 0.5179 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008661/0.3529, allocations: 164.6 kB / 0.518 GB, free: 14.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.354, allocations: 0.6067 MB / 0.5186 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.669e-05/0.3541, allocations: 51.05 kB / 0.5187 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.3542, allocations: 61.89 kB / 0.5187 GB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.3556, allocations: 0.755 MB / 0.5195 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.3556, allocations: 1.094 kB / 0.5195 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.478e-05/0.3557, allocations: 33.7 kB / 0.5195 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.314e-05/0.3557, allocations: 32.81 kB / 0.5195 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.357, allocations: 0.6309 MB / 0.5202 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004725/0.3617, allocations: 2.891 MB / 0.523 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.3632, allocations: 0.7117 MB / 0.5237 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004656/0.3636, allocations: 231.4 kB / 0.5239 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.51e-05/0.3637, allocations: 6.688 kB / 0.5239 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.3637, allocations: 42.5 kB / 0.5239 GB, free: 10.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=49): time 2.024e-06/0.3637, allocations: 1.375 kB / 0.5239 GB, free: 10.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.001588/0.3653, allocations: 0.7069 MB / 0.5246 GB, free: 10.54 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.646e-05/0.3654, allocations: 112.6 kB / 0.5247 GB, free: 10.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008997/0.3664, allocations: 0.5751 MB / 0.5253 GB, free: 10.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.038e-05/0.3664, allocations: 38.17 kB / 0.5253 GB, free: 10.12 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003096/0.3667, allocations: 353.6 kB / 0.5257 GB, free: 9.832 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/0.3669, allocations: 186.8 kB / 0.5259 GB, free: 9.684 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.3671, allocations: 106.2 kB / 0.526 GB, free: 9.621 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002157/0.3673, allocations: 376 kB / 0.5263 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004802/0.3678, allocations: 219.1 kB / 0.5265 GB, free: 9.199 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000573/0.3684, allocations: 336.3 kB / 0.5268 GB, free: 8.977 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.3695, allocations: 0.5644 MB / 0.5274 GB, free: 8.637 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.3695, allocations: 9.375 kB / 0.5274 GB, free: 8.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001805/0.3713, allocations: 0.7759 MB / 0.5282 GB, free: 8.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.3714, allocations: 12.31 kB / 0.5282 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.026e-06/0.3714, allocations: 3.375 kB / 0.5282 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000423/0.3718, allocations: 109.5 kB / 0.5283 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005622/0.3724, allocations: 136.5 kB / 0.5284 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003421/0.3758, allocations: 2.418 MB / 0.5308 GB, free: 6.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005874/0.3764, allocations: 82.09 kB / 0.5308 GB, free: 6.262 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.637e-05/0.3765, allocations: 26.67 kB / 0.5309 GB, free: 6.254 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007315/0.3772, allocations: 368.6 kB / 0.5312 GB, free: 6.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005247/0.3777, allocations: 332.6 kB / 0.5315 GB, free: 5.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009336/0.3787, allocations: 0.5225 MB / 0.5321 GB, free: 5.516 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.424e-06/0.3787, allocations: 0 / 0.5321 GB, free: 5.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.001491/0.3802, allocations: 0.7126 MB / 0.5327 GB, free: 5.203 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.3802, allocations: 6.625 kB / 0.5328 GB, free: 5.203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.3802, allocations: 3.953 kB / 0.5328 GB, free: 5.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002931/0.3805, allocations: 95.17 kB / 0.5329 GB, free: 5.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005305/0.3811, allocations: 135.5 kB / 0.533 GB, free: 5.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002492/0.3836, allocations: 2.231 MB / 0.5352 GB, free: 3.227 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005088/0.3841, allocations: 64.7 kB / 0.5352 GB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-05/0.3842, allocations: 24.73 kB / 0.5352 GB, free: 3.18 MB / 398.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.0002353/0.3844, allocations: 213.5 kB / 0.5354 GB, free: 2.973 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.3845, allocations: 78.94 kB / 0.5355 GB, free: 2.926 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/0.3858, allocations: 0.5603 MB / 0.5361 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-06/0.3858, allocations: 9.094 kB / 0.5361 GB, free: 2.602 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.3858, allocations: 5.312 kB / 0.5361 GB, free: 2.598 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.3858, allocations: 5.422 kB / 0.5361 GB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002181/0.388, allocations: 1.306 MB / 0.5374 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.388, allocations: 0 / 0.5374 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005359/0.3886, allocations: 115.4 kB / 0.5375 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.3886, allocations: 3.469 kB / 0.5375 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.083e-05/0.3886, allocations: 11.56 kB / 0.5375 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.3886, allocations: 1.438 kB / 0.5375 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3886, allocations: 5.156 kB / 0.5375 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.3903, allocations: 0.9031 MB / 0.5384 GB, free: 1.102 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002465/0.3905, allocations: 195.6 kB / 0.5386 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.133e-05/0.3906, allocations: 20.27 kB / 0.5386 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003711/0.391, allocations: 30.25 kB / 0.5386 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.127e-05/0.3911, allocations: 36.89 kB / 0.5386 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.42e-05/0.3911, allocations: 14.02 kB / 0.5387 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006124/0.3918, allocations: 423.6 kB / 0.5391 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3918, allocations: 4 kB / 0.5391 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008928/0.3927, allocations: 267.3 kB / 0.5393 GB, free: 0.5508 MB / 398.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.001951/0.3946, allocations: 1.46 MB / 0.5407 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002059/0.3967, allocations: 1.099 MB / 0.5418 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.3967, allocations: 192 / 0.5418 GB, free: 14.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005029/0.3972, allocations: 255.9 kB / 0.5421 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007878/0.398, allocations: 152.1 kB / 0.5422 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.4084, allocations: 6.198 MB / 0.5483 GB, free: 9.719 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006238/0.409, allocations: 0.9418 MB / 0.5492 GB, free: 8.746 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004449/0.4095, allocations: 120.6 kB / 0.5493 GB, free: 8.625 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003767/0.4099, allocations: 251.3 kB / 0.5495 GB, free: 8.379 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4099, allocations: 3.938 kB / 0.5495 GB, free: 8.375 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04658/0.4565, allocations: 15.27 MB / 0.5645 GB, free: 9.273 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.09, allocations: 8 kB / 0.5645 GB, free: 9.266 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest1.fmu > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe 2>&1)