Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 112.7 kB / 17.75 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 187 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.1 MB / 224.5 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1766/0.1766, allocations: 37.98 MB / 309.9 MB, free: 5.961 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 71.84 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0934/0.09482, allocations: 55.24 MB / 487.8 MB, free: 8.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.004773/0.09962, allocations: 3.689 MB / 491.5 MB, free: 4.637 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002713/0.1023, allocations: 1.969 MB / 493.4 MB, free: 2.656 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.1025, allocations: 7.938 kB / 493.5 MB, free: 2.648 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007632/0.1033, allocations: 242.9 kB / 493.7 MB, free: 2.41 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0006053/0.1039, allocations: 282.8 kB / 494 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005688/0.1045, allocations: 259.2 kB / 494.2 MB, free: 1.879 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005269/0.105, allocations: 0.5183 MB / 494.7 MB, free: 1.359 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003328/0.1054, allocations: 215.5 kB / 494.9 MB, free: 1.148 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003951/0.1058, allocations: 235.1 kB / 495.2 MB, free: 0.918 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.1061, allocations: 219.2 kB / 495.4 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.479e-05/0.1061, allocations: 40 kB / 495.4 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000566/0.1067, allocations: 395.2 kB / 495.8 MB, free: 284 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.1068, allocations: 123.6 kB / 495.9 MB, free: 160 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.107, allocations: 191.1 kB / 496.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006659/0.1077, allocations: 0.6309 MB / 496.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1077, allocations: 3.984 kB / 496.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1077, allocations: 0 / 496.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.1077, allocations: 0 / 496.8 MB, free: 15.33 MB / 382.1 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.001234/0.109, allocations: 0.7393 MB / 497.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.109, allocations: 11.89 kB / 497.5 MB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008702/0.1099, allocations: 112.4 kB / 497.6 MB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006109/0.1105, allocations: 415.6 kB / 498 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.1105, allocations: 20.8 kB / 498 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.124e-05/0.1106, allocations: 32.06 kB / 498.1 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007978/0.1114, allocations: 450.7 kB / 498.5 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1114, allocations: 4 kB / 498.5 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.62e-05/0.1115, allocations: 7.984 kB / 498.5 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.603e-05/0.1115, allocations: 24.42 kB / 498.6 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.1125, allocations: 0.4934 MB / 499 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002097/0.1146, allocations: 1.674 MB / 0.489 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009238/0.1156, allocations: 373 kB / 0.4893 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003675/0.116, allocations: 141.6 kB / 0.4895 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.67e-05/0.116, allocations: 4 kB / 0.4895 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005284/0.1165, allocations: 290.9 kB / 0.4898 GB, free: 10.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.943e-06/0.1166, allocations: 0 / 0.4898 GB, free: 10.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=31): time 0.001301/0.1179, allocations: 0.5211 MB / 0.4903 GB, free: 9.773 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/0.118, allocations: 298.7 kB / 0.4905 GB, free: 9.414 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00036/0.1184, allocations: 332.5 kB / 0.4909 GB, free: 9.082 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.982e-05/0.1184, allocations: 41.7 kB / 0.4909 GB, free: 9.035 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.1186, allocations: 188.4 kB / 0.4911 GB, free: 8.844 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.628e-05/0.1187, allocations: 106.6 kB / 0.4912 GB, free: 8.738 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.1188, allocations: 65.7 kB / 0.4912 GB, free: 8.668 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.119, allocations: 346.8 kB / 0.4916 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003601/0.1194, allocations: 139.9 kB / 0.4917 GB, free: 8.184 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004755/0.1199, allocations: 288.8 kB / 0.492 GB, free: 7.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007736/0.1206, allocations: 457.7 kB / 0.4924 GB, free: 7.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.1206, allocations: 0 / 0.4924 GB, free: 7.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001015/0.1217, allocations: 0.5179 MB / 0.4929 GB, free: 6.797 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.96e-05/0.1217, allocations: 37.69 kB / 0.493 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.1218, allocations: 4 kB / 0.493 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.1218, allocations: 8 kB / 0.493 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003303/0.1221, allocations: 88.27 kB / 0.4931 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.1221, allocations: 12 kB / 0.4931 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002645/0.1224, allocations: 47.66 kB / 0.4931 GB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.1225, allocations: 16 kB / 0.4931 GB, free: 6.582 MB / 382.1 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 ($PRE.windFarm.wind.nextTimeEvent,$whenCondition2,windFarm.disturbance.count,$PRE.windFarm.disturbance.count,windFarm.disturbance.T_start,$PRE.windFarm.disturbance.T_start,windFarm.wind.nextTimeEventScaled,$PRE.windFarm.wind.nextTimeEventScaled,windFarm.wind.nextTimeEvent,$whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002433/0.1227, allocations: 197.6 kB / 0.4933 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-05/0.1228, allocations: 43.47 kB / 0.4934 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.1229, allocations: 47.14 kB / 0.4934 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.1229, allocations: 7.984 kB / 0.4934 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.123, allocations: 8 kB / 0.4934 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.537e-05/0.1231, allocations: 112.6 kB / 0.4935 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.409e-05/0.1231, allocations: 16 kB / 0.4935 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.1234, allocations: 23.97 kB / 0.4936 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.1235, allocations: 39.83 kB / 0.4936 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001357/0.1248, allocations: 1.097 MB / 0.4947 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001152/0.126, allocations: 1.161 MB / 0.4958 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004063/0.1264, allocations: 187.8 kB / 0.496 GB, free: 3.586 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002719/0.1267, allocations: 235 kB / 0.4962 GB, free: 3.355 MB / 382.1 MB Notification: Performance of Backend: time 5.21e-07/0.1267, allocations: 0 / 0.4962 GB, free: 3.355 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002838/0.1296, allocations: 0.9077 MB / 0.4971 GB, free: 2.426 MB / 382.1 MB Notification: Performance of SimCode: time 0.001229/0.1308, allocations: 1.063 MB / 0.4981 GB, free: 1.32 MB / 382.1 MB Notification: Performance of Templates: time 0.01151/0.1423, allocations: 6.664 MB / 0.5047 GB, free: 10.64 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.makefile (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe 2>&1)