Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002208/0.002208, allocations: 111.4 kB / 17.29 MB, free: 6.219 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.003192/0.003192, allocations: 197.3 kB / 18.21 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.862/2.862, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.3885/0.3885, allocations: 38.01 MB / 330 MB, free: 8.98 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002906/0.002905, allocations: 69.72 kB / 398.9 MB, free: 34.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2147, allocations: 58.06 MB / 457 MB, free: 8.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.0137/0.2285, allocations: 4.883 MB / 461.9 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008962/0.2375, allocations: 2.68 MB / 464.6 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001165/0.2387, allocations: 27.81 kB / 464.6 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002521/0.2413, allocations: 326.3 kB / 464.9 MB, free: 488 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001978/0.2433, allocations: 314.9 kB / 465.2 MB, free: 172 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.2455, allocations: 347.2 kB / 465.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001724/0.2473, allocations: 0.6195 MB / 466.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.2484, allocations: 254.1 kB / 466.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/0.2497, allocations: 262.6 kB / 466.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008704/0.2506, allocations: 259 kB / 466.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000249/0.2509, allocations: 44 kB / 467 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001745/0.2527, allocations: 0.5417 MB / 467.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004421/0.2531, allocations: 135.6 kB / 467.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005682/0.2537, allocations: 195 kB / 467.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001436/0.2552, allocations: 0.5263 MB / 468.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.2552, allocations: 0 / 468.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.2552, allocations: 0 / 468.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.295e-05/0.2553, allocations: 0 / 468.4 MB, free: 13.01 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.002818/0.2581, allocations: 0.7861 MB / 469.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.16e-05/0.2582, allocations: 11.89 kB / 469.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001906/0.2601, allocations: 108.4 kB / 469.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.2613, allocations: 415.6 kB / 469.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.975e-05/0.2614, allocations: 16.94 kB / 469.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.2615, allocations: 28.12 kB / 469.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.263, allocations: 449.2 kB / 470.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.263, allocations: 0 / 470.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.464e-05/0.2631, allocations: 12 kB / 470.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.478e-05/0.2632, allocations: 24.42 kB / 470.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005645/0.2688, allocations: 485.2 kB / 470.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003735/0.2726, allocations: 1.779 MB / 472.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.2741, allocations: 390.8 kB / 472.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00053/0.2747, allocations: 141.6 kB / 473 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.824e-05/0.2748, allocations: 7.938 kB / 473 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008675/0.2757, allocations: 281.1 kB / 473.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 4.668e-06/0.2757, allocations: 0 / 473.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.002054/0.2778, allocations: 0.5158 MB / 473.8 MB, free: 7.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002296/0.278, allocations: 251.3 kB / 474 MB, free: 7.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007484/0.2788, allocations: 353.6 kB / 474.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.39e-05/0.2789, allocations: 41.64 kB / 474.4 MB, free: 6.609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/0.2791, allocations: 204.2 kB / 474.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.2793, allocations: 94.78 kB / 474.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/0.2795, allocations: 69.61 kB / 474.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.2797, allocations: 350.8 kB / 475.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005477/0.2802, allocations: 148.2 kB / 475.2 MB, free: 5.738 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007077/0.281, allocations: 277.8 kB / 475.5 MB, free: 5.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.2823, allocations: 470.3 kB / 476 MB, free: 4.883 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.2823, allocations: 0 / 476 MB, free: 4.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001947/0.2843, allocations: 0.5219 MB / 476.5 MB, free: 4.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.092e-05/0.2844, allocations: 29.7 kB / 476.5 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.2844, allocations: 8 kB / 476.5 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.303e-05/0.2844, allocations: 4 kB / 476.5 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006945/0.2851, allocations: 96.22 kB / 476.6 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.095e-05/0.2852, allocations: 12 kB / 476.6 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006669/0.2859, allocations: 51.59 kB / 476.7 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.628e-05/0.286, allocations: 16 kB / 476.7 MB, free: 4.129 MB / 350.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 (44): * Single equations (assignments): 43 * 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.0004592/0.2865, allocations: 193.6 kB / 476.9 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001903/0.2867, allocations: 51.44 kB / 476.9 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/0.2869, allocations: 47.28 kB / 477 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.2869, allocations: 4 kB / 477 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/0.287, allocations: 4 kB / 477 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.74e-05/0.287, allocations: 7.984 kB / 477 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/0.2887, allocations: 0.8468 MB / 477.9 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.2888, allocations: 0 / 477.9 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005105/0.2893, allocations: 68.08 kB / 477.9 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/0.2893, allocations: 0 / 477.9 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.244e-05/0.2894, allocations: 12 kB / 477.9 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.919e-06/0.2894, allocations: 3.938 kB / 477.9 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.145e-05/0.2894, allocations: 4 kB / 477.9 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/0.2913, allocations: 466 kB / 478.4 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/0.2915, allocations: 104.7 kB / 478.5 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.2917, allocations: 19.98 kB / 478.5 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004449/0.2922, allocations: 27.97 kB / 478.5 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/0.2924, allocations: 31.91 kB / 478.6 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.749e-05/0.2925, allocations: 15.98 kB / 478.6 MB, free: 2.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005728/0.2931, allocations: 259 kB / 478.8 MB, free: 1.855 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.2931, allocations: 4 kB / 478.8 MB, free: 1.852 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007845/0.2939, allocations: 91.83 kB / 478.9 MB, free: 1.762 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (30): * Single equations (assignments): 25 * 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.001805/0.2957, allocations: 469.8 kB / 479.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001648/0.2974, allocations: 447.1 kB / 479.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.2974, allocations: 0 / 479.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006731/0.2981, allocations: 177.2 kB / 480 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008258/0.2989, allocations: 78.2 kB / 480.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.3013, allocations: 0.8728 MB / 481 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006968/0.302, allocations: 0.8112 MB / 481.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/0.3022, allocations: 43.42 kB / 481.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3022, allocations: 0 / 481.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of Templates: time 0.01695/0.3192, allocations: 5.518 MB / 487.3 MB, free: 9.48 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.makefile (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1)