Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") Notification: Performance of loadModel(PowerSystems): time 2.198/2.198, allocations: 232.9 MB / 248.1 MB, free: 10.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.184e-05/3.179e-05, allocations: 4 kB / 304.4 MB, free: 1.969 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.356, allocations: 53.22 MB / 357.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.006712/0.3627, allocations: 4.066 MB / 361.6 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005038/0.3678, allocations: 2.188 MB / 363.8 MB, free: 9.527 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005211/0.3684, allocations: 23.03 kB / 363.9 MB, free: 9.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004222/0.3688, allocations: 73.98 kB / 363.9 MB, free: 9.457 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009891/0.3698, allocations: 233.6 kB / 364.2 MB, free: 9.246 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009365/0.3708, allocations: 228.7 kB / 364.4 MB, free: 9.059 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006306/0.3714, allocations: 298.8 kB / 364.7 MB, free: 8.836 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007056/0.3722, allocations: 301.5 kB / 365 MB, free: 8.598 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005357/0.3727, allocations: 180.2 kB / 365.1 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003488/0.3731, allocations: 155.1 kB / 365.3 MB, free: 8.402 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009552/0.374, allocations: 269.1 kB / 365.6 MB, free: 8.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.3742, allocations: 22.16 kB / 365.6 MB, free: 8.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.3744, allocations: 102.5 kB / 365.7 MB, free: 8.207 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.3745, allocations: 25.56 kB / 365.7 MB, free: 8.207 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.3756, allocations: 0.5094 MB / 366.2 MB, free: 7.879 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3756, allocations: 1.094 kB / 366.2 MB, free: 7.879 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3756, allocations: 0 / 366.2 MB, free: 7.879 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.3757, allocations: 0 / 366.2 MB, free: 7.879 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.001697/0.3774, allocations: 0.7387 MB / 367 MB, free: 7.203 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3774, allocations: 8.594 kB / 367 MB, free: 7.203 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/0.379, allocations: 124.5 kB / 367.1 MB, free: 7.148 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009101/0.3799, allocations: 393.4 kB / 367.5 MB, free: 6.793 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.142e-05/0.3799, allocations: 19.27 kB / 367.5 MB, free: 6.785 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.297e-05/0.38, allocations: 25 kB / 367.5 MB, free: 6.777 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.3815, allocations: 474 kB / 368 MB, free: 6.457 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.3815, allocations: 3.953 kB / 368 MB, free: 6.453 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.905e-05/0.3816, allocations: 11.59 kB / 368 MB, free: 6.445 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.01e-05/0.3817, allocations: 19.14 kB / 368 MB, free: 6.441 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/0.3835, allocations: 0.5154 MB / 368.5 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003328/0.3868, allocations: 1.838 MB / 370.4 MB, free: 4.496 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.3887, allocations: 413.1 kB / 370.8 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.599e-05/0.3888, allocations: 11.98 kB / 370.8 MB, free: 4.062 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009382/0.3897, allocations: 293.6 kB / 371.1 MB, free: 3.742 MB / 298.7 MB Notification: Performance of pre-optimization done (n=30): time 3.506e-06/0.3898, allocations: 0 / 371.1 MB, free: 3.742 MB / 298.7 MB Notification: Performance of matching and sorting (n=30): time 0.00239/0.3922, allocations: 0.5651 MB / 371.6 MB, free: 3.172 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001526/0.3924, allocations: 239.3 kB / 371.9 MB, free: 2.883 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005643/0.3929, allocations: 308.8 kB / 372.2 MB, free: 2.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.477e-05/0.393, allocations: 37.69 kB / 372.2 MB, free: 2.527 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.3933, allocations: 246.7 kB / 372.4 MB, free: 2.285 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.3934, allocations: 106.6 kB / 372.5 MB, free: 2.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/0.3935, allocations: 8 kB / 372.5 MB, free: 2.172 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3936, allocations: 334.8 kB / 372.9 MB, free: 1.836 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007241/0.3944, allocations: 168.6 kB / 373 MB, free: 1.668 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008438/0.3952, allocations: 308.4 kB / 373.3 MB, free: 1.309 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008342/0.3961, allocations: 259.3 kB / 373.6 MB, free: 1.043 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.3961, allocations: 4 kB / 373.6 MB, free: 1.039 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002009/0.3981, allocations: 0.606 MB / 374.2 MB, free: 424 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.986e-05/0.3982, allocations: 67.39 kB / 374.3 MB, free: 344 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.3983, allocations: 8 kB / 374.3 MB, free: 336 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.3983, allocations: 7.938 kB / 374.3 MB, free: 328 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006765/0.399, allocations: 99.88 kB / 374.4 MB, free: 228 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.785e-05/0.399, allocations: 4.312 kB / 374.4 MB, free: 224 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005607/0.3996, allocations: 67.5 kB / 374.5 MB, free: 156 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.28e-05/0.3997, allocations: 27.95 kB / 374.5 MB, free: 128 kB / 298.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 () * 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.0003744/0.4, allocations: 193.5 kB / 374.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.4002, allocations: 43.53 kB / 374.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001517/0.4003, allocations: 43.28 kB / 374.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.4003, allocations: 8 kB / 374.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.4004, allocations: 0 / 374.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/0.4004, allocations: 7.984 kB / 374.8 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.4017, allocations: 0.8547 MB / 375.6 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.4017, allocations: 7.938 kB / 375.6 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005211/0.4022, allocations: 75.95 kB / 375.7 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.138e-05/0.4023, allocations: 4 kB / 375.7 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-05/0.4023, allocations: 12 kB / 375.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/0.4023, allocations: 3.953 kB / 375.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.4023, allocations: 4 kB / 375.7 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.4041, allocations: 0.5584 MB / 376.3 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000264/0.4044, allocations: 152.6 kB / 376.4 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.4045, allocations: 12 kB / 376.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003971/0.4049, allocations: 31.97 kB / 376.5 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.4051, allocations: 47.89 kB / 376.5 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/0.4051, allocations: 11.98 kB / 376.5 MB, free: 13.89 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004169/0.4055, allocations: 243.2 kB / 376.8 MB, free: 13.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.345e-06/0.4056, allocations: 0 / 376.8 MB, free: 13.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006369/0.4062, allocations: 103.8 kB / 376.9 MB, free: 13.56 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) * 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.001351/0.4076, allocations: 453.6 kB / 377.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001898/0.4095, allocations: 0.5304 MB / 377.9 MB, free: 12.65 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/0.4096, allocations: 4.375 kB / 377.9 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008248/0.4104, allocations: 203.2 kB / 378.1 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006291/0.4111, allocations: 53.78 kB / 378.1 MB, free: 12.4 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.4133, allocations: 0.8327 MB / 378.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005376/0.4139, allocations: 0.8192 MB / 379.8 MB, free: 10.67 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/0.4142, allocations: 51.42 kB / 379.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of SimCode: time 1.252e-06/0.4142, allocations: 0 / 379.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of Templates: time 0.0149/0.4291, allocations: 5.665 MB / 385.5 MB, free: 4.953 MB / 314.7 MB