Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/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_master_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001456/0.00146, allocations: 185.5 kB / 16.38 MB, free: 5.598 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.691/1.691, allocations: 194.5 MB / 211.6 MB, free: 7.605 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001887/0.001887, allocations: 128.5 kB / 256.9 MB, free: 10.22 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.2268/0.2268, allocations: 38.01 MB / 340.1 MB, free: 13.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004333/0.0004334, allocations: 14.56 kB / 403.8 MB, free: 55.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06741/0.06787, allocations: 53.22 MB / 457 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.005482/0.07339, allocations: 5.429 MB / 462.4 MB, free: 4.902 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00366/0.07707, allocations: 2.636 MB / 465.1 MB, free: 2.262 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000437/0.07753, allocations: 31.81 kB / 465.1 MB, free: 2.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003812/0.07793, allocations: 107.1 kB / 465.2 MB, free: 2.125 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009129/0.07886, allocations: 398.7 kB / 465.6 MB, free: 1.734 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.07992, allocations: 406.4 kB / 466 MB, free: 1.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000689/0.08063, allocations: 0.6214 MB / 466.6 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001079/0.08172, allocations: 0.6996 MB / 467.3 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005254/0.08226, allocations: 330.7 kB / 467.6 MB, free: 15.65 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004421/0.08272, allocations: 302.5 kB / 467.9 MB, free: 15.36 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.363e-05/0.08282, allocations: 24 kB / 468 MB, free: 15.33 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005464/0.08338, allocations: 247.5 kB / 468.2 MB, free: 15.09 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002237/0.08362, allocations: 175.4 kB / 468.4 MB, free: 14.92 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.08381, allocations: 153.3 kB / 468.5 MB, free: 14.76 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00114/0.08497, allocations: 0.8611 MB / 469.4 MB, free: 13.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.633e-06/0.085, allocations: 0 / 469.4 MB, free: 13.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.08502, allocations: 4 kB / 469.4 MB, free: 13.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.08504, allocations: 7.938 kB / 469.4 MB, free: 13.89 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.002144/0.0872, allocations: 1.036 MB / 470.4 MB, free: 12.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.08725, allocations: 12.02 kB / 470.4 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/0.08887, allocations: 210.7 kB / 470.6 MB, free: 12.58 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.09007, allocations: 0.5571 MB / 471.2 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.003e-05/0.09016, allocations: 45.31 kB / 471.3 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.09032, allocations: 75.92 kB / 471.3 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.0922, allocations: 0.8152 MB / 472.1 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.072e-05/0.09225, allocations: 7.891 kB / 472.1 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-05/0.09235, allocations: 35.97 kB / 472.2 MB, free: 10.97 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.38e-05/0.09243, allocations: 37.3 kB / 472.2 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002103/0.09455, allocations: 0.778 MB / 473 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005902/0.1005, allocations: 2.87 MB / 475.9 MB, free: 7.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002282/0.1028, allocations: 0.9832 MB / 476.9 MB, free: 6.121 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.15e-05/0.1028, allocations: 4.625 kB / 476.9 MB, free: 6.117 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.1029, allocations: 43.06 kB / 476.9 MB, free: 6.066 MB / 314.7 MB Notification: Performance of pre-optimization done (n=58): time 2.817e-06/0.1029, allocations: 0 / 476.9 MB, free: 6.066 MB / 314.7 MB Notification: Performance of matching and sorting (n=62): time 0.006644/0.1096, allocations: 2.564 MB / 479.5 MB, free: 3.398 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.1097, allocations: 115.3 kB / 479.6 MB, free: 3.262 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000971/0.1107, allocations: 0.5225 MB / 480.1 MB, free: 2.73 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.337e-05/0.1107, allocations: 37.7 kB / 480.1 MB, free: 2.688 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/0.1111, allocations: 352.4 kB / 480.5 MB, free: 2.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000229/0.1113, allocations: 216.8 kB / 480.7 MB, free: 2.125 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.1114, allocations: 16 kB / 480.7 MB, free: 2.109 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002316/0.1116, allocations: 374.8 kB / 481.1 MB, free: 1.734 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007601/0.1124, allocations: 269.2 kB / 481.3 MB, free: 1.473 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009352/0.1134, allocations: 387 kB / 481.7 MB, free: 1.051 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008658/0.1143, allocations: 314.1 kB / 482 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1143, allocations: 0 / 482 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002217/0.1165, allocations: 0.8189 MB / 482.8 MB, free: 15.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005971/0.1171, allocations: 1.136 MB / 484 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.1171, allocations: 4 kB / 484 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003383/0.1175, allocations: 60.77 kB / 484 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009042/0.1184, allocations: 183.8 kB / 484.2 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/0.1206, allocations: 1.693 MB / 485.9 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005404/0.1212, allocations: 56.02 kB / 486 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-05/0.1213, allocations: 31.98 kB / 486 MB, free: 12.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.1213, allocations: 0 / 486 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001943/0.1232, allocations: 0.7009 MB / 486.7 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.1233, allocations: 4 kB / 486.7 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002581/0.1235, allocations: 60.75 kB / 486.8 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008432/0.1244, allocations: 172.1 kB / 486.9 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002085/0.1265, allocations: 1.686 MB / 488.6 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000505/0.127, allocations: 52.02 kB / 488.7 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.401e-05/0.1271, allocations: 20 kB / 488.7 MB, free: 9.676 MB / 330.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004528/0.1276, allocations: 324.7 kB / 489 MB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.1278, allocations: 67.16 kB / 489.1 MB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00215/0.1299, allocations: 0.7835 MB / 489.8 MB, free: 8.492 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.13, allocations: 11.95 kB / 489.9 MB, free: 8.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.461e-06/0.13, allocations: 0 / 489.9 MB, free: 8.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.13, allocations: 7.922 kB / 489.9 MB, free: 8.473 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00536/0.1354, allocations: 2.118 MB / 492 MB, free: 6.219 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/0.1354, allocations: 8 kB / 492 MB, free: 6.211 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007454/0.1362, allocations: 131.8 kB / 492.1 MB, free: 6.082 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002578/0.1365, allocations: 56.81 kB / 492.2 MB, free: 6.023 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.64e-05/0.1366, allocations: 28.11 kB / 492.2 MB, free: 5.996 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002019/0.1386, allocations: 1.65 MB / 493.9 MB, free: 4.199 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.067e-05/0.1386, allocations: 7.938 kB / 493.9 MB, free: 4.191 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003174/0.1418, allocations: 1.612 MB / 495.5 MB, free: 2.332 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003246/0.1421, allocations: 196.3 kB / 495.7 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.1423, allocations: 23.98 kB / 495.7 MB, free: 2.098 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005994/0.1429, allocations: 55.95 kB / 495.7 MB, free: 2.043 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.143, allocations: 67.78 kB / 495.8 MB, free: 1.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.691e-05/0.1431, allocations: 27.98 kB / 495.8 MB, free: 1.949 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007105/0.1438, allocations: 382.8 kB / 496.2 MB, free: 1.578 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.72e-07/0.1439, allocations: 0 / 496.2 MB, free: 1.578 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001166/0.145, allocations: 248 kB / 496.5 MB, free: 1.336 MB / 330.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002019/0.1453, allocations: 127 kB / 496.6 MB, free: 1.203 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002971/0.1483, allocations: 1.251 MB / 497.8 MB, free: 15.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.881e-06/0.1483, allocations: 0 / 497.8 MB, free: 15.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.1496, allocations: 0.5033 MB / 498.3 MB, free: 15.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000791/0.1504, allocations: 143.1 kB / 498.5 MB, free: 15.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003619/0.154, allocations: 1.926 MB / 0.4887 GB, free: 13.24 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008308/0.1549, allocations: 0.9897 MB / 0.4896 GB, free: 12.22 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007262/0.1556, allocations: 140.7 kB / 0.4898 GB, free: 12.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.1558, allocations: 55.36 kB / 0.4898 GB, free: 12.03 MB / 346.7 MB Notification: Performance of SimCode: time 1.242e-06/0.1558, allocations: 0 / 0.4898 GB, free: 12.03 MB / 346.7 MB Notification: Performance of Templates: time 0.01875/0.1746, allocations: 7.296 MB / 0.4969 GB, free: 4.742 MB / 346.7 MB