Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.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.WindFarmLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002345/0.002345, allocations: 353.3 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.164/3.164, allocations: 388.9 MB / 406.2 MB, free: 6.938 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.003286/0.003286, allocations: 240.2 kB / 451.6 MB, free: 0.5859 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.624/0.624, allocations: 76.03 MB / 0.5594 GB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004919/0.000492, allocations: 12 kB / 0.6216 GB, free: 14.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2612, allocations: 53.22 MB / 0.6736 GB, free: 62.62 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest): time 0.003852/0.2651, allocations: 3.841 MB / 0.6774 GB, free: 58.77 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002776/0.2679, allocations: 2.088 MB / 0.6794 GB, free: 56.68 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001677/0.2681, allocations: 12.78 kB / 0.6794 GB, free: 56.66 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002801/0.2684, allocations: 79.45 kB / 0.6795 GB, free: 56.59 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006364/0.269, allocations: 284.8 kB / 0.6798 GB, free: 56.31 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003949/0.2694, allocations: 168.8 kB / 0.6799 GB, free: 56.14 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005589/0.27, allocations: 0.7364 MB / 0.6806 GB, free: 55.41 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007886/0.2708, allocations: 448.7 kB / 0.6811 GB, free: 54.96 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004668/0.2713, allocations: 227.1 kB / 0.6813 GB, free: 54.74 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004215/0.2717, allocations: 271.1 kB / 0.6815 GB, free: 54.47 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.216e-05/0.2718, allocations: 23.94 kB / 0.6816 GB, free: 54.45 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005558/0.2724, allocations: 277.3 kB / 0.6818 GB, free: 54.18 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.2725, allocations: 155.5 kB / 0.682 GB, free: 54.03 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.826e-05/0.2726, allocations: 105.5 kB / 0.6821 GB, free: 53.92 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005514/0.2732, allocations: 0.569 MB / 0.6826 GB, free: 53.35 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.387e-06/0.2732, allocations: 0 / 0.6826 GB, free: 53.35 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.699e-06/0.2732, allocations: 0 / 0.6826 GB, free: 53.35 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.2733, allocations: 1 kB / 0.6826 GB, free: 53.35 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001105/0.2744, allocations: 0.806 MB / 0.6834 GB, free: 52.47 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.2744, allocations: 8.031 kB / 0.6834 GB, free: 52.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.2757, allocations: 159.3 kB / 0.6836 GB, free: 52.31 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000576/0.2763, allocations: 418.7 kB / 0.684 GB, free: 51.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.2763, allocations: 24.59 kB / 0.684 GB, free: 51.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-05/0.2764, allocations: 32 kB / 0.684 GB, free: 51.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.2775, allocations: 0.5633 MB / 0.6846 GB, free: 51.22 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.2775, allocations: 0 / 0.6846 GB, free: 51.22 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.271e-05/0.2776, allocations: 12 kB / 0.6846 GB, free: 51.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.748e-05/0.2776, allocations: 20.64 kB / 0.6846 GB, free: 51.19 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.279, allocations: 0.6427 MB / 0.6852 GB, free: 50.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002642/0.2816, allocations: 1.968 MB / 0.6872 GB, free: 48.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.2832, allocations: 1.014 MB / 0.6882 GB, free: 47.34 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00051/0.2837, allocations: 207.6 kB / 0.6883 GB, free: 47.13 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.642e-05/0.2838, allocations: 20.19 kB / 0.6884 GB, free: 47.11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006204/0.2844, allocations: 297.9 kB / 0.6887 GB, free: 46.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 2.637e-06/0.2845, allocations: 0 / 0.6887 GB, free: 46.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=37): time 0.002555/0.287, allocations: 1.061 MB / 0.6897 GB, free: 45.72 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.2871, allocations: 114.7 kB / 0.6898 GB, free: 45.58 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003816/0.2875, allocations: 349.5 kB / 0.6901 GB, free: 45.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.827e-05/0.2875, allocations: 37.7 kB / 0.6902 GB, free: 45.19 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.2877, allocations: 224.2 kB / 0.6904 GB, free: 44.97 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.481e-05/0.2878, allocations: 130.3 kB / 0.6905 GB, free: 44.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.2878, allocations: 12.03 kB / 0.6905 GB, free: 44.83 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.455e-05/0.2879, allocations: 350.8 kB / 0.6909 GB, free: 44.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005078/0.2884, allocations: 205 kB / 0.691 GB, free: 44.28 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005662/0.289, allocations: 341.8 kB / 0.6914 GB, free: 43.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005713/0.2896, allocations: 302.4 kB / 0.6917 GB, free: 43.58 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.384e-06/0.2896, allocations: 3.938 kB / 0.6917 GB, free: 43.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001509/0.2911, allocations: 0.7193 MB / 0.6924 GB, free: 42.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.2912, allocations: 67.39 kB / 0.6924 GB, free: 42.76 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.583e-06/0.2912, allocations: 4 kB / 0.6924 GB, free: 42.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001456/0.2914, allocations: 28.84 kB / 0.6925 GB, free: 42.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004735/0.2919, allocations: 112.2 kB / 0.6926 GB, free: 42.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009807/0.2929, allocations: 1.333 MB / 0.6939 GB, free: 41.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000408/0.2933, allocations: 35.98 kB / 0.6939 GB, free: 41.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.299e-05/0.2934, allocations: 27.98 kB / 0.6939 GB, free: 41.09 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.windFarm.wind.nextTimeEvent,$whenCondition1,windFarm.wind.nextTimeEvent,$PRE.windFarm.wind.nextTimeEventScaled,windFarm.wind.nextTimeEventScaled,$PRE.windFarm.disturbance.T_start,windFarm.disturbance.T_start,$PRE.windFarm.disturbance.count,windFarm.disturbance.count,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002434/0.2936, allocations: 216.6 kB / 0.6941 GB, free: 40.87 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.838e-05/0.2937, allocations: 43.53 kB / 0.6942 GB, free: 40.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/0.295, allocations: 0.5161 MB / 0.6947 GB, free: 40.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.283e-06/0.2951, allocations: 7.953 kB / 0.6947 GB, free: 40.29 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.593e-06/0.2951, allocations: 4 kB / 0.6947 GB, free: 40.29 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7e-06/0.2951, allocations: 3.984 kB / 0.6947 GB, free: 40.29 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/0.2972, allocations: 1.129 MB / 0.6958 GB, free: 39.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.144e-06/0.2972, allocations: 4 kB / 0.6958 GB, free: 39.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003391/0.2976, allocations: 67.89 kB / 0.6959 GB, free: 39.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.605e-05/0.2977, allocations: 32.84 kB / 0.6959 GB, free: 38.99 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/0.2977, allocations: 11.98 kB / 0.6959 GB, free: 38.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000862/0.2986, allocations: 1.327 MB / 0.6972 GB, free: 37.51 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.929e-06/0.2986, allocations: 4.031 kB / 0.6972 GB, free: 37.51 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.2999, allocations: 0.615 MB / 0.6978 GB, free: 36.86 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.3001, allocations: 152.6 kB / 0.698 GB, free: 36.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.541e-05/0.3002, allocations: 15.98 kB / 0.698 GB, free: 36.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003204/0.3005, allocations: 31.97 kB / 0.698 GB, free: 36.65 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.3006, allocations: 43.84 kB / 0.698 GB, free: 36.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.005e-05/0.3007, allocations: 19.98 kB / 0.6981 GB, free: 36.59 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004335/0.3011, allocations: 243.2 kB / 0.6983 GB, free: 36.36 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.4e-07/0.3011, allocations: 0 / 0.6983 GB, free: 36.36 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001409/0.3026, allocations: 120 kB / 0.6984 GB, free: 36.24 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,$whenCondition2,$whenCondition1,windFarm.wind.nextTimeEvent,windFarm.wind.nextTimeEventScaled,windFarm.disturbance.T_start,windFarm.disturbance.count) * Number of discrete states: 3 (windFarm.wind.nextTimeEvent,windFarm.disturbance.count,windFarm.wind.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002366/0.3049, allocations: 475.5 kB / 0.6989 GB, free: 35.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002423/0.3074, allocations: 0.7148 MB / 0.6996 GB, free: 35.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.158e-06/0.3074, allocations: 0 / 0.6996 GB, free: 35.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006744/0.3081, allocations: 354.4 kB / 0.6999 GB, free: 34.82 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005799/0.3087, allocations: 61.39 kB / 0.7 GB, free: 34.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.3102, allocations: 0.9368 MB / 0.7009 GB, free: 33.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.3106, allocations: 0.8557 MB / 0.7017 GB, free: 32.89 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003401/0.3109, allocations: 107.1 kB / 0.7018 GB, free: 32.79 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.3111, allocations: 47.36 kB / 0.7019 GB, free: 32.75 MB / 346.7 MB Notification: Performance of SimCode: time 1.293e-06/0.3111, allocations: 0 / 0.7019 GB, free: 32.75 MB / 346.7 MB Notification: Performance of Templates: time 0.01198/0.3231, allocations: 5.367 MB / 0.7071 GB, free: 27.4 MB / 346.7 MB