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.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.PowerPlantTest3,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest3",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.001136/0.001137, allocations: 101.8 kB / 16.62 MB, free: 6.812 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.001175/0.001175, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.253/1.253, allocations: 222.9 MB / 241.2 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1715/0.1715, allocations: 38.02 MB / 329.4 MB, free: 9.02 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 56.42 kB / 398.4 MB, free: 34.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09427/0.09552, allocations: 58.07 MB / 456.4 MB, free: 8.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.007759/0.1033, allocations: 6.513 MB / 463 MB, free: 1.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004478/0.1078, allocations: 2.879 MB / 465.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007584/0.1086, allocations: 39.81 kB / 465.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.1098, allocations: 342.5 kB / 466.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.1111, allocations: 422.2 kB / 466.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.1124, allocations: 0.5098 MB / 467.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001356/0.1137, allocations: 1.198 MB / 468.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.1148, allocations: 0.7481 MB / 469.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006499/0.1155, allocations: 466.1 kB / 469.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005993/0.1161, allocations: 485.9 kB / 470 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.1162, allocations: 84 kB / 470.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007679/0.117, allocations: 0.5223 MB / 470.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002637/0.1173, allocations: 267.1 kB / 470.9 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004673/0.1178, allocations: 433.7 kB / 471.3 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.1192, allocations: 1.258 MB / 472.6 MB, free: 8.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1192, allocations: 0 / 472.6 MB, free: 8.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1192, allocations: 4 kB / 472.6 MB, free: 8.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.078e-05/0.1193, allocations: 0 / 472.6 MB, free: 8.148 MB / 350.1 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.002465/0.1217, allocations: 1.2 MB / 473.8 MB, free: 6.891 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1218, allocations: 19.89 kB / 473.8 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001375/0.1219, allocations: 106.7 kB / 473.9 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.1232, allocations: 199.7 kB / 474.1 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.1243, allocations: 0.6084 MB / 474.7 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.44e-05/0.1244, allocations: 57.61 kB / 474.7 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.1245, allocations: 68.36 kB / 474.8 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.1261, allocations: 0.8858 MB / 475.7 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.1261, allocations: 7.844 kB / 475.7 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.175e-05/0.1262, allocations: 28 kB / 475.7 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.277e-05/0.1263, allocations: 37.3 kB / 475.8 MB, free: 4.797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.1278, allocations: 0.7819 MB / 476.5 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005054/0.1329, allocations: 3.241 MB / 479.8 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.1347, allocations: 0.9747 MB / 480.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006043/0.1353, allocations: 311.2 kB / 481.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.193e-05/0.1354, allocations: 8.562 kB / 481.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/0.1354, allocations: 47.11 kB / 481.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=59): time 3.226e-06/0.1355, allocations: 0 / 481.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.005074/0.1405, allocations: 2.537 MB / 483.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/0.1406, allocations: 115.4 kB / 483.8 MB, free: 12.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007942/0.1414, allocations: 0.5782 MB / 484.3 MB, free: 11.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.812e-05/0.1415, allocations: 37.7 kB / 484.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002735/0.1418, allocations: 364.3 kB / 484.7 MB, free: 11.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/0.142, allocations: 224.8 kB / 485 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.1422, allocations: 118.6 kB / 485.1 MB, free: 11.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1423, allocations: 386.7 kB / 485.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005451/0.1429, allocations: 272.7 kB / 485.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006173/0.1435, allocations: 421.8 kB / 486.1 MB, free: 9.996 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.1447, allocations: 0.6928 MB / 486.8 MB, free: 9.246 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1447, allocations: 0 / 486.8 MB, free: 9.246 MB / 366.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001553/0.1463, allocations: 0.8267 MB / 487.7 MB, free: 8.414 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.1463, allocations: 10.03 kB / 487.7 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.1463, allocations: 4 kB / 487.7 MB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002585/0.1466, allocations: 65.25 kB / 487.7 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000712/0.1473, allocations: 175.7 kB / 487.9 MB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001664/0.149, allocations: 1.802 MB / 489.7 MB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004826/0.1495, allocations: 55.89 kB / 489.8 MB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.407e-05/0.1495, allocations: 27.98 kB / 489.8 MB, free: 6.133 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007184/0.1502, allocations: 442 kB / 490.2 MB, free: 5.699 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005735/0.1508, allocations: 397.9 kB / 490.6 MB, free: 5.258 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001097/0.1519, allocations: 0.6733 MB / 491.3 MB, free: 4.531 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.106e-06/0.1519, allocations: 0 / 491.3 MB, free: 4.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.001452/0.1534, allocations: 0.8033 MB / 492.1 MB, free: 3.715 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.1534, allocations: 8 kB / 492.1 MB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1534, allocations: 7.938 kB / 492.1 MB, free: 3.699 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000212/0.1537, allocations: 61.25 kB / 492.2 MB, free: 3.637 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006802/0.1543, allocations: 183.6 kB / 492.3 MB, free: 3.457 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.1558, allocations: 1.808 MB / 494.1 MB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004545/0.1563, allocations: 43.95 kB / 494.2 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.172e-05/0.1564, allocations: 31.98 kB / 494.2 MB, free: 1.441 MB / 366.1 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.0001881/0.1565, allocations: 221 kB / 494.4 MB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.1567, allocations: 75.09 kB / 494.5 MB, free: 1.145 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001528/0.1582, allocations: 0.7684 MB / 495.3 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.1582, allocations: 11.94 kB / 495.3 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.1582, allocations: 0 / 495.3 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.1582, allocations: 7.922 kB / 495.3 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003846/0.1621, allocations: 2.15 MB / 497.4 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/0.1621, allocations: 4 kB / 497.5 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005663/0.1627, allocations: 127.8 kB / 497.6 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001897/0.1629, allocations: 61.03 kB / 497.6 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.354e-05/0.163, allocations: 24 kB / 497.7 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001398/0.1644, allocations: 1.764 MB / 499.4 MB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.1644, allocations: 11.94 kB / 499.4 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002076/0.1665, allocations: 1.322 MB / 0.489 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002623/0.1667, allocations: 204.1 kB / 0.4892 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.1669, allocations: 24 kB / 0.4892 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005176/0.1674, allocations: 43.95 kB / 0.4893 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.1675, allocations: 79.67 kB / 0.4894 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.966e-05/0.1676, allocations: 24 kB / 0.4894 GB, free: 10.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006504/0.1683, allocations: 419 kB / 0.4898 GB, free: 9.715 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1683, allocations: 0 / 0.4898 GB, free: 9.715 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001101/0.1694, allocations: 252 kB / 0.49 GB, free: 9.469 MB / 382.1 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.002448/0.1718, allocations: 1.882 MB / 0.4919 GB, free: 7.473 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002509/0.1744, allocations: 1.325 MB / 0.4931 GB, free: 6.125 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.1744, allocations: 0 / 0.4931 GB, free: 6.125 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008922/0.1753, allocations: 0.5079 MB / 0.4936 GB, free: 5.605 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009959/0.1763, allocations: 165.2 kB / 0.4938 GB, free: 5.453 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.1879, allocations: 7.215 MB / 0.5008 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009139/0.1888, allocations: 0.9861 MB / 0.5018 GB, free: 12.87 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007032/0.1896, allocations: 144.8 kB / 0.502 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005108/0.1901, allocations: 283.3 kB / 0.5022 GB, free: 12.45 MB / 398.1 MB Notification: Performance of SimCode: time 1.453e-06/0.1901, allocations: 0 / 0.5022 GB, free: 12.45 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2637/0.4538, allocations: 15.38 MB / 0.5172 GB, free: 71.14 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001347/0.454, allocations: 230.3 kB / 0.5175 GB, free: 70.89 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.202/2.656, allocations: 3.781 kB / 0.5175 GB, free: 70.89 MB / 398.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest3_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest3.fmu > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe 2>&1)