Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.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.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001338/0.001338, allocations: 184.4 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.707 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.001817/0.001817, allocations: 108.7 kB / 256.9 MB, free: 10.33 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.2278/0.2278, allocations: 38.02 MB / 340.1 MB, free: 13.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004358/0.000436, allocations: 16.81 kB / 403.8 MB, free: 55.13 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0679/0.06836, allocations: 53.23 MB / 457 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.005221/0.07363, allocations: 4.839 MB / 461.9 MB, free: 5.523 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002936/0.07658, allocations: 2.157 MB / 464 MB, free: 3.363 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003637/0.07696, allocations: 31.81 kB / 464 MB, free: 3.332 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003547/0.07733, allocations: 83.27 kB / 464.1 MB, free: 3.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007778/0.07813, allocations: 303 kB / 464.4 MB, free: 2.953 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008606/0.07901, allocations: 368.1 kB / 464.8 MB, free: 2.598 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006071/0.07963, allocations: 0.5434 MB / 465.3 MB, free: 2.055 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008588/0.0805, allocations: 0.5962 MB / 465.9 MB, free: 1.422 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003531/0.08088, allocations: 278.8 kB / 466.2 MB, free: 1.148 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003162/0.08121, allocations: 266.6 kB / 466.5 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.756e-05/0.08129, allocations: 24 kB / 466.5 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00032/0.08163, allocations: 151.8 kB / 466.6 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.08176, allocations: 135.4 kB / 466.8 MB, free: 0.582 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.08188, allocations: 141.3 kB / 466.9 MB, free: 448 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008067/0.0827, allocations: 0.7404 MB / 467.6 MB, free: 15.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.853e-06/0.08272, allocations: 0 / 467.6 MB, free: 15.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.167e-06/0.08273, allocations: 0 / 467.6 MB, free: 15.7 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.08275, allocations: 0 / 467.6 MB, free: 15.7 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.00203/0.08479, allocations: 0.9621 MB / 468.6 MB, free: 14.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.08484, allocations: 12.02 kB / 468.6 MB, free: 14.67 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.08598, allocations: 162.9 kB / 468.8 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.08705, allocations: 0.5316 MB / 469.3 MB, free: 13.94 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.714e-05/0.08714, allocations: 45.31 kB / 469.3 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.08727, allocations: 63.98 kB / 469.4 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.08887, allocations: 0.7059 MB / 470.1 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/0.08892, allocations: 3.906 kB / 470.1 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.369e-05/0.089, allocations: 23.95 kB / 470.1 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-05/0.08909, allocations: 33.3 kB / 470.2 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.09076, allocations: 0.6141 MB / 470.8 MB, free: 12.42 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005022/0.0958, allocations: 2.523 MB / 473.3 MB, free: 9.793 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/0.09783, allocations: 0.7337 MB / 474 MB, free: 9.023 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.672e-05/0.0979, allocations: 16.45 kB / 474.1 MB, free: 9.008 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.09795, allocations: 39.09 kB / 474.1 MB, free: 8.961 MB / 314.7 MB Notification: Performance of pre-optimization done (n=48): time 2.893e-06/0.09796, allocations: 3.938 kB / 474.1 MB, free: 8.957 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.002069/0.1, allocations: 0.713 MB / 474.8 MB, free: 8.242 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.167e-05/0.1001, allocations: 111.4 kB / 474.9 MB, free: 8.109 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009708/0.1011, allocations: 0.5303 MB / 475.5 MB, free: 7.574 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.183e-05/0.1012, allocations: 29.7 kB / 475.5 MB, free: 7.539 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000345/0.1016, allocations: 329.2 kB / 475.8 MB, free: 7.211 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.1017, allocations: 169.5 kB / 476 MB, free: 7.043 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.1018, allocations: 15.94 kB / 476 MB, free: 7.027 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002286/0.102, allocations: 378.8 kB / 476.4 MB, free: 6.648 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006105/0.1027, allocations: 201 kB / 476.6 MB, free: 6.453 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007248/0.1034, allocations: 321 kB / 476.9 MB, free: 6.098 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006543/0.1041, allocations: 244.8 kB / 477.1 MB, free: 5.855 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.688e-06/0.1041, allocations: 0 / 477.1 MB, free: 5.855 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00216/0.1063, allocations: 0.7653 MB / 477.9 MB, free: 5.078 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00056/0.1068, allocations: 1.06 MB / 478.9 MB, free: 3.938 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.1069, allocations: 4 kB / 478.9 MB, free: 3.934 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005202/0.1074, allocations: 120.8 kB / 479.1 MB, free: 3.812 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007117/0.1081, allocations: 135.8 kB / 479.2 MB, free: 3.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003774/0.1119, allocations: 2.203 MB / 481.4 MB, free: 1.344 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000498/0.1124, allocations: 83.34 kB / 481.5 MB, free: 1.262 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.474e-05/0.1125, allocations: 19.98 kB / 481.5 MB, free: 1.242 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.988e-06/0.1125, allocations: 4 kB / 481.5 MB, free: 1.238 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001607/0.1141, allocations: 0.5848 MB / 482.1 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.664e-06/0.1142, allocations: 0 / 482.1 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003108/0.1145, allocations: 84.75 kB / 482.2 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006392/0.1151, allocations: 128.1 kB / 482.3 MB, free: 452 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002684/0.1178, allocations: 1.975 MB / 484.3 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004599/0.1183, allocations: 67.5 kB / 484.3 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.684e-05/0.1184, allocations: 27.97 kB / 484.4 MB, free: 14.24 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (56): * Single equations (assignments): 55 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0004014/0.1188, allocations: 296.8 kB / 484.6 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.119, allocations: 67.2 kB / 484.7 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.1205, allocations: 0.565 MB / 485.3 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.791e-06/0.1205, allocations: 7.938 kB / 485.3 MB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.98e-06/0.1205, allocations: 4 kB / 485.3 MB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.1206, allocations: 3.984 kB / 485.3 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002689/0.1233, allocations: 1.291 MB / 486.6 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1233, allocations: 0 / 486.6 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007273/0.124, allocations: 115.8 kB / 486.7 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.914e-06/0.124, allocations: 4.219 kB / 486.7 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.061e-05/0.1241, allocations: 15.98 kB / 486.7 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.577e-06/0.1241, allocations: 4 kB / 486.7 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1241, allocations: 3.938 kB / 486.7 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/0.1263, allocations: 0.9226 MB / 487.6 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002861/0.1266, allocations: 184.2 kB / 487.8 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.1267, allocations: 12 kB / 487.8 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004645/0.1272, allocations: 47.95 kB / 487.9 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.1273, allocations: 36.42 kB / 487.9 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.531e-05/0.1274, allocations: 15.98 kB / 487.9 MB, free: 10.53 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007537/0.1281, allocations: 378.8 kB / 488.3 MB, free: 10.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.06e-07/0.1282, allocations: 0 / 488.3 MB, free: 10.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00101/0.1292, allocations: 259.3 kB / 488.6 MB, free: 9.906 MB / 330.7 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 (49): * Single equations (assignments): 48 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001581/0.1294, allocations: 107.2 kB / 488.7 MB, free: 9.793 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002394/0.1318, allocations: 1.064 MB / 489.7 MB, free: 8.703 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.1318, allocations: 0 / 489.7 MB, free: 8.703 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006579/0.1325, allocations: 262.9 kB / 490 MB, free: 8.449 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006581/0.1331, allocations: 112.4 kB / 490.1 MB, free: 8.344 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003437/0.1366, allocations: 1.743 MB / 491.8 MB, free: 6.574 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007575/0.1374, allocations: 0.9531 MB / 492.8 MB, free: 5.594 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005749/0.138, allocations: 112.5 kB / 492.9 MB, free: 5.484 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.1382, allocations: 43.42 kB / 492.9 MB, free: 5.441 MB / 330.7 MB Notification: Performance of SimCode: time 1.316e-06/0.1382, allocations: 0 / 492.9 MB, free: 5.441 MB / 330.7 MB Notification: Performance of Templates: time 0.01783/0.156, allocations: 6.866 MB / 499.8 MB, free: 14.58 MB / 346.7 MB