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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001228/0.001228, allocations: 189.5 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.157/1.157, allocations: 194.2 MB / 212.2 MB, free: 2.367 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001636/0.001636, allocations: 121.5 kB / 256.6 MB, free: 4.301 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1638/0.1638, allocations: 37.95 MB / 338.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001121/0.001121, allocations: 67.91 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0716/0.07274, allocations: 52.19 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.005316/0.0781, allocations: 6.334 MB / 460.3 MB, free: 10.2 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002982/0.08111, allocations: 2.86 MB / 463.2 MB, free: 7.332 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003198/0.08145, allocations: 35.81 kB / 463.2 MB, free: 7.297 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000814/0.08227, allocations: 318.6 kB / 463.5 MB, free: 6.984 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006515/0.08293, allocations: 426.2 kB / 464 MB, free: 6.566 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006959/0.08364, allocations: 482.3 kB / 464.4 MB, free: 6.098 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007402/0.08439, allocations: 1.354 MB / 465.8 MB, free: 4.742 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006021/0.085, allocations: 0.5828 MB / 466.4 MB, free: 4.141 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003106/0.08532, allocations: 382.2 kB / 466.7 MB, free: 3.766 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003249/0.08566, allocations: 450 kB / 467.2 MB, free: 3.324 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.02e-05/0.08574, allocations: 44 kB / 467.2 MB, free: 3.281 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005719/0.08631, allocations: 0.5924 MB / 467.8 MB, free: 2.688 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000146/0.08647, allocations: 215.3 kB / 468 MB, free: 2.477 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002108/0.08669, allocations: 373.8 kB / 468.4 MB, free: 2.109 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007068/0.0874, allocations: 1.164 MB / 469.5 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.08741, allocations: 0 / 469.5 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.08742, allocations: 0 / 469.5 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.08743, allocations: 0 / 469.5 MB, free: 0.9414 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001683/0.08912, allocations: 1.165 MB / 470.7 MB, free: 15.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.08916, allocations: 8.031 kB / 470.7 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.09024, allocations: 195.7 kB / 470.9 MB, free: 15.53 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008377/0.09109, allocations: 0.5735 MB / 471.5 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.015e-05/0.09115, allocations: 57.66 kB / 471.5 MB, free: 14.85 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.887e-05/0.09126, allocations: 75.78 kB / 471.6 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.09254, allocations: 0.823 MB / 472.4 MB, free: 13.92 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.09257, allocations: 0 / 472.4 MB, free: 13.92 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.955e-05/0.09264, allocations: 27.98 kB / 472.5 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.989e-05/0.09269, allocations: 33.31 kB / 472.5 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.09403, allocations: 0.7546 MB / 473.3 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004069/0.09811, allocations: 2.854 MB / 476.1 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.09969, allocations: 0.9487 MB / 477.1 MB, free: 9.121 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005514/0.1003, allocations: 307.3 kB / 477.4 MB, free: 8.816 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.743e-05/0.1003, allocations: 4.562 kB / 477.4 MB, free: 8.812 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.1003, allocations: 43.12 kB / 477.4 MB, free: 8.762 MB / 330.7 MB Notification: Performance of pre-optimization done (n=58): time 1.984e-06/0.1004, allocations: 0 / 477.4 MB, free: 8.762 MB / 330.7 MB Notification: Performance of matching and sorting (n=62): time 0.004548/0.1049, allocations: 2.489 MB / 479.9 MB, free: 6.168 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.105, allocations: 115.4 kB / 480 MB, free: 6.027 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006665/0.1057, allocations: 0.5264 MB / 480.5 MB, free: 5.492 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.1057, allocations: 41.7 kB / 480.6 MB, free: 5.445 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.1059, allocations: 340.4 kB / 480.9 MB, free: 5.109 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.1061, allocations: 220.8 kB / 481.1 MB, free: 4.891 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.1063, allocations: 110.2 kB / 481.2 MB, free: 4.773 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1064, allocations: 378.8 kB / 481.6 MB, free: 4.395 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005326/0.107, allocations: 267.3 kB / 481.9 MB, free: 4.133 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006114/0.1076, allocations: 391 kB / 482.2 MB, free: 3.707 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.1087, allocations: 0.6504 MB / 482.9 MB, free: 3.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1087, allocations: 0 / 482.9 MB, free: 3.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00148/0.1102, allocations: 0.7955 MB / 483.7 MB, free: 2.211 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1103, allocations: 4 kB / 483.7 MB, free: 2.207 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1103, allocations: 4 kB / 483.7 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002478/0.1105, allocations: 60.75 kB / 483.8 MB, free: 2.141 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006824/0.1112, allocations: 172.1 kB / 483.9 MB, free: 1.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.1127, allocations: 1.616 MB / 485.5 MB, free: 224 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004135/0.1131, allocations: 47.95 kB / 485.6 MB, free: 176 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/0.1132, allocations: 28.05 kB / 485.6 MB, free: 148 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006966/0.1139, allocations: 429.4 kB / 486 MB, free: 15.72 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005601/0.1144, allocations: 374.7 kB / 486.4 MB, free: 15.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001018/0.1155, allocations: 0.627 MB / 487 MB, free: 14.65 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.286e-06/0.1155, allocations: 4 kB / 487 MB, free: 14.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.00135/0.1168, allocations: 0.7684 MB / 487.8 MB, free: 13.87 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.886e-06/0.1169, allocations: 8.031 kB / 487.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1169, allocations: 4 kB / 487.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001978/0.1171, allocations: 60.8 kB / 487.9 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006341/0.1177, allocations: 159.8 kB / 488 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.1191, allocations: 1.639 MB / 489.7 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004162/0.1196, allocations: 47.95 kB / 489.7 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/0.1196, allocations: 20 kB / 489.7 MB, free: 11.8 MB / 346.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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.0001702/0.1198, allocations: 212.1 kB / 489.9 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.1199, allocations: 75.09 kB / 490 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.1214, allocations: 0.7563 MB / 490.8 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-06/0.1215, allocations: 8 kB / 490.8 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.1215, allocations: 0 / 490.8 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.1215, allocations: 3.984 kB / 490.8 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003631/0.1251, allocations: 2.087 MB / 492.9 MB, free: 8.512 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.1251, allocations: 4 kB / 492.9 MB, free: 8.508 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005278/0.1257, allocations: 127.8 kB / 493 MB, free: 8.383 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001848/0.1259, allocations: 60.78 kB / 493.1 MB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.242e-05/0.1259, allocations: 20 kB / 493.1 MB, free: 8.301 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/0.1272, allocations: 1.584 MB / 494.7 MB, free: 6.582 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.1272, allocations: 11.94 kB / 494.7 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007019/0.1343, allocations: 4.372 MB / 499 MB, free: 1.977 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002712/0.1346, allocations: 204.3 kB / 499.2 MB, free: 1.758 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.206e-05/0.1346, allocations: 20 kB / 499.3 MB, free: 1.738 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004513/0.1351, allocations: 51.94 kB / 499.3 MB, free: 1.688 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.1352, allocations: 67.8 kB / 499.4 MB, free: 1.621 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-05/0.1353, allocations: 24 kB / 499.4 MB, free: 1.598 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005159/0.1358, allocations: 390.8 kB / 499.8 MB, free: 1.219 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1358, allocations: 0 / 499.8 MB, free: 1.219 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001132/0.137, allocations: 312 kB / 0.4884 GB, free: 0.9141 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (62): * Single equations (assignments): 60 * 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.0001301/0.1371, allocations: 131 kB / 0.4885 GB, free: 0.7773 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002088/0.1392, allocations: 1.223 MB / 0.4897 GB, free: 15.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.1392, allocations: 4 kB / 0.4897 GB, free: 15.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008127/0.14, allocations: 499.7 kB / 0.4902 GB, free: 15.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008012/0.1408, allocations: 146.2 kB / 0.4903 GB, free: 14.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002879/0.1437, allocations: 2.324 MB / 0.4926 GB, free: 12.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005477/0.1443, allocations: 0.9821 MB / 0.4935 GB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005104/0.1448, allocations: 148.6 kB / 0.4937 GB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.145, allocations: 55.42 kB / 0.4937 GB, free: 11.23 MB / 362.7 MB Notification: Performance of SimCode: time 4.2e-07/0.145, allocations: 0 / 0.4937 GB, free: 11.23 MB / 362.7 MB Notification: Performance of Templates: time 0.0139/0.1589, allocations: 8.609 MB / 0.5021 GB, free: 2.613 MB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.makefile (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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe 2>&1)