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 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.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.001293/0.001293, allocations: 92.53 kB / 16.3 MB, free: 5.539 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.001078/0.001078, allocations: 187.4 kB / 17.2 MB, free: 5.473 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.484/1.484, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1725/0.1725, allocations: 38.03 MB / 309.7 MB, free: 6.137 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.0005481/0.0005485, allocations: 23.06 kB / 376.5 MB, free: 3.211 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2655, allocations: 56.33 MB / 432.8 MB, free: 19.02 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.003909/0.2694, allocations: 4.159 MB / 437 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002629/0.2721, allocations: 2.379 MB / 439.3 MB, free: 12.45 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002336/0.2724, allocations: 23.81 kB / 439.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.2727, allocations: 83.5 kB / 439.4 MB, free: 12.35 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00054/0.2733, allocations: 267.1 kB / 439.7 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000716/0.274, allocations: 279.2 kB / 440 MB, free: 11.81 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003352/0.2744, allocations: 327.4 kB / 440.3 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004532/0.2748, allocations: 301 kB / 440.6 MB, free: 11.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003321/0.2752, allocations: 195.2 kB / 440.8 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.2754, allocations: 163.4 kB / 440.9 MB, free: 10.83 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.419e-05/0.2754, allocations: 16 kB / 441 MB, free: 10.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004668/0.2759, allocations: 259.5 kB / 441.2 MB, free: 10.56 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.066e-05/0.276, allocations: 103.7 kB / 441.3 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.74e-05/0.276, allocations: 85.5 kB / 441.4 MB, free: 10.37 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005029/0.2766, allocations: 0.5067 MB / 441.9 MB, free: 9.863 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.2766, allocations: 0 / 441.9 MB, free: 9.863 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.2766, allocations: 0 / 441.9 MB, free: 9.863 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.2766, allocations: 3.938 kB / 441.9 MB, free: 9.859 MB / 318.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.001103/0.2777, allocations: 0.7238 MB / 442.6 MB, free: 9.082 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.2778, allocations: 8.031 kB / 442.6 MB, free: 9.074 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/0.2791, allocations: 119.4 kB / 442.8 MB, free: 8.957 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004875/0.2796, allocations: 398.6 kB / 443.1 MB, free: 8.527 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.2797, allocations: 16.55 kB / 443.2 MB, free: 8.512 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.21e-05/0.2797, allocations: 24 kB / 443.2 MB, free: 8.488 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007127/0.2804, allocations: 465.2 kB / 443.6 MB, free: 8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.2804, allocations: 0 / 443.6 MB, free: 8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.219e-05/0.2805, allocations: 8 kB / 443.6 MB, free: 7.992 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.4e-05/0.2805, allocations: 24.38 kB / 443.7 MB, free: 7.969 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008999/0.2814, allocations: 0.4973 MB / 444.2 MB, free: 7.469 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.2831, allocations: 1.783 MB / 446 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008997/0.284, allocations: 409.1 kB / 446.4 MB, free: 5.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.711e-05/0.2841, allocations: 11.97 kB / 446.4 MB, free: 5.148 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004462/0.2845, allocations: 293.5 kB / 446.6 MB, free: 4.828 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 2.334e-06/0.2845, allocations: 0 / 446.6 MB, free: 4.828 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.001199/0.2857, allocations: 0.5481 MB / 447.2 MB, free: 4.273 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/0.2858, allocations: 239.3 kB / 447.4 MB, free: 3.984 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/0.2861, allocations: 357.5 kB / 447.8 MB, free: 3.629 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.2862, allocations: 41.73 kB / 447.8 MB, free: 3.582 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.634e-05/0.2863, allocations: 204.3 kB / 448 MB, free: 3.379 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.586e-05/0.2863, allocations: 98.64 kB / 448.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.776e-05/0.2863, allocations: 12 kB / 448.1 MB, free: 3.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.279e-05/0.2865, allocations: 350.8 kB / 448.5 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003313/0.2868, allocations: 148.3 kB / 448.6 MB, free: 2.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003459/0.2872, allocations: 297.5 kB / 448.9 MB, free: 2.418 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003718/0.2875, allocations: 221.5 kB / 449.1 MB, free: 2.195 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2875, allocations: 0 / 449.1 MB, free: 2.195 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001151/0.2887, allocations: 0.5338 MB / 449.7 MB, free: 1.648 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/0.2887, allocations: 33.7 kB / 449.7 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.2888, allocations: 4 kB / 449.7 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.2888, allocations: 8.375 kB / 449.7 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.2891, allocations: 99.88 kB / 449.8 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.2891, allocations: 11.94 kB / 449.8 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002885/0.2894, allocations: 59.56 kB / 449.9 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.623e-05/0.2895, allocations: 16 kB / 449.9 MB, free: 1.414 MB / 318.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 ($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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002197/0.2897, allocations: 209.3 kB / 450.1 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.972e-05/0.2898, allocations: 35.56 kB / 450.1 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.2899, allocations: 51.27 kB / 450.2 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.2899, allocations: 4 kB / 450.2 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.2899, allocations: 7.938 kB / 450.2 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.2899, allocations: 0 / 450.2 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005728/0.2905, allocations: 0.8507 MB / 451 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.2905, allocations: 4 kB / 451 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.2907, allocations: 67.89 kB / 451.1 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.2908, allocations: 4 kB / 451.1 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.2908, allocations: 12.12 kB / 451.1 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2908, allocations: 4 kB / 451.1 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2908, allocations: 11.89 kB / 451.1 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009683/0.2918, allocations: 0.5394 MB / 451.7 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-05/0.2919, allocations: 116.7 kB / 451.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.843e-05/0.292, allocations: 12 kB / 451.8 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/0.2923, allocations: 35.97 kB / 451.8 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.2924, allocations: 43.84 kB / 451.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.2925, allocations: 8 kB / 451.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003588/0.2928, allocations: 255.2 kB / 452.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.2928, allocations: 0 / 452.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004299/0.2933, allocations: 91.91 kB / 452.2 MB, free: 14.89 MB / 334.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001088/0.2944, allocations: 475.3 kB / 452.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.2955, allocations: 439.6 kB / 453.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2956, allocations: 0 / 453.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000451/0.296, allocations: 200.5 kB / 453.3 MB, free: 13.85 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.2964, allocations: 61.91 kB / 453.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.2977, allocations: 0.784 MB / 454.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004745/0.2982, allocations: 0.8192 MB / 455 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002508/0.2985, allocations: 87.19 kB / 455.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.2986, allocations: 43.42 kB / 455.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2986, allocations: 0 / 455.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of Templates: time 0.008884/0.3075, allocations: 4.24 MB / 459.3 MB, free: 7.738 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: