Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/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_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001072/0.001072, allocations: 189.5 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.161/1.161, allocations: 194.2 MB / 212.2 MB, free: 2.363 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001639/0.001639, allocations: 131 kB / 256.6 MB, free: 4.289 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1617/0.1617, allocations: 37.94 MB / 338.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 67.91 kB / 401.8 MB, free: 68.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08431/0.08554, allocations: 52.18 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest): time 0.004368/0.08995, allocations: 4.395 MB / 458.4 MB, free: 12.15 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002194/0.09217, allocations: 2.284 MB / 460.7 MB, free: 9.852 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.09234, allocations: 15.88 kB / 460.7 MB, free: 9.836 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008307/0.09318, allocations: 326.8 kB / 461 MB, free: 9.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005276/0.09372, allocations: 366.7 kB / 461.4 MB, free: 9.16 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.09407, allocations: 203.6 kB / 461.6 MB, free: 8.961 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005361/0.09462, allocations: 0.9159 MB / 462.5 MB, free: 8.043 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000331/0.09496, allocations: 252.2 kB / 462.7 MB, free: 7.793 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003143/0.09529, allocations: 250.9 kB / 463 MB, free: 7.547 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/0.09554, allocations: 298.9 kB / 463.3 MB, free: 7.254 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.423e-05/0.09559, allocations: 24 kB / 463.3 MB, free: 7.23 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005539/0.09615, allocations: 0.5535 MB / 463.8 MB, free: 6.676 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.09629, allocations: 171.5 kB / 464 MB, free: 6.508 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.09645, allocations: 222.8 kB / 464.2 MB, free: 6.289 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005987/0.09706, allocations: 0.7829 MB / 465 MB, free: 5.504 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.09707, allocations: 0 / 465 MB, free: 5.504 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.09708, allocations: 0 / 465 MB, free: 5.504 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.09709, allocations: 4 kB / 465 MB, free: 5.5 MB / 314.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.001115/0.09821, allocations: 0.8684 MB / 465.9 MB, free: 4.562 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.09825, allocations: 12.03 kB / 465.9 MB, free: 4.551 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000937/0.09919, allocations: 144.2 kB / 466 MB, free: 4.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005024/0.09971, allocations: 427.7 kB / 466.4 MB, free: 3.953 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.09974, allocations: 25.02 kB / 466.5 MB, free: 3.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.213e-05/0.09981, allocations: 39.92 kB / 466.5 MB, free: 3.891 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008369/0.1007, allocations: 0.5477 MB / 467.1 MB, free: 3.312 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.1007, allocations: 4 kB / 467.1 MB, free: 3.309 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.895e-05/0.1007, allocations: 11.94 kB / 467.1 MB, free: 3.297 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.425e-05/0.1008, allocations: 24.64 kB / 467.1 MB, free: 3.273 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009996/0.1018, allocations: 0.6231 MB / 467.7 MB, free: 2.648 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002188/0.104, allocations: 1.956 MB / 469.7 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.1053, allocations: 0.9976 MB / 470.7 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004206/0.1057, allocations: 194.2 kB / 470.9 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.331e-05/0.1058, allocations: 12.28 kB / 470.9 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006102/0.1064, allocations: 289 kB / 471.2 MB, free: 14.96 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 3.827e-06/0.1064, allocations: 0 / 471.2 MB, free: 14.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=37): time 0.002254/0.1087, allocations: 1.018 MB / 472.2 MB, free: 13.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/0.1088, allocations: 106.8 kB / 472.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.1091, allocations: 353.5 kB / 472.6 MB, free: 13.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.748e-05/0.1092, allocations: 45.81 kB / 472.7 MB, free: 13.38 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.1093, allocations: 228.2 kB / 472.9 MB, free: 13.15 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.936e-05/0.1094, allocations: 126.3 kB / 473 MB, free: 13.03 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.1096, allocations: 94.25 kB / 473.1 MB, free: 12.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1097, allocations: 346.8 kB / 473.4 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004275/0.1101, allocations: 193 kB / 473.6 MB, free: 12.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005017/0.1106, allocations: 325.8 kB / 474 MB, free: 12.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009529/0.1116, allocations: 0.5813 MB / 474.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1116, allocations: 4 kB / 474.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001297/0.1129, allocations: 0.7037 MB / 475.2 MB, free: 10.64 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.21e-05/0.113, allocations: 71.48 kB / 475.3 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.113, allocations: 4 kB / 475.3 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001481/0.1132, allocations: 32.78 kB / 475.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003557/0.1135, allocations: 99.88 kB / 475.4 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.1146, allocations: 1.338 MB / 476.8 MB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002954/0.115, allocations: 31.97 kB / 476.8 MB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.061e-05/0.115, allocations: 32.11 kB / 476.8 MB, free: 8.887 MB / 330.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 ($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 (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002261/0.1152, allocations: 217.5 kB / 477.1 MB, free: 8.664 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.895e-05/0.1153, allocations: 35.53 kB / 477.1 MB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.1164, allocations: 0.5022 MB / 477.6 MB, free: 8.117 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1164, allocations: 4 kB / 477.6 MB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.1164, allocations: 0 / 477.6 MB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.1164, allocations: 7.922 kB / 477.6 MB, free: 8.105 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/0.1182, allocations: 1.098 MB / 478.7 MB, free: 6.941 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.1182, allocations: 0 / 478.7 MB, free: 6.941 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/0.1185, allocations: 67.83 kB / 478.8 MB, free: 6.875 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.42e-05/0.1186, allocations: 24.84 kB / 478.8 MB, free: 6.848 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.1186, allocations: 12.06 kB / 478.8 MB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008536/0.1195, allocations: 1.327 MB / 480.1 MB, free: 5.375 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1195, allocations: 4.156 kB / 480.1 MB, free: 5.371 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/0.1212, allocations: 1.41 MB / 481.5 MB, free: 3.891 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.1214, allocations: 148.7 kB / 481.7 MB, free: 3.727 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.575e-05/0.1215, allocations: 15.98 kB / 481.7 MB, free: 3.711 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.1217, allocations: 27.97 kB / 481.7 MB, free: 3.684 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.83e-05/0.1218, allocations: 39.89 kB / 481.8 MB, free: 3.645 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/0.1219, allocations: 16 kB / 481.8 MB, free: 3.629 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002233/0.1221, allocations: 247.2 kB / 482 MB, free: 3.395 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1221, allocations: 0 / 482 MB, free: 3.395 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005602/0.1227, allocations: 119.9 kB / 482.1 MB, free: 3.277 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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.nextTimeEvent,windFarm.disturbance.count,windFarm.wind.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009434/0.1236, allocations: 474.7 kB / 482.6 MB, free: 2.832 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001189/0.1248, allocations: 0.7005 MB / 483.3 MB, free: 2.094 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.1248, allocations: 4 kB / 483.3 MB, free: 2.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005607/0.1254, allocations: 330.5 kB / 483.6 MB, free: 1.754 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.1259, allocations: 69.38 kB / 483.7 MB, free: 1.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.1274, allocations: 1.209 MB / 484.9 MB, free: 428 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.1279, allocations: 0.8557 MB / 485.8 MB, free: 15.54 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002658/0.1281, allocations: 95.09 kB / 485.9 MB, free: 15.44 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.1283, allocations: 43.42 kB / 485.9 MB, free: 15.4 MB / 346.7 MB Notification: Performance of SimCode: time 3.8e-07/0.1283, allocations: 0 / 485.9 MB, free: 15.4 MB / 346.7 MB Notification: Performance of Templates: time 0.0102/0.1385, allocations: 5.788 MB / 491.7 MB, free: 9.609 MB / 346.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.makefile (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.pipe 2>&1)