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.002328/0.002332, allocations: 356.2 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.403/3.403, allocations: 388.9 MB / 406.2 MB, free: 11.9 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.003439/0.003439, allocations: 237.5 kB / 451.6 MB, free: 14.5 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.6427/0.6427, allocations: 76.01 MB / 0.5594 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004686/0.0004687, allocations: 12 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06771/0.0682, allocations: 53.23 MB / 0.6736 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.005223/0.07346, allocations: 4.936 MB / 0.6784 GB, free: 55.86 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003006/0.07649, allocations: 2.157 MB / 0.6805 GB, free: 53.7 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003601/0.07687, allocations: 31.81 kB / 0.6806 GB, free: 53.66 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003223/0.07721, allocations: 95.14 kB / 0.6807 GB, free: 53.57 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007111/0.07794, allocations: 306.2 kB / 0.6809 GB, free: 53.27 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008797/0.07883, allocations: 359.2 kB / 0.6813 GB, free: 52.92 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008029/0.07967, allocations: 0.9403 MB / 0.6822 GB, free: 51.98 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008724/0.08056, allocations: 0.6001 MB / 0.6828 GB, free: 51.34 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003249/0.0809, allocations: 274.6 kB / 0.6831 GB, free: 51.07 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000345/0.08126, allocations: 314.4 kB / 0.6834 GB, free: 50.76 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.727e-05/0.08134, allocations: 24 kB / 0.6834 GB, free: 50.73 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003138/0.08167, allocations: 155.6 kB / 0.6835 GB, free: 50.58 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.08181, allocations: 147.4 kB / 0.6837 GB, free: 50.44 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.08194, allocations: 145.3 kB / 0.6838 GB, free: 50.29 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007081/0.08266, allocations: 0.7364 MB / 0.6845 GB, free: 49.55 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.775e-06/0.08268, allocations: 0 / 0.6845 GB, free: 49.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.985e-06/0.08269, allocations: 4 kB / 0.6845 GB, free: 49.55 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.943e-06/0.08271, allocations: 0 / 0.6845 GB, free: 49.55 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001588/0.0843, allocations: 0.9582 MB / 0.6855 GB, free: 48.54 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.08435, allocations: 12.83 kB / 0.6855 GB, free: 48.53 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.08542, allocations: 166.9 kB / 0.6856 GB, free: 48.36 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008727/0.08631, allocations: 0.5237 MB / 0.6861 GB, free: 47.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.093e-05/0.08638, allocations: 53.23 kB / 0.6862 GB, free: 47.75 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.0865, allocations: 60 kB / 0.6863 GB, free: 47.69 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.08786, allocations: 0.702 MB / 0.6869 GB, free: 46.96 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.0879, allocations: 3.938 kB / 0.6869 GB, free: 46.95 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.801e-05/0.08798, allocations: 35.97 kB / 0.687 GB, free: 46.92 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-05/0.08803, allocations: 29.3 kB / 0.687 GB, free: 46.89 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/0.08942, allocations: 0.6219 MB / 0.6876 GB, free: 46.27 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004003/0.09344, allocations: 2.508 MB / 0.6901 GB, free: 43.66 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.09501, allocations: 0.7116 MB / 0.6908 GB, free: 42.91 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005279/0.09555, allocations: 247 kB / 0.691 GB, free: 42.66 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.767e-05/0.09562, allocations: 12.41 kB / 0.691 GB, free: 42.64 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.09565, allocations: 39 kB / 0.691 GB, free: 42.6 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 2.77e-06/0.09566, allocations: 0 / 0.691 GB, free: 42.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.001783/0.09746, allocations: 0.7129 MB / 0.6917 GB, free: 41.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.09751, allocations: 115.2 kB / 0.6918 GB, free: 41.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007529/0.09827, allocations: 0.5309 MB / 0.6924 GB, free: 41.21 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.09835, allocations: 33.7 kB / 0.6924 GB, free: 41.17 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.09858, allocations: 328.6 kB / 0.6927 GB, free: 40.84 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.09872, allocations: 169.5 kB / 0.6929 GB, free: 40.67 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.09877, allocations: 12 kB / 0.6929 GB, free: 40.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.09888, allocations: 370.8 kB / 0.6932 GB, free: 40.29 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005215/0.09941, allocations: 209 kB / 0.6934 GB, free: 40.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005758/0.1, allocations: 321 kB / 0.6937 GB, free: 39.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005664/0.1006, allocations: 236.8 kB / 0.694 GB, free: 39.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.774e-06/0.1006, allocations: 0 / 0.694 GB, free: 39.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001855/0.1025, allocations: 0.7769 MB / 0.6947 GB, free: 38.71 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.305e-05/0.1025, allocations: 168.4 kB / 0.6949 GB, free: 38.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.1026, allocations: 4 kB / 0.6949 GB, free: 38.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004986/0.1031, allocations: 132.8 kB / 0.695 GB, free: 38.37 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006331/0.1037, allocations: 135.8 kB / 0.6951 GB, free: 38.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002742/0.1065, allocations: 2.159 MB / 0.6973 GB, free: 35.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004812/0.107, allocations: 83.45 kB / 0.6973 GB, free: 35.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.868e-05/0.1071, allocations: 27.89 kB / 0.6974 GB, free: 35.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.828e-06/0.1071, allocations: 4 kB / 0.6974 GB, free: 35.83 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001331/0.1084, allocations: 0.573 MB / 0.6979 GB, free: 35.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.096e-06/0.1084, allocations: 12.3 kB / 0.6979 GB, free: 35.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002812/0.1087, allocations: 88.73 kB / 0.698 GB, free: 35.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006185/0.1094, allocations: 123.9 kB / 0.6981 GB, free: 35.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00198/0.1114, allocations: 1.921 MB / 0.7 GB, free: 32.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000435/0.1118, allocations: 79.47 kB / 0.7001 GB, free: 32.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-05/0.1119, allocations: 16 kB / 0.7001 GB, free: 32.88 MB / 442.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.0002947/0.1122, allocations: 312.8 kB / 0.7004 GB, free: 32.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.1123, allocations: 59.62 kB / 0.7005 GB, free: 32.51 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.1137, allocations: 0.5651 MB / 0.701 GB, free: 31.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.959e-06/0.1137, allocations: 8 kB / 0.701 GB, free: 31.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.722e-06/0.1137, allocations: 4 kB / 0.701 GB, free: 31.92 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.194e-06/0.1137, allocations: 3.938 kB / 0.701 GB, free: 31.92 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/0.1159, allocations: 1.298 MB / 0.7023 GB, free: 30.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.989e-06/0.116, allocations: 4 kB / 0.7023 GB, free: 30.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006759/0.1166, allocations: 111.9 kB / 0.7024 GB, free: 30.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.456e-06/0.1167, allocations: 4 kB / 0.7024 GB, free: 30.44 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.605e-05/0.1167, allocations: 15.98 kB / 0.7024 GB, free: 30.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.909e-06/0.1167, allocations: 0 / 0.7024 GB, free: 30.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.756e-06/0.1167, allocations: 0 / 0.7024 GB, free: 30.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.1186, allocations: 0.9131 MB / 0.7033 GB, free: 29.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002312/0.1189, allocations: 192.2 kB / 0.7035 GB, free: 29.29 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.579e-05/0.119, allocations: 8 kB / 0.7035 GB, free: 29.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004409/0.1194, allocations: 43.95 kB / 0.7036 GB, free: 29.24 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.358e-05/0.1195, allocations: 32.39 kB / 0.7036 GB, free: 29.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-05/0.1196, allocations: 19.98 kB / 0.7036 GB, free: 29.19 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005739/0.1202, allocations: 382.8 kB / 0.704 GB, free: 28.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.48e-07/0.1202, allocations: 0 / 0.704 GB, free: 28.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009094/0.1211, allocations: 251.3 kB / 0.7042 GB, free: 28.57 MB / 442.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.0001188/0.1212, allocations: 119.2 kB / 0.7043 GB, free: 28.44 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002138/0.1234, allocations: 1.064 MB / 0.7054 GB, free: 27.35 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.189e-06/0.1234, allocations: 0 / 0.7054 GB, free: 27.35 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005633/0.124, allocations: 258.5 kB / 0.7056 GB, free: 27.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007575/0.1247, allocations: 116.3 kB / 0.7057 GB, free: 26.99 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.1276, allocations: 1.736 MB / 0.7074 GB, free: 25.22 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.128, allocations: 0.9453 MB / 0.7083 GB, free: 24.25 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005022/0.1285, allocations: 116.4 kB / 0.7084 GB, free: 24.14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.1287, allocations: 43.44 kB / 0.7085 GB, free: 24.09 MB / 442.7 MB Notification: Performance of SimCode: time 1.426e-06/0.1287, allocations: 3.938 kB / 0.7085 GB, free: 24.09 MB / 442.7 MB Notification: Performance of Templates: time 0.01777/0.1465, allocations: 6.884 MB / 0.7152 GB, free: 17.2 MB / 442.7 MB