Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001366/0.001366, allocations: 186.6 kB / 16.38 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.689/1.689, allocations: 194.5 MB / 211.6 MB, free: 7.605 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001858/0.001858, allocations: 124.5 kB / 256.9 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.2276/0.2276, allocations: 38.01 MB / 340.1 MB, free: 13.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004609/0.0004611, allocations: 12.19 kB / 403.8 MB, free: 55.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07598/0.07647, allocations: 53.24 MB / 457 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.004183/0.08069, allocations: 4.118 MB / 461.1 MB, free: 6.219 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003188/0.0839, allocations: 2.371 MB / 463.5 MB, free: 3.836 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002287/0.08414, allocations: 23.81 kB / 463.5 MB, free: 3.812 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002994/0.08446, allocations: 87.44 kB / 463.6 MB, free: 3.727 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005505/0.08502, allocations: 247.2 kB / 463.9 MB, free: 3.484 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005706/0.08561, allocations: 267.2 kB / 464.1 MB, free: 3.223 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004119/0.08604, allocations: 327.4 kB / 464.4 MB, free: 2.902 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004701/0.08653, allocations: 305.9 kB / 464.7 MB, free: 2.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003495/0.08689, allocations: 195.3 kB / 464.9 MB, free: 2.398 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.08711, allocations: 159.4 kB / 465.1 MB, free: 2.242 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.951e-05/0.08718, allocations: 16 kB / 465.1 MB, free: 2.227 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005093/0.0877, allocations: 271.5 kB / 465.4 MB, free: 1.961 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.08783, allocations: 107.7 kB / 465.5 MB, free: 1.855 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.986e-05/0.08794, allocations: 85.52 kB / 465.6 MB, free: 1.766 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000586/0.08853, allocations: 0.5105 MB / 466.1 MB, free: 1.254 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.278e-06/0.08855, allocations: 0 / 466.1 MB, free: 1.254 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.776e-06/0.08856, allocations: 3.984 kB / 466.1 MB, free: 1.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.08858, allocations: 0 / 466.1 MB, free: 1.25 MB / 298.7 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.001018/0.08961, allocations: 0.774 MB / 466.9 MB, free: 416 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.08965, allocations: 12.03 kB / 466.9 MB, free: 404 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/0.09094, allocations: 119.4 kB / 467 MB, free: 284 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006688/0.09163, allocations: 402.6 kB / 467.4 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.723e-05/0.09169, allocations: 28.5 kB / 467.4 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.145e-05/0.09177, allocations: 23.98 kB / 467.4 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.09289, allocations: 461.2 kB / 467.9 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.09292, allocations: 3.953 kB / 467.9 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.794e-05/0.09299, allocations: 15.97 kB / 467.9 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.866e-05/0.09305, allocations: 24.42 kB / 467.9 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.09444, allocations: 0.509 MB / 468.4 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002813/0.09729, allocations: 1.826 MB / 470.3 MB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.09865, allocations: 413.1 kB / 470.7 MB, free: 12.4 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.473e-05/0.09871, allocations: 8 kB / 470.7 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006904/0.09941, allocations: 297.1 kB / 471 MB, free: 12.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=30): time 2.9e-06/0.09943, allocations: 0 / 471 MB, free: 12.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=30): time 0.001791/0.1012, allocations: 0.5658 MB / 471.5 MB, free: 11.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001526/0.1014, allocations: 247.5 kB / 471.8 MB, free: 11.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004985/0.1019, allocations: 341.6 kB / 472.1 MB, free: 10.86 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.469e-05/0.102, allocations: 41.7 kB / 472.1 MB, free: 10.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.1022, allocations: 208.2 kB / 472.3 MB, free: 10.61 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.1023, allocations: 94.73 kB / 472.4 MB, free: 10.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.091e-05/0.1024, allocations: 15.88 kB / 472.4 MB, free: 10.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.1026, allocations: 350.8 kB / 472.8 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000544/0.1031, allocations: 172.7 kB / 473 MB, free: 9.977 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006926/0.1038, allocations: 308.4 kB / 473.3 MB, free: 9.617 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006162/0.1045, allocations: 263.3 kB / 473.5 MB, free: 9.348 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.482e-06/0.1045, allocations: 4 kB / 473.5 MB, free: 9.344 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001547/0.106, allocations: 0.6332 MB / 474.2 MB, free: 8.691 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.734e-05/0.1061, allocations: 67.41 kB / 474.2 MB, free: 8.613 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.1061, allocations: 4 kB / 474.2 MB, free: 8.609 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.1062, allocations: 4 kB / 474.2 MB, free: 8.605 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004986/0.1067, allocations: 99.88 kB / 474.3 MB, free: 8.508 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.1067, allocations: 11.94 kB / 474.3 MB, free: 8.496 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003957/0.1071, allocations: 67.58 kB / 474.4 MB, free: 8.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-05/0.1072, allocations: 20 kB / 474.4 MB, free: 8.41 MB / 314.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 ($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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * 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.0002986/0.1075, allocations: 205.4 kB / 474.6 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.273e-05/0.1076, allocations: 35.53 kB / 474.7 MB, free: 8.164 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.1077, allocations: 47.28 kB / 474.7 MB, free: 8.105 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.356e-06/0.1078, allocations: 4 kB / 474.7 MB, free: 8.102 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.383e-06/0.1078, allocations: 7.984 kB / 474.7 MB, free: 8.094 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-05/0.1078, allocations: 4 kB / 474.7 MB, free: 8.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.1089, allocations: 0.8547 MB / 475.6 MB, free: 7.164 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.279e-06/0.1089, allocations: 0 / 475.6 MB, free: 7.164 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000337/0.1093, allocations: 76.02 kB / 475.6 MB, free: 7.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.433e-06/0.1093, allocations: 4 kB / 475.7 MB, free: 7.086 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/0.1093, allocations: 4 kB / 475.7 MB, free: 7.082 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077e-05/0.1094, allocations: 11.94 kB / 475.7 MB, free: 7.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.976e-06/0.1094, allocations: 3.938 kB / 475.7 MB, free: 7.066 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.1107, allocations: 0.5512 MB / 476.2 MB, free: 6.441 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/0.1109, allocations: 156.6 kB / 476.4 MB, free: 6.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.013e-05/0.111, allocations: 12 kB / 476.4 MB, free: 6.258 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/0.1113, allocations: 31.92 kB / 476.4 MB, free: 6.227 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.1114, allocations: 39.89 kB / 476.5 MB, free: 6.188 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.332e-05/0.1115, allocations: 19.98 kB / 476.5 MB, free: 6.168 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003901/0.1119, allocations: 243.2 kB / 476.7 MB, free: 5.938 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.47e-07/0.1119, allocations: 0 / 476.7 MB, free: 5.938 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005358/0.1124, allocations: 103.8 kB / 476.8 MB, free: 5.836 MB / 314.7 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.001524/0.1139, allocations: 476 kB / 477.3 MB, free: 5.418 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001337/0.1153, allocations: 0.5383 MB / 477.8 MB, free: 4.855 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.735e-06/0.1153, allocations: 0.875 kB / 477.8 MB, free: 4.855 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000655/0.116, allocations: 203.9 kB / 478 MB, free: 4.656 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.1164, allocations: 57.7 kB / 478.1 MB, free: 4.598 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.1179, allocations: 0.7919 MB / 478.9 MB, free: 3.758 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005554/0.1185, allocations: 0.8193 MB / 479.7 MB, free: 2.91 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003523/0.1189, allocations: 91.09 kB / 479.8 MB, free: 2.824 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.119, allocations: 47.42 kB / 479.8 MB, free: 2.777 MB / 314.7 MB Notification: Performance of SimCode: time 1.273e-06/0.119, allocations: 0 / 479.8 MB, free: 2.777 MB / 314.7 MB Notification: Performance of Templates: time 0.01188/0.1309, allocations: 4.527 MB / 484.3 MB, free: 14.25 MB / 330.7 MB