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.00356/0.003564, allocations: 363.5 kB / 17.22 MB, free: 4.922 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.783/3.783, allocations: 388.9 MB / 406.8 MB, free: 12.01 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.00354/0.00354, allocations: 233.6 kB / 452.2 MB, free: 14.6 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.734/0.734, allocations: 76.02 MB / 0.56 GB, free: 177.7 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004546/0.0004548, allocations: 12 kB / 0.6222 GB, free: 114.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08892/0.0894, allocations: 53.23 MB / 0.6742 GB, free: 60.96 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.005222/0.09468, allocations: 4.246 MB / 0.6784 GB, free: 56.69 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004346/0.09908, allocations: 2.422 MB / 0.6807 GB, free: 54.26 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004269/0.09955, allocations: 23.88 kB / 0.6808 GB, free: 54.23 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004363/0.1, allocations: 87.38 kB / 0.6808 GB, free: 54.15 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009511/0.101, allocations: 274.6 kB / 0.6811 GB, free: 53.88 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009612/0.102, allocations: 247.1 kB / 0.6813 GB, free: 53.64 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007487/0.1027, allocations: 0.6623 MB / 0.682 GB, free: 52.97 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006459/0.1034, allocations: 301.9 kB / 0.6823 GB, free: 52.65 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004545/0.1039, allocations: 211.1 kB / 0.6825 GB, free: 52.45 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003542/0.1042, allocations: 231.2 kB / 0.6827 GB, free: 52.22 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.64e-05/0.1043, allocations: 16 kB / 0.6827 GB, free: 52.2 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008183/0.1051, allocations: 283.1 kB / 0.683 GB, free: 51.93 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.1053, allocations: 119.6 kB / 0.6831 GB, free: 51.81 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.197e-05/0.1054, allocations: 93.52 kB / 0.6832 GB, free: 51.71 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007067/0.1061, allocations: 0.5105 MB / 0.6837 GB, free: 51.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1061, allocations: 4 kB / 0.6837 GB, free: 51.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1061, allocations: 0 / 0.6837 GB, free: 51.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1061, allocations: 0 / 0.6837 GB, free: 51.2 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001485/0.1076, allocations: 0.774 MB / 0.6844 GB, free: 50.36 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.1077, allocations: 8.031 kB / 0.6844 GB, free: 50.35 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001419/0.1091, allocations: 115.4 kB / 0.6846 GB, free: 50.23 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007292/0.1099, allocations: 398.7 kB / 0.6849 GB, free: 49.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/0.1099, allocations: 20.5 kB / 0.685 GB, free: 49.78 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-05/0.11, allocations: 24 kB / 0.685 GB, free: 49.76 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.1112, allocations: 473.2 kB / 0.6854 GB, free: 49.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.1112, allocations: 7.938 kB / 0.6854 GB, free: 49.26 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.338e-05/0.1113, allocations: 11.98 kB / 0.6855 GB, free: 49.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.166e-05/0.1114, allocations: 20.42 kB / 0.6855 GB, free: 49.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/0.1129, allocations: 0.5091 MB / 0.686 GB, free: 48.72 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002595/0.1155, allocations: 1.83 MB / 0.6878 GB, free: 46.78 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.1172, allocations: 425 kB / 0.6882 GB, free: 46.35 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006157/0.1179, allocations: 154.3 kB / 0.6883 GB, free: 46.19 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.846e-05/0.118, allocations: 15.98 kB / 0.6883 GB, free: 46.18 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007989/0.1188, allocations: 297.8 kB / 0.6886 GB, free: 45.85 MB / 442.7 MB Notification: Performance of pre-optimization done (n=30): time 3.808e-06/0.1188, allocations: 0 / 0.6886 GB, free: 45.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=30): time 0.002136/0.1209, allocations: 0.5639 MB / 0.6892 GB, free: 45.28 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/0.121, allocations: 235.3 kB / 0.6894 GB, free: 45 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000487/0.1215, allocations: 353.5 kB / 0.6897 GB, free: 44.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.246e-05/0.1216, allocations: 37.7 kB / 0.6898 GB, free: 44.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.1217, allocations: 208.3 kB / 0.69 GB, free: 44.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.755e-05/0.1218, allocations: 98.59 kB / 0.69 GB, free: 44.29 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.1219, allocations: 12 kB / 0.6901 GB, free: 44.28 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.527e-05/0.122, allocations: 346.8 kB / 0.6904 GB, free: 43.93 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006522/0.1226, allocations: 168.7 kB / 0.6905 GB, free: 43.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007145/0.1234, allocations: 308.4 kB / 0.6908 GB, free: 43.4 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007255/0.1241, allocations: 267.3 kB / 0.6911 GB, free: 43.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.313e-06/0.1241, allocations: 4 kB / 0.6911 GB, free: 43.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001788/0.1259, allocations: 0.6213 MB / 0.6917 GB, free: 42.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.151e-05/0.126, allocations: 67.39 kB / 0.6918 GB, free: 42.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.126, allocations: 8 kB / 0.6918 GB, free: 42.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.1261, allocations: 4 kB / 0.6918 GB, free: 42.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006294/0.1267, allocations: 108.2 kB / 0.6919 GB, free: 42.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.1267, allocations: 7.953 kB / 0.6919 GB, free: 42.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005168/0.1273, allocations: 55.66 kB / 0.6919 GB, free: 42.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-05/0.1273, allocations: 24 kB / 0.692 GB, free: 42.2 MB / 442.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.0002798/0.1276, allocations: 201.6 kB / 0.6922 GB, free: 41.99 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.793e-05/0.1277, allocations: 39.53 kB / 0.6922 GB, free: 41.95 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.1279, allocations: 47.28 kB / 0.6922 GB, free: 41.91 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.1279, allocations: 3.984 kB / 0.6923 GB, free: 41.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/0.1279, allocations: 4 kB / 0.6923 GB, free: 41.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000181/0.1281, allocations: 160.5 kB / 0.6924 GB, free: 41.72 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.081e-05/0.1282, allocations: 11.98 kB / 0.6924 GB, free: 41.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003911/0.1286, allocations: 35.97 kB / 0.6925 GB, free: 41.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.1287, allocations: 35.95 kB / 0.6925 GB, free: 41.64 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001887/0.1306, allocations: 0.9889 MB / 0.6935 GB, free: 40.64 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001523/0.1322, allocations: 1.042 MB / 0.6945 GB, free: 39.58 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006941/0.1329, allocations: 195.8 kB / 0.6947 GB, free: 39.39 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003318/0.1332, allocations: 239.2 kB / 0.6949 GB, free: 39.15 MB / 442.7 MB Notification: Performance of Backend: time 6.51e-07/0.1332, allocations: 4 kB / 0.6949 GB, free: 39.15 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003492/0.1367, allocations: 0.9622 MB / 0.6958 GB, free: 38.21 MB / 442.7 MB Notification: Performance of SimCode: time 0.001509/0.1383, allocations: 1.161 MB / 0.697 GB, free: 37 MB / 442.7 MB Notification: Performance of Templates: time 0.01644/0.1547, allocations: 6.737 MB / 0.7035 GB, free: 30.26 MB / 442.7 MB