Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.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.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002412/0.002412, allocations: 354.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.233/3.233, allocations: 388.9 MB / 406.2 MB, free: 6.91 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.003043/0.003043, allocations: 230.4 kB / 451.6 MB, free: 0.5898 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.6055/0.6055, allocations: 76.03 MB / 0.5594 GB, free: 14.45 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000449/0.0004491, allocations: 12 kB / 0.6216 GB, free: 14.85 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2512, allocations: 53.21 MB / 0.6736 GB, free: 62.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.003964/0.2552, allocations: 4.237 MB / 0.6777 GB, free: 58.4 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002927/0.2582, allocations: 2.43 MB / 0.6801 GB, free: 55.96 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002113/0.2584, allocations: 23.81 kB / 0.6801 GB, free: 55.94 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.2587, allocations: 79.5 kB / 0.6802 GB, free: 55.86 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006547/0.2594, allocations: 282.5 kB / 0.6805 GB, free: 55.58 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005695/0.26, allocations: 251.2 kB / 0.6807 GB, free: 55.34 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000527/0.2605, allocations: 0.6545 MB / 0.6814 GB, free: 54.68 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005331/0.2611, allocations: 296.3 kB / 0.6816 GB, free: 54.38 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000361/0.2614, allocations: 211.1 kB / 0.6818 GB, free: 54.17 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003301/0.2618, allocations: 235.1 kB / 0.6821 GB, free: 53.94 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.03e-05/0.2619, allocations: 20 kB / 0.6821 GB, free: 53.92 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005896/0.2625, allocations: 291.1 kB / 0.6824 GB, free: 53.64 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.2626, allocations: 103.7 kB / 0.6825 GB, free: 53.54 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.2627, allocations: 93.52 kB / 0.6826 GB, free: 53.44 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000594/0.2633, allocations: 0.5183 MB / 0.6831 GB, free: 52.92 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.964e-06/0.2634, allocations: 0 / 0.6831 GB, free: 52.92 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.129e-06/0.2634, allocations: 0 / 0.6831 GB, free: 52.92 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.2634, allocations: 4 kB / 0.6831 GB, free: 52.91 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001067/0.2645, allocations: 0.7707 MB / 0.6838 GB, free: 52.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.2645, allocations: 12.03 kB / 0.6838 GB, free: 52.06 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.2658, allocations: 123.4 kB / 0.6839 GB, free: 51.94 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005693/0.2664, allocations: 398.5 kB / 0.6843 GB, free: 51.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.2664, allocations: 24.53 kB / 0.6843 GB, free: 51.49 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.429e-05/0.2665, allocations: 24 kB / 0.6844 GB, free: 51.47 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008878/0.2674, allocations: 465.2 kB / 0.6848 GB, free: 50.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.2674, allocations: 3.953 kB / 0.6848 GB, free: 50.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.003e-05/0.2674, allocations: 8 kB / 0.6848 GB, free: 50.97 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.886e-05/0.2675, allocations: 28.42 kB / 0.6849 GB, free: 50.95 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.2685, allocations: 0.509 MB / 0.6853 GB, free: 50.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.2705, allocations: 1.822 MB / 0.6871 GB, free: 48.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.2717, allocations: 422.2 kB / 0.6875 GB, free: 48.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003997/0.2721, allocations: 165.6 kB / 0.6877 GB, free: 47.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/0.2722, allocations: 7.984 kB / 0.6877 GB, free: 47.9 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005426/0.2728, allocations: 293.2 kB / 0.688 GB, free: 47.58 MB / 346.7 MB Notification: Performance of pre-optimization done (n=30): time 3.053e-06/0.2728, allocations: 4 kB / 0.688 GB, free: 47.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=30): time 0.001439/0.2742, allocations: 0.5615 MB / 0.6885 GB, free: 47.01 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.175e-05/0.2743, allocations: 247.3 kB / 0.6888 GB, free: 46.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003726/0.2747, allocations: 345.6 kB / 0.6891 GB, free: 46.37 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.2747, allocations: 33.7 kB / 0.6891 GB, free: 46.33 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.2749, allocations: 204.2 kB / 0.6893 GB, free: 46.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.093e-05/0.275, allocations: 98.73 kB / 0.6894 GB, free: 46.03 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.275, allocations: 8 kB / 0.6894 GB, free: 46.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.902e-05/0.2751, allocations: 350.8 kB / 0.6898 GB, free: 45.67 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004565/0.2756, allocations: 172.7 kB / 0.6899 GB, free: 45.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005415/0.2761, allocations: 308.4 kB / 0.6902 GB, free: 45.14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000497/0.2766, allocations: 266.5 kB / 0.6905 GB, free: 44.87 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.005e-06/0.2767, allocations: 0 / 0.6905 GB, free: 44.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001369/0.278, allocations: 0.6371 MB / 0.6911 GB, free: 44.21 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.342e-05/0.2781, allocations: 63.41 kB / 0.6912 GB, free: 44.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.2781, allocations: 4 kB / 0.6912 GB, free: 44.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.2782, allocations: 8 kB / 0.6912 GB, free: 44.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004128/0.2786, allocations: 95.88 kB / 0.6913 GB, free: 44.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.2786, allocations: 11.92 kB / 0.6913 GB, free: 44.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004144/0.279, allocations: 71.56 kB / 0.6913 GB, free: 43.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.928e-05/0.2791, allocations: 27.98 kB / 0.6914 GB, free: 43.92 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002114/0.2793, allocations: 185.7 kB / 0.6915 GB, free: 43.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.483e-05/0.2794, allocations: 39.53 kB / 0.6916 GB, free: 43.69 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.619e-05/0.2795, allocations: 47.28 kB / 0.6916 GB, free: 43.63 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7e-06/0.2795, allocations: 7.984 kB / 0.6916 GB, free: 43.62 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.015e-06/0.2795, allocations: 8 kB / 0.6916 GB, free: 43.62 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.025e-06/0.2795, allocations: 3.938 kB / 0.6916 GB, free: 43.61 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007979/0.2803, allocations: 0.8547 MB / 0.6925 GB, free: 42.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.285e-06/0.2804, allocations: 4 kB / 0.6925 GB, free: 42.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000345/0.2807, allocations: 72.02 kB / 0.6925 GB, free: 42.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.394e-06/0.2807, allocations: 0 / 0.6925 GB, free: 42.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/0.2808, allocations: 19.89 kB / 0.6926 GB, free: 42.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.465e-06/0.2808, allocations: 7.984 kB / 0.6926 GB, free: 42.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.718e-06/0.2808, allocations: 7.938 kB / 0.6926 GB, free: 42.58 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009621/0.2818, allocations: 493.4 kB / 0.6931 GB, free: 42.06 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.2819, allocations: 152.6 kB / 0.6932 GB, free: 41.89 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.766e-05/0.282, allocations: 15.94 kB / 0.6932 GB, free: 41.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.2823, allocations: 39.92 kB / 0.6933 GB, free: 41.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.008e-05/0.2824, allocations: 35.89 kB / 0.6933 GB, free: 41.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/0.2824, allocations: 15.98 kB / 0.6933 GB, free: 41.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002388/0.2827, allocations: 239.2 kB / 0.6935 GB, free: 41.56 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.23e-07/0.2827, allocations: 0 / 0.6935 GB, free: 41.56 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005438/0.2833, allocations: 99.89 kB / 0.6936 GB, free: 41.46 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.nextTimeEventScaled,windFarm.disturbance.count,windFarm.wind.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00134/0.2846, allocations: 482.1 kB / 0.6941 GB, free: 41.14 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.2857, allocations: 0.5366 MB / 0.6946 GB, free: 40.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.054e-06/0.2857, allocations: 0 / 0.6946 GB, free: 40.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005194/0.2863, allocations: 216.2 kB / 0.6948 GB, free: 40.38 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004928/0.2868, allocations: 69.31 kB / 0.6949 GB, free: 40.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.2881, allocations: 0.7959 MB / 0.6957 GB, free: 39.46 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.2883, allocations: 0.8154 MB / 0.6965 GB, free: 38.62 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003118/0.2887, allocations: 87.16 kB / 0.6965 GB, free: 38.54 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.2888, allocations: 39.42 kB / 0.6966 GB, free: 38.5 MB / 346.7 MB Notification: Performance of SimCode: time 1.394e-06/0.2888, allocations: 0 / 0.6966 GB, free: 38.5 MB / 346.7 MB Notification: Performance of Templates: time 0.009985/0.2988, allocations: 4.527 MB / 0.701 GB, free: 33.99 MB / 346.7 MB