Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") Notification: Performance of loadModel(PowerSystems): time 2.183/2.183, allocations: 232.9 MB / 248.1 MB, free: 10.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.528e-05/3.518e-05, allocations: 7.984 kB / 304.4 MB, free: 1.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3322, allocations: 53.23 MB / 357.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.005795/0.338, allocations: 3.425 MB / 361 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003994/0.3421, allocations: 1.756 MB / 362.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003955/0.3425, allocations: 19.88 kB / 362.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003705/0.3429, allocations: 63.53 kB / 362.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007538/0.3437, allocations: 191.4 kB / 363 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006686/0.3444, allocations: 163.5 kB / 363.2 MB, free: 9.855 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005871/0.345, allocations: 271.4 kB / 363.5 MB, free: 9.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008846/0.3459, allocations: 346.2 kB / 363.8 MB, free: 9.234 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005103/0.3464, allocations: 155.5 kB / 364 MB, free: 9.082 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002971/0.3467, allocations: 131.6 kB / 364.1 MB, free: 8.953 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007196/0.3475, allocations: 207.6 kB / 364.3 MB, free: 8.75 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.3476, allocations: 24 kB / 364.3 MB, free: 8.727 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.3478, allocations: 95.72 kB / 364.4 MB, free: 8.633 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.719e-05/0.3479, allocations: 24 kB / 364.4 MB, free: 8.609 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009358/0.3488, allocations: 486.8 kB / 364.9 MB, free: 8.133 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3488, allocations: 0 / 364.9 MB, free: 8.133 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.3489, allocations: 0 / 364.9 MB, free: 8.133 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.3489, allocations: 0 / 364.9 MB, free: 8.133 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001639/0.3505, allocations: 0.712 MB / 365.6 MB, free: 7.355 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.3506, allocations: 8.031 kB / 365.6 MB, free: 7.348 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/0.352, allocations: 115.4 kB / 365.7 MB, free: 7.234 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009562/0.353, allocations: 394.6 kB / 366.1 MB, free: 6.809 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.874e-05/0.353, allocations: 20.42 kB / 366.1 MB, free: 6.785 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.056e-05/0.3531, allocations: 27.98 kB / 366.2 MB, free: 6.758 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.3546, allocations: 454.8 kB / 366.6 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.3546, allocations: 0 / 366.6 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.156e-05/0.3547, allocations: 15.95 kB / 366.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.457e-05/0.3548, allocations: 16.42 kB / 366.6 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00186/0.3566, allocations: 0.5402 MB / 367.2 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003504/0.3602, allocations: 1.717 MB / 368.9 MB, free: 3.902 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/0.362, allocations: 405.1 kB / 369.3 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.312e-05/0.3621, allocations: 8 kB / 369.3 MB, free: 3.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009317/0.3631, allocations: 306.9 kB / 369.6 MB, free: 3.141 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 3.527e-06/0.3631, allocations: 0 / 369.6 MB, free: 3.141 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.00242/0.3655, allocations: 0.5678 MB / 370.2 MB, free: 2.566 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000163/0.3657, allocations: 295 kB / 370.5 MB, free: 2.211 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005251/0.3663, allocations: 287.6 kB / 370.7 MB, free: 1.922 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.122e-05/0.3664, allocations: 41.7 kB / 370.8 MB, free: 1.875 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.3666, allocations: 242.8 kB / 371 MB, free: 1.637 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.3667, allocations: 102.6 kB / 371.1 MB, free: 1.535 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.3668, allocations: 4 kB / 371.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3669, allocations: 330.8 kB / 371.4 MB, free: 1.199 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007252/0.3676, allocations: 168.3 kB / 371.6 MB, free: 1.035 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008086/0.3685, allocations: 308.3 kB / 371.9 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008372/0.3693, allocations: 259.3 kB / 372.2 MB, free: 420 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.3694, allocations: 4 kB / 372.2 MB, free: 416 kB / 298.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002003/0.3714, allocations: 0.6096 MB / 372.8 MB, free: 15.78 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.661e-05/0.3715, allocations: 63.88 kB / 372.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.3715, allocations: 15.98 kB / 372.9 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.3716, allocations: 4 kB / 372.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006513/0.3722, allocations: 91.89 kB / 372.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.782e-05/0.3723, allocations: 7.938 kB / 373 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005526/0.3728, allocations: 71.5 kB / 373 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.913e-05/0.3729, allocations: 16 kB / 373 MB, free: 15.5 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003576/0.3733, allocations: 205.5 kB / 373.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.3734, allocations: 31.62 kB / 373.3 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.3736, allocations: 43.17 kB / 373.3 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.3736, allocations: 8 kB / 373.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.3736, allocations: 0 / 373.3 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/0.3736, allocations: 7.984 kB / 373.3 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.375, allocations: 1.05 MB / 374.4 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.3751, allocations: 0 / 374.4 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005212/0.3756, allocations: 72.08 kB / 374.4 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.296e-05/0.3756, allocations: 4 kB / 374.5 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.923e-05/0.3757, allocations: 11.98 kB / 374.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.065e-05/0.3757, allocations: 4 kB / 374.5 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-06/0.3757, allocations: 7.953 kB / 374.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/0.3776, allocations: 0.583 MB / 375.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002671/0.3779, allocations: 156.6 kB / 375.2 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.378, allocations: 15.98 kB / 375.2 MB, free: 13.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000406/0.3784, allocations: 35.97 kB / 375.3 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.3786, allocations: 39.89 kB / 375.3 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.301e-05/0.3786, allocations: 8 kB / 375.3 MB, free: 13.02 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003991/0.3791, allocations: 227 kB / 375.5 MB, free: 12.8 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3791, allocations: 4 kB / 375.5 MB, free: 12.8 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006507/0.3797, allocations: 99.83 kB / 375.6 MB, free: 12.7 MB / 314.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) * 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 (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.001366/0.3811, allocations: 466.3 kB / 376.1 MB, free: 12.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001905/0.3831, allocations: 0.5421 MB / 376.6 MB, free: 11.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.3831, allocations: 0 / 376.6 MB, free: 11.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008372/0.384, allocations: 207.3 kB / 376.8 MB, free: 11.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005983/0.3846, allocations: 60.95 kB / 376.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.3867, allocations: 0.8303 MB / 377.7 MB, free: 10.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005367/0.3872, allocations: 0.8115 MB / 378.5 MB, free: 9.77 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002594/0.3875, allocations: 43.42 kB / 378.6 MB, free: 9.727 MB / 314.7 MB Notification: Performance of SimCode: time 1.132e-06/0.3875, allocations: 4 kB / 378.6 MB, free: 9.723 MB / 314.7 MB Notification: Performance of Templates: time 0.0144/0.4019, allocations: 5.527 MB / 384.1 MB, free: 4.184 MB / 314.7 MB