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.002436/0.002439, allocations: 354.8 kB / 16.57 MB, free: 5.59 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 3.488/3.488, allocations: 388.9 MB / 406.2 MB, free: 11.91 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003576/0.003576, allocations: 235.6 kB / 451.6 MB, free: 14.51 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.6695/0.6695, allocations: 76.01 MB / 0.5594 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004421/0.0004423, allocations: 12 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06601/0.06647, allocations: 53.23 MB / 0.6736 GB, free: 60.83 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.005456/0.07197, allocations: 5.568 MB / 0.679 GB, free: 55.23 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003593/0.07559, allocations: 2.655 MB / 0.6816 GB, free: 52.57 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003983/0.076, allocations: 35.81 kB / 0.6817 GB, free: 52.54 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003512/0.07637, allocations: 111 kB / 0.6818 GB, free: 52.43 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009334/0.07732, allocations: 417.6 kB / 0.6822 GB, free: 52.02 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009317/0.07827, allocations: 399.1 kB / 0.6826 GB, free: 51.63 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008981/0.07918, allocations: 1.147 MB / 0.6837 GB, free: 50.48 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.08021, allocations: 0.7055 MB / 0.6844 GB, free: 49.73 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003647/0.0806, allocations: 334.4 kB / 0.6847 GB, free: 49.4 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003834/0.08099, allocations: 386.2 kB / 0.6851 GB, free: 49.02 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.946e-05/0.08111, allocations: 28 kB / 0.6851 GB, free: 48.99 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005006/0.08162, allocations: 251.3 kB / 0.6853 GB, free: 48.75 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.08179, allocations: 191.3 kB / 0.6855 GB, free: 48.56 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.08192, allocations: 157.3 kB / 0.6857 GB, free: 48.4 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007229/0.08266, allocations: 0.8612 MB / 0.6865 GB, free: 47.54 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.236e-06/0.08267, allocations: 0 / 0.6865 GB, free: 47.54 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.735e-06/0.08269, allocations: 0 / 0.6865 GB, free: 47.54 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.0827, allocations: 0 / 0.6865 GB, free: 47.54 MB / 442.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.001813/0.08452, allocations: 1.036 MB / 0.6875 GB, free: 46.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.08457, allocations: 8.828 kB / 0.6875 GB, free: 46.44 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00152/0.08609, allocations: 218.7 kB / 0.6877 GB, free: 46.22 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008715/0.08698, allocations: 0.5531 MB / 0.6883 GB, free: 45.63 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.822e-05/0.08705, allocations: 53.3 kB / 0.6883 GB, free: 45.58 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.08718, allocations: 71.89 kB / 0.6884 GB, free: 45.51 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/0.08874, allocations: 0.8347 MB / 0.6892 GB, free: 44.64 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.983e-05/0.08879, allocations: 7.938 kB / 0.6892 GB, free: 44.64 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.129e-05/0.08889, allocations: 24 kB / 0.6892 GB, free: 44.61 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.776e-05/0.08895, allocations: 33.3 kB / 0.6893 GB, free: 44.58 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/0.09061, allocations: 0.7741 MB / 0.69 GB, free: 43.8 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004505/0.09513, allocations: 2.87 MB / 0.6928 GB, free: 40.83 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/0.09691, allocations: 0.9876 MB / 0.6938 GB, free: 39.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006966/0.09763, allocations: 311.3 kB / 0.6941 GB, free: 39.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.733e-05/0.09769, allocations: 16.55 kB / 0.6941 GB, free: 39.44 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.09773, allocations: 39.12 kB / 0.6941 GB, free: 39.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=58): time 3.223e-06/0.09774, allocations: 0 / 0.6941 GB, free: 39.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=62): time 0.005223/0.103, allocations: 2.571 MB / 0.6966 GB, free: 36.72 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.72e-05/0.103, allocations: 111.4 kB / 0.6967 GB, free: 36.58 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007742/0.1038, allocations: 0.5225 MB / 0.6973 GB, free: 36.05 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.489e-05/0.1039, allocations: 41.69 kB / 0.6973 GB, free: 36 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.1041, allocations: 340.4 kB / 0.6976 GB, free: 35.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.1043, allocations: 216.8 kB / 0.6978 GB, free: 35.45 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-05/0.1043, allocations: 19.97 kB / 0.6978 GB, free: 35.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1044, allocations: 374.8 kB / 0.6982 GB, free: 35.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006644/0.1051, allocations: 273.2 kB / 0.6985 GB, free: 34.79 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007114/0.1058, allocations: 391.2 kB / 0.6988 GB, free: 34.36 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006517/0.1065, allocations: 314.1 kB / 0.6991 GB, free: 34.06 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.097e-06/0.1065, allocations: 0 / 0.6991 GB, free: 34.06 MB / 442.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001655/0.1082, allocations: 0.8151 MB / 0.6999 GB, free: 33.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.515e-05/0.1083, allocations: 173.9 kB / 0.7001 GB, free: 33.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.904e-06/0.1083, allocations: 4 kB / 0.7001 GB, free: 33.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002642/0.1086, allocations: 64.7 kB / 0.7002 GB, free: 32.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008655/0.1094, allocations: 179.8 kB / 0.7003 GB, free: 32.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.1109, allocations: 1.612 MB / 0.7019 GB, free: 31.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005922/0.1115, allocations: 60.02 kB / 0.702 GB, free: 30.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.168e-05/0.1116, allocations: 23.98 kB / 0.702 GB, free: 30.95 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.239e-06/0.1116, allocations: 4 kB / 0.702 GB, free: 30.94 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001523/0.1132, allocations: 0.7011 MB / 0.7027 GB, free: 30.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.214e-06/0.1132, allocations: 8 kB / 0.7027 GB, free: 30.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002559/0.1135, allocations: 56.81 kB / 0.7027 GB, free: 30.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007388/0.1142, allocations: 171.8 kB / 0.7029 GB, free: 30 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.1156, allocations: 1.622 MB / 0.7045 GB, free: 28.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004652/0.1161, allocations: 55.89 kB / 0.7045 GB, free: 28.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.063e-05/0.1161, allocations: 23.98 kB / 0.7046 GB, free: 28.17 MB / 442.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.0003549/0.1165, allocations: 316.9 kB / 0.7049 GB, free: 27.85 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.1166, allocations: 67.16 kB / 0.7049 GB, free: 27.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/0.1184, allocations: 0.7836 MB / 0.7057 GB, free: 26.99 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.319e-06/0.1184, allocations: 7.953 kB / 0.7057 GB, free: 26.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.763e-06/0.1184, allocations: 0 / 0.7057 GB, free: 26.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.1185, allocations: 7.984 kB / 0.7057 GB, free: 26.98 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004152/0.1226, allocations: 2.121 MB / 0.7078 GB, free: 24.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/0.1226, allocations: 4 kB / 0.7078 GB, free: 24.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007299/0.1234, allocations: 132.5 kB / 0.7079 GB, free: 24.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002188/0.1236, allocations: 60.75 kB / 0.708 GB, free: 24.53 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.458e-05/0.1237, allocations: 23.98 kB / 0.708 GB, free: 24.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.1249, allocations: 1.588 MB / 0.7095 GB, free: 22.78 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.688e-06/0.1249, allocations: 11.94 kB / 0.7096 GB, free: 22.77 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002252/0.1272, allocations: 1.336 MB / 0.7109 GB, free: 21.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002519/0.1275, allocations: 196.2 kB / 0.7111 GB, free: 21.12 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.226e-05/0.1276, allocations: 16 kB / 0.7111 GB, free: 21.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005402/0.1281, allocations: 59.95 kB / 0.7111 GB, free: 21.05 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.1282, allocations: 63.81 kB / 0.7112 GB, free: 20.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.308e-05/0.1283, allocations: 23.98 kB / 0.7112 GB, free: 20.96 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005468/0.1289, allocations: 386.8 kB / 0.7116 GB, free: 20.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.12e-07/0.1289, allocations: 0 / 0.7116 GB, free: 20.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001186/0.1301, allocations: 240 kB / 0.7118 GB, free: 20.36 MB / 442.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.0001382/0.1302, allocations: 135 kB / 0.7119 GB, free: 20.21 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002338/0.1326, allocations: 1.243 MB / 0.7131 GB, free: 18.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.852e-06/0.1326, allocations: 0 / 0.7131 GB, free: 18.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.1337, allocations: 0.4998 MB / 0.7136 GB, free: 18.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009198/0.1346, allocations: 154.1 kB / 0.7138 GB, free: 18.29 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002763/0.1374, allocations: 1.933 MB / 0.7157 GB, free: 16.24 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004985/0.1379, allocations: 0.9937 MB / 0.7166 GB, free: 15.22 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000609/0.1385, allocations: 136.6 kB / 0.7168 GB, free: 15.09 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.1388, allocations: 47.42 kB / 0.7168 GB, free: 15.04 MB / 442.7 MB Notification: Performance of SimCode: time 1.786e-06/0.1388, allocations: 8 kB / 0.7168 GB, free: 15.04 MB / 442.7 MB Notification: Performance of Templates: time 0.01538/0.1542, allocations: 7.303 MB / 0.724 GB, free: 7.727 MB / 442.7 MB