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.002585/0.00259, allocations: 361.4 kB / 17.21 MB, free: 4.926 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.688/3.688, allocations: 388.9 MB / 406.8 MB, free: 11.99 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.003585/0.003585, allocations: 227.9 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.7456/0.7456, allocations: 76.01 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006519/0.000652, allocations: 16 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09654/0.09722, allocations: 53.23 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest): time 0.004817/0.1021, allocations: 3.845 MB / 0.678 GB, free: 56.96 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003586/0.1057, allocations: 2.086 MB / 0.68 GB, free: 54.86 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002226/0.106, allocations: 15.88 kB / 0.68 GB, free: 54.85 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003814/0.1064, allocations: 71.58 kB / 0.6801 GB, free: 54.78 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008508/0.1072, allocations: 294.5 kB / 0.6804 GB, free: 54.49 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005507/0.1078, allocations: 163.5 kB / 0.6805 GB, free: 54.33 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000761/0.1086, allocations: 0.7403 MB / 0.6813 GB, free: 53.59 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008749/0.1095, allocations: 439.3 kB / 0.6817 GB, free: 53.13 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004606/0.1099, allocations: 223 kB / 0.6819 GB, free: 52.91 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004307/0.1104, allocations: 275.1 kB / 0.6822 GB, free: 52.64 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.165e-05/0.1105, allocations: 20 kB / 0.6822 GB, free: 52.62 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007282/0.1112, allocations: 283.2 kB / 0.6824 GB, free: 52.34 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.1114, allocations: 159.5 kB / 0.6826 GB, free: 52.19 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.1115, allocations: 101.5 kB / 0.6827 GB, free: 52.08 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007299/0.1122, allocations: 0.5728 MB / 0.6833 GB, free: 51.51 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1123, allocations: 0 / 0.6833 GB, free: 51.51 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1123, allocations: 0 / 0.6833 GB, free: 51.51 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1123, allocations: 0 / 0.6833 GB, free: 51.51 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001566/0.1139, allocations: 0.7944 MB / 0.684 GB, free: 50.64 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1139, allocations: 8.031 kB / 0.684 GB, free: 50.64 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/0.1155, allocations: 155.3 kB / 0.6842 GB, free: 50.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007212/0.1162, allocations: 418.6 kB / 0.6846 GB, free: 50.04 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.638e-05/0.1163, allocations: 28.64 kB / 0.6846 GB, free: 50.01 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.256e-05/0.1164, allocations: 32 kB / 0.6846 GB, free: 49.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.1178, allocations: 0.5594 MB / 0.6852 GB, free: 49.39 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.1178, allocations: 4 kB / 0.6852 GB, free: 49.39 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.674e-05/0.1179, allocations: 11.98 kB / 0.6852 GB, free: 49.38 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-05/0.118, allocations: 28.59 kB / 0.6852 GB, free: 49.35 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00184/0.1198, allocations: 0.6387 MB / 0.6859 GB, free: 48.71 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003473/0.1233, allocations: 1.968 MB / 0.6878 GB, free: 46.64 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002165/0.1255, allocations: 1.013 MB / 0.6888 GB, free: 45.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006835/0.1262, allocations: 210.1 kB / 0.689 GB, free: 45.29 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.36e-05/0.1263, allocations: 16.25 kB / 0.689 GB, free: 45.28 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000867/0.1272, allocations: 301.9 kB / 0.6893 GB, free: 44.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=36): time 3.537e-06/0.1272, allocations: 0 / 0.6893 GB, free: 44.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=37): time 0.003533/0.1307, allocations: 1.057 MB / 0.6903 GB, free: 43.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.1308, allocations: 110.8 kB / 0.6904 GB, free: 43.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004521/0.1313, allocations: 345.6 kB / 0.6907 GB, free: 43.4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.535e-05/0.1313, allocations: 45.64 kB / 0.6908 GB, free: 43.35 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.1315, allocations: 220.2 kB / 0.691 GB, free: 43.13 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.1316, allocations: 126.3 kB / 0.6911 GB, free: 43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.1317, allocations: 12 kB / 0.6911 GB, free: 42.99 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.302e-05/0.1318, allocations: 354.7 kB / 0.6915 GB, free: 42.64 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007096/0.1325, allocations: 205 kB / 0.6917 GB, free: 42.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007801/0.1333, allocations: 349.5 kB / 0.692 GB, free: 42.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007991/0.1341, allocations: 299.1 kB / 0.6923 GB, free: 41.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.1341, allocations: 4 kB / 0.6923 GB, free: 41.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001987/0.1361, allocations: 0.7196 MB / 0.693 GB, free: 40.99 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.151e-05/0.1362, allocations: 71.5 kB / 0.693 GB, free: 40.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.1362, allocations: 4 kB / 0.6931 GB, free: 40.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001878/0.1364, allocations: 32.78 kB / 0.6931 GB, free: 40.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006817/0.1371, allocations: 103.9 kB / 0.6932 GB, free: 40.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.1382, allocations: 1.334 MB / 0.6945 GB, free: 39.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006379/0.1389, allocations: 44.12 kB / 0.6945 GB, free: 39.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-05/0.139, allocations: 24 kB / 0.6946 GB, free: 39.23 MB / 442.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.0003177/0.1393, allocations: 217.6 kB / 0.6948 GB, free: 39.01 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.687e-05/0.1394, allocations: 35.53 kB / 0.6948 GB, free: 38.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/0.1411, allocations: 0.5332 MB / 0.6953 GB, free: 38.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.1412, allocations: 3.984 kB / 0.6953 GB, free: 38.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.1412, allocations: 0 / 0.6953 GB, free: 38.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002449/0.1415, allocations: 156.6 kB / 0.6955 GB, free: 38.26 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.431e-05/0.1416, allocations: 16 kB / 0.6955 GB, free: 38.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004191/0.142, allocations: 27.97 kB / 0.6955 GB, free: 38.21 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.1421, allocations: 35.94 kB / 0.6955 GB, free: 38.18 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00199/0.1441, allocations: 0.6841 MB / 0.6962 GB, free: 37.48 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002401/0.1466, allocations: 0.9466 MB / 0.6971 GB, free: 36.52 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000701/0.1473, allocations: 212.4 kB / 0.6973 GB, free: 36.31 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000339/0.1477, allocations: 243.2 kB / 0.6976 GB, free: 36.07 MB / 442.7 MB Notification: Performance of Backend: time 6.82e-07/0.1477, allocations: 0 / 0.6976 GB, free: 36.07 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003382/0.1511, allocations: 1.115 MB / 0.6987 GB, free: 34.97 MB / 442.7 MB Notification: Performance of SimCode: time 0.001658/0.1528, allocations: 1.318 MB / 0.6999 GB, free: 33.6 MB / 442.7 MB Notification: Performance of Templates: time 0.01723/0.17, allocations: 7.238 MB / 0.707 GB, free: 26.36 MB / 442.7 MB