Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.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.WindFarmGridTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002693/0.002698, allocations: 362.2 kB / 17.21 MB, free: 4.93 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.778/3.778, allocations: 388.9 MB / 406.8 MB, free: 11.98 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.003529/0.003529, allocations: 229.6 kB / 452.2 MB, free: 14.58 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.7236/0.7236, allocations: 76 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004366/0.0004367, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0903/0.09075, allocations: 53.22 MB / 0.6742 GB, free: 60.83 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.004467/0.09527, allocations: 3.552 MB / 0.6777 GB, free: 57.26 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003286/0.0986, allocations: 1.939 MB / 0.6796 GB, free: 55.31 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002369/0.09886, allocations: 15.88 kB / 0.6796 GB, free: 55.3 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003531/0.09923, allocations: 63.59 kB / 0.6797 GB, free: 55.23 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006623/0.09991, allocations: 222.9 kB / 0.6799 GB, free: 55.02 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005848/0.1005, allocations: 183.3 kB / 0.68 GB, free: 54.84 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005678/0.1011, allocations: 0.5376 MB / 0.6806 GB, free: 54.3 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006986/0.1018, allocations: 358.9 kB / 0.6809 GB, free: 53.92 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003909/0.1022, allocations: 179.3 kB / 0.6811 GB, free: 53.75 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.1025, allocations: 199.3 kB / 0.6813 GB, free: 53.55 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.174e-05/0.1026, allocations: 16 kB / 0.6813 GB, free: 53.54 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005517/0.1032, allocations: 227.3 kB / 0.6815 GB, free: 53.31 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.1033, allocations: 103.7 kB / 0.6816 GB, free: 53.21 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.993e-05/0.1034, allocations: 85.52 kB / 0.6817 GB, free: 53.12 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006229/0.104, allocations: 490.9 kB / 0.6822 GB, free: 52.64 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.104, allocations: 0 / 0.6822 GB, free: 52.64 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.104, allocations: 4 kB / 0.6822 GB, free: 52.64 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.1041, allocations: 0 / 0.6822 GB, free: 52.64 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001415/0.1055, allocations: 0.7387 MB / 0.6829 GB, free: 51.83 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.1055, allocations: 12.03 kB / 0.6829 GB, free: 51.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/0.1067, allocations: 119.4 kB / 0.683 GB, free: 51.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006597/0.1074, allocations: 390.5 kB / 0.6834 GB, free: 51.28 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.1075, allocations: 16.44 kB / 0.6834 GB, free: 51.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.911e-05/0.1075, allocations: 20 kB / 0.6834 GB, free: 51.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.1087, allocations: 470.7 kB / 0.6839 GB, free: 50.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.1088, allocations: 4 kB / 0.6839 GB, free: 50.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.346e-05/0.1088, allocations: 11.98 kB / 0.6839 GB, free: 50.74 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.356e-05/0.1089, allocations: 24.42 kB / 0.6839 GB, free: 50.71 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.1105, allocations: 0.5324 MB / 0.6844 GB, free: 50.18 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002628/0.1131, allocations: 1.717 MB / 0.6861 GB, free: 48.37 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/0.1147, allocations: 401 kB / 0.6865 GB, free: 47.96 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005828/0.1153, allocations: 158.3 kB / 0.6866 GB, free: 47.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.129e-05/0.1153, allocations: 8 kB / 0.6866 GB, free: 47.79 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007727/0.1161, allocations: 310.8 kB / 0.6869 GB, free: 47.45 MB / 442.7 MB Notification: Performance of pre-optimization done (n=31): time 3.346e-06/0.1161, allocations: 0 / 0.6869 GB, free: 47.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=31): time 0.002094/0.1182, allocations: 0.5757 MB / 0.6875 GB, free: 46.87 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.435e-05/0.1183, allocations: 290.8 kB / 0.6878 GB, free: 46.52 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000411/0.1187, allocations: 320.5 kB / 0.6881 GB, free: 46.19 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.078e-05/0.1188, allocations: 37.7 kB / 0.6881 GB, free: 46.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.1189, allocations: 196.2 kB / 0.6883 GB, free: 45.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.759e-05/0.1191, allocations: 106.6 kB / 0.6884 GB, free: 45.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.1191, allocations: 8 kB / 0.6884 GB, free: 45.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.163e-05/0.1192, allocations: 346.8 kB / 0.6887 GB, free: 45.49 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000627/0.1198, allocations: 172.3 kB / 0.6889 GB, free: 45.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006937/0.1205, allocations: 303.7 kB / 0.6892 GB, free: 44.96 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007067/0.1213, allocations: 268 kB / 0.6895 GB, free: 44.69 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.1213, allocations: 4 kB / 0.6895 GB, free: 44.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001706/0.123, allocations: 0.6182 MB / 0.6901 GB, free: 44.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.984e-05/0.1231, allocations: 63.41 kB / 0.6901 GB, free: 43.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.1231, allocations: 11.94 kB / 0.6901 GB, free: 43.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.1231, allocations: 7.984 kB / 0.6901 GB, free: 43.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005855/0.1237, allocations: 95.88 kB / 0.6902 GB, free: 43.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.1237, allocations: 7.938 kB / 0.6902 GB, free: 43.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004612/0.1242, allocations: 75.59 kB / 0.6903 GB, free: 43.78 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.144e-05/0.1243, allocations: 20 kB / 0.6903 GB, free: 43.76 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 (44): * Single equations (assignments): 42 * 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.000246/0.1245, allocations: 193.7 kB / 0.6905 GB, free: 43.56 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.595e-05/0.1246, allocations: 35.62 kB / 0.6905 GB, free: 43.53 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.1247, allocations: 43.17 kB / 0.6906 GB, free: 43.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.1248, allocations: 3.984 kB / 0.6906 GB, free: 43.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1248, allocations: 8 kB / 0.6906 GB, free: 43.47 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.125, allocations: 156.5 kB / 0.6907 GB, free: 43.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.727e-05/0.1251, allocations: 11.98 kB / 0.6908 GB, free: 43.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003828/0.1254, allocations: 35.92 kB / 0.6908 GB, free: 43.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.1256, allocations: 39.89 kB / 0.6908 GB, free: 43.21 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001794/0.1274, allocations: 1.148 MB / 0.692 GB, free: 42.05 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001501/0.1289, allocations: 1.192 MB / 0.6931 GB, free: 40.84 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007119/0.1296, allocations: 195.8 kB / 0.6933 GB, free: 40.65 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002858/0.1299, allocations: 231 kB / 0.6935 GB, free: 40.43 MB / 442.7 MB Notification: Performance of Backend: time 1.082e-06/0.13, allocations: 4 kB / 0.6935 GB, free: 40.42 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003526/0.1335, allocations: 0.934 MB / 0.6944 GB, free: 39.51 MB / 442.7 MB Notification: Performance of SimCode: time 0.001457/0.135, allocations: 1.147 MB / 0.6956 GB, free: 38.32 MB / 442.7 MB Notification: Performance of Templates: time 0.01536/0.1503, allocations: 6.374 MB / 0.7018 GB, free: 31.93 MB / 442.7 MB