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/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.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/Complex 3.2.2+maint.om/package.mo): time 0.00163/0.00163, 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.16/1.16, allocations: 194.2 MB / 212.2 MB, free: 2.359 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.001732/0.001732, allocations: 122.2 kB / 256.6 MB, free: 4.297 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1652/0.1652, allocations: 37.95 MB / 338.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 71.91 kB / 401.8 MB, free: 68.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07407/0.07521, allocations: 52.19 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.003952/0.0792, allocations: 4.071 MB / 458.1 MB, free: 12.48 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.08118, allocations: 2.117 MB / 460.2 MB, free: 10.35 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.08134, allocations: 19.88 kB / 460.2 MB, free: 10.33 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006706/0.08201, allocations: 219.2 kB / 460.4 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003717/0.0824, allocations: 243.1 kB / 460.7 MB, free: 9.875 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.08275, allocations: 215.6 kB / 460.9 MB, free: 9.664 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003808/0.08314, allocations: 0.6313 MB / 461.5 MB, free: 9.031 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002846/0.08343, allocations: 203.5 kB / 461.7 MB, free: 8.836 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002764/0.08372, allocations: 199.2 kB / 461.9 MB, free: 8.641 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.08392, allocations: 223.1 kB / 462.1 MB, free: 8.422 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.997e-05/0.08397, allocations: 20 kB / 462.1 MB, free: 8.402 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004687/0.08444, allocations: 455 kB / 462.6 MB, free: 7.957 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.042e-05/0.08454, allocations: 103.7 kB / 462.7 MB, free: 7.855 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.08467, allocations: 183 kB / 462.8 MB, free: 7.676 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005006/0.08518, allocations: 0.6543 MB / 463.5 MB, free: 7.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.08519, allocations: 0 / 463.5 MB, free: 7.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.0852, allocations: 0 / 463.5 MB, free: 7.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.08521, allocations: 0 / 463.5 MB, free: 7.02 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009975/0.08621, allocations: 0.7975 MB / 464.3 MB, free: 6.156 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.08625, allocations: 8.031 kB / 464.3 MB, free: 6.148 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007346/0.08699, allocations: 104.4 kB / 464.4 MB, free: 6.047 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004239/0.08742, allocations: 419.5 kB / 464.8 MB, free: 5.594 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.08745, allocations: 12.81 kB / 464.8 MB, free: 5.582 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.102e-05/0.0875, allocations: 27.94 kB / 464.9 MB, free: 5.555 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006438/0.08815, allocations: 454.7 kB / 465.3 MB, free: 5.086 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.08817, allocations: 0 / 465.3 MB, free: 5.086 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.0882, allocations: 12 kB / 465.3 MB, free: 5.074 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.557e-05/0.08823, allocations: 12.44 kB / 465.3 MB, free: 5.062 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000832/0.08907, allocations: 0.5168 MB / 465.8 MB, free: 4.543 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.09067, allocations: 1.721 MB / 467.6 MB, free: 2.727 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008008/0.09148, allocations: 385.1 kB / 467.9 MB, free: 2.332 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000306/0.0918, allocations: 149.6 kB / 468.1 MB, free: 2.18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.856e-05/0.09185, allocations: 7.984 kB / 468.1 MB, free: 2.172 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000436/0.09229, allocations: 290.9 kB / 468.4 MB, free: 1.848 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 1.864e-06/0.09231, allocations: 0 / 468.4 MB, free: 1.848 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.001132/0.09344, allocations: 0.5364 MB / 468.9 MB, free: 1.305 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.09351, allocations: 299 kB / 469.2 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.09377, allocations: 324.5 kB / 469.5 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.0938, allocations: 41.7 kB / 469.6 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.862e-05/0.09389, allocations: 184.4 kB / 469.7 MB, free: 392 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.214e-05/0.09395, allocations: 106.6 kB / 469.8 MB, free: 284 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.339e-05/0.09405, allocations: 77.61 kB / 469.9 MB, free: 200 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.641e-05/0.09415, allocations: 346.8 kB / 470.3 MB, free: 15.85 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003629/0.09452, allocations: 164.3 kB / 470.4 MB, free: 15.69 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004377/0.09496, allocations: 295.6 kB / 470.7 MB, free: 15.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007908/0.09576, allocations: 0.5121 MB / 471.2 MB, free: 14.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.09578, allocations: 0 / 471.2 MB, free: 14.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001039/0.09682, allocations: 0.6018 MB / 471.8 MB, free: 14.13 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.059e-05/0.09688, allocations: 67.39 kB / 471.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.0969, allocations: 4 kB / 471.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.09692, allocations: 11.94 kB / 471.9 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.09723, allocations: 87.88 kB / 472 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.09725, allocations: 4.312 kB / 472 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002567/0.09752, allocations: 63.5 kB / 472.1 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-05/0.09756, allocations: 27.88 kB / 472.1 MB, free: 13.86 MB / 330.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 ($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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 2 * 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.0001705/0.09774, allocations: 185.8 kB / 472.3 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.3e-05/0.09781, allocations: 39.55 kB / 472.3 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.593e-05/0.09791, allocations: 51.11 kB / 472.4 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.09793, allocations: 4 kB / 472.4 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.09794, allocations: 4 kB / 472.4 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.09795, allocations: 12 kB / 472.4 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007614/0.09871, allocations: 1.038 MB / 473.4 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.09873, allocations: 0 / 473.4 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.09897, allocations: 68.08 kB / 473.5 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.09898, allocations: 4 kB / 473.5 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.09901, allocations: 15.94 kB / 473.5 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.09902, allocations: 4 kB / 473.5 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.09903, allocations: 7.922 kB / 473.5 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.1005, allocations: 1.243 MB / 474.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.1006, allocations: 152.6 kB / 474.9 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.991e-05/0.1007, allocations: 8 kB / 474.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.1009, allocations: 23.97 kB / 474.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.643e-05/0.101, allocations: 39.95 kB / 475 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.101, allocations: 12 kB / 475 MB, free: 10.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001966/0.1012, allocations: 231 kB / 475.2 MB, free: 10.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1012, allocations: 0 / 475.2 MB, free: 10.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000476/0.1017, allocations: 107.8 kB / 475.3 MB, free: 10.44 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.nextTimeEventScaled,windFarm.disturbance.count,windFarm.wind.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000906/0.1026, allocations: 481.6 kB / 475.8 MB, free: 9.988 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008932/0.1035, allocations: 0.5073 MB / 476.3 MB, free: 9.457 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1035, allocations: 0 / 476.3 MB, free: 9.457 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004365/0.104, allocations: 204.5 kB / 476.5 MB, free: 9.258 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.1044, allocations: 73.92 kB / 476.6 MB, free: 9.184 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.1056, allocations: 1.027 MB / 477.6 MB, free: 8.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.1059, allocations: 0.8115 MB / 478.4 MB, free: 7.25 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002312/0.1062, allocations: 90.77 kB / 478.5 MB, free: 7.164 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.1063, allocations: 39.42 kB / 478.5 MB, free: 7.125 MB / 330.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1063, allocations: 3.938 kB / 478.5 MB, free: 7.121 MB / 330.7 MB Notification: Performance of Templates: time 0.00813/0.1144, allocations: 4.779 MB / 483.3 MB, free: 2.336 MB / 330.7 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)