Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.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.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002285/0.002285, allocations: 357.1 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.078/3.078, allocations: 388.9 MB / 406.2 MB, free: 6.848 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003251/0.003251, allocations: 232.2 kB / 451.6 MB, free: 0.582 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.6178/0.6178, allocations: 76.02 MB / 0.5594 GB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004818/0.000482, allocations: 15.98 kB / 0.6216 GB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2575, allocations: 53.22 MB / 0.6736 GB, free: 62.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2): time 0.004849/0.2624, allocations: 4.962 MB / 0.6785 GB, free: 57.65 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003217/0.2656, allocations: 2.158 MB / 0.6806 GB, free: 55.5 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003571/0.266, allocations: 31.81 kB / 0.6806 GB, free: 55.47 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003208/0.2663, allocations: 95.19 kB / 0.6807 GB, free: 55.38 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007207/0.2671, allocations: 306.1 kB / 0.681 GB, free: 55.07 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000843/0.2679, allocations: 363.1 kB / 0.6813 GB, free: 54.72 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008082/0.2688, allocations: 0.952 MB / 0.6822 GB, free: 53.77 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000903/0.2697, allocations: 0.6079 MB / 0.6828 GB, free: 53.12 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003491/0.27, allocations: 282.6 kB / 0.6831 GB, free: 52.85 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003354/0.2704, allocations: 318.4 kB / 0.6834 GB, free: 52.54 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.959e-05/0.2705, allocations: 24 kB / 0.6834 GB, free: 52.51 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003157/0.2708, allocations: 163.5 kB / 0.6836 GB, free: 52.35 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.271, allocations: 147.4 kB / 0.6837 GB, free: 52.21 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001069/0.2711, allocations: 149.3 kB / 0.6839 GB, free: 52.05 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006486/0.2717, allocations: 0.7365 MB / 0.6846 GB, free: 51.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2718, allocations: 0 / 0.6846 GB, free: 51.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2718, allocations: 0 / 0.6846 GB, free: 51.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.2718, allocations: 0 / 0.6846 GB, free: 51.32 MB / 346.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.001689/0.2735, allocations: 0.9816 MB / 0.6856 GB, free: 50.29 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.2735, allocations: 16.03 kB / 0.6856 GB, free: 50.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009838/0.2745, allocations: 166.9 kB / 0.6857 GB, free: 50.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008608/0.2754, allocations: 0.5375 MB / 0.6863 GB, free: 49.53 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.583e-05/0.2755, allocations: 45.31 kB / 0.6863 GB, free: 49.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.2756, allocations: 55.98 kB / 0.6863 GB, free: 49.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.277, allocations: 0.7293 MB / 0.6871 GB, free: 48.67 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.2771, allocations: 0 / 0.6871 GB, free: 48.67 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.676e-05/0.2772, allocations: 31.95 kB / 0.6871 GB, free: 48.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.943e-05/0.2772, allocations: 29.3 kB / 0.6871 GB, free: 48.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.2787, allocations: 0.657 MB / 0.6878 GB, free: 47.95 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004139/0.2828, allocations: 2.539 MB / 0.6902 GB, free: 45.31 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.2846, allocations: 0.7461 MB / 0.691 GB, free: 44.53 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005933/0.2852, allocations: 255 kB / 0.6912 GB, free: 44.28 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.889e-05/0.2853, allocations: 20.38 kB / 0.6912 GB, free: 44.26 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.2853, allocations: 39 kB / 0.6913 GB, free: 44.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 2.668e-06/0.2853, allocations: 0 / 0.6913 GB, free: 44.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=49): time 0.001971/0.2873, allocations: 0.7756 MB / 0.692 GB, free: 43.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.2873, allocations: 115.4 kB / 0.6921 GB, free: 43.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007529/0.2881, allocations: 0.534 MB / 0.6927 GB, free: 42.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/0.2882, allocations: 37.7 kB / 0.6927 GB, free: 42.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/0.2884, allocations: 325.3 kB / 0.693 GB, free: 42.38 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.2885, allocations: 173.5 kB / 0.6932 GB, free: 42.21 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.2886, allocations: 15.94 kB / 0.6932 GB, free: 42.2 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.2887, allocations: 378.8 kB / 0.6935 GB, free: 41.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006334/0.2893, allocations: 221 kB / 0.6938 GB, free: 41.6 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006368/0.29, allocations: 341.1 kB / 0.6941 GB, free: 41.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006382/0.2906, allocations: 264.7 kB / 0.6943 GB, free: 40.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/0.2907, allocations: 0 / 0.6943 GB, free: 40.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00204/0.2927, allocations: 0.8121 MB / 0.6951 GB, free: 40.15 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.349e-05/0.2928, allocations: 172.4 kB / 0.6953 GB, free: 39.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.2928, allocations: 4 kB / 0.6953 GB, free: 39.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004802/0.2933, allocations: 128.7 kB / 0.6954 GB, free: 39.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006511/0.294, allocations: 135.9 kB / 0.6955 GB, free: 39.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00282/0.2968, allocations: 2.159 MB / 0.6977 GB, free: 37.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004935/0.2973, allocations: 87.67 kB / 0.6977 GB, free: 37.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.862e-05/0.2974, allocations: 20 kB / 0.6978 GB, free: 37.28 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.533e-06/0.2974, allocations: 8.062 kB / 0.6978 GB, free: 37.27 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001516/0.2989, allocations: 0.6278 MB / 0.6984 GB, free: 36.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.299, allocations: 4 kB / 0.6984 GB, free: 36.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002755/0.2992, allocations: 92.8 kB / 0.6985 GB, free: 36.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006488/0.2999, allocations: 147.7 kB / 0.6986 GB, free: 36.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/0.3019, allocations: 1.936 MB / 0.7005 GB, free: 34.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005164/0.3024, allocations: 71.5 kB / 0.7006 GB, free: 34.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.685e-05/0.3025, allocations: 23.98 kB / 0.7006 GB, free: 34.23 MB / 346.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 (57): * Single equations (assignments): 56 * 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.0003096/0.3028, allocations: 296.2 kB / 0.7009 GB, free: 33.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.3029, allocations: 63.25 kB / 0.7009 GB, free: 33.87 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.3045, allocations: 0.6196 MB / 0.7015 GB, free: 33.24 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.303e-05/0.3045, allocations: 4 kB / 0.7015 GB, free: 33.24 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.98e-06/0.3046, allocations: 0 / 0.7015 GB, free: 33.24 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.3046, allocations: 4 kB / 0.7016 GB, free: 33.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002338/0.3069, allocations: 1.349 MB / 0.7029 GB, free: 31.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.92e-06/0.3069, allocations: 0 / 0.7029 GB, free: 31.83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006978/0.3077, allocations: 119.9 kB / 0.703 GB, free: 31.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.838e-06/0.3077, allocations: 7.938 kB / 0.703 GB, free: 31.7 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.63e-05/0.3077, allocations: 15.98 kB / 0.703 GB, free: 31.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.256e-06/0.3077, allocations: 0 / 0.703 GB, free: 31.69 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.956e-06/0.3078, allocations: 0 / 0.703 GB, free: 31.69 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/0.3098, allocations: 0.9873 MB / 0.704 GB, free: 30.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002384/0.31, allocations: 192.2 kB / 0.7042 GB, free: 30.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.676e-05/0.3101, allocations: 8 kB / 0.7042 GB, free: 30.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004725/0.3106, allocations: 51.95 kB / 0.7042 GB, free: 30.42 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.99e-05/0.3107, allocations: 40.38 kB / 0.7042 GB, free: 30.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.981e-05/0.3108, allocations: 12 kB / 0.7043 GB, free: 30.37 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005622/0.3114, allocations: 382.8 kB / 0.7046 GB, free: 30 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.3114, allocations: 4 kB / 0.7046 GB, free: 29.99 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009303/0.3123, allocations: 255.2 kB / 0.7049 GB, free: 29.74 MB / 346.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 (50): * Single equations (assignments): 49 * 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.0001224/0.3125, allocations: 115.3 kB / 0.705 GB, free: 29.62 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002343/0.3148, allocations: 1.119 MB / 0.7061 GB, free: 28.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.07e-06/0.3148, allocations: 4 kB / 0.7061 GB, free: 28.47 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006596/0.3155, allocations: 282.4 kB / 0.7063 GB, free: 28.2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007918/0.3163, allocations: 127.8 kB / 0.7065 GB, free: 28.08 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002804/0.3191, allocations: 1.758 MB / 0.7082 GB, free: 26.29 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/0.3196, allocations: 0.9494 MB / 0.7091 GB, free: 25.31 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005529/0.3201, allocations: 116.5 kB / 0.7092 GB, free: 25.2 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.3203, allocations: 39.44 kB / 0.7093 GB, free: 25.16 MB / 346.7 MB Notification: Performance of SimCode: time 1.408e-06/0.3204, allocations: 0 / 0.7093 GB, free: 25.16 MB / 346.7 MB Notification: Performance of Templates: time 0.01552/0.3359, allocations: 7.04 MB / 0.7161 GB, free: 18.19 MB / 346.7 MB