Running command: translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.Frequency") Notification: Performance of loadModel(PowerSystems): time 2.409/2.409, allocations: 232.9 MB / 248.1 MB, free: 11.31 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.14e-05/3.135e-05, allocations: 4 kB / 304.4 MB, free: 2.934 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3652, allocations: 53.22 MB / 357.6 MB, free: 15.6 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Frequency): time 0.01193/0.3772, allocations: 5.725 MB / 363.3 MB, free: 9.844 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005045/0.3823, allocations: 1.396 MB / 364.7 MB, free: 8.441 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008989/0.3832, allocations: 51.62 kB / 364.7 MB, free: 8.391 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003827/0.3836, allocations: 91.33 kB / 364.8 MB, free: 8.301 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.3851, allocations: 326.9 kB / 365.2 MB, free: 7.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009094/0.386, allocations: 191.7 kB / 365.3 MB, free: 7.793 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009052/0.3869, allocations: 311.2 kB / 365.6 MB, free: 7.488 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003313/0.3873, allocations: 93.45 kB / 365.7 MB, free: 7.395 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006584/0.388, allocations: 215.3 kB / 366 MB, free: 7.184 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007713/0.3888, allocations: 211.4 kB / 366.2 MB, free: 6.977 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.3889, allocations: 12 kB / 366.2 MB, free: 6.965 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.674e-05/0.389, allocations: 16 kB / 366.2 MB, free: 6.949 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001851/0.3891, allocations: 127.6 kB / 366.3 MB, free: 6.824 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.3893, allocations: 48 kB / 366.4 MB, free: 6.777 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005158/0.3898, allocations: 359 kB / 366.7 MB, free: 6.426 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3899, allocations: 0 / 366.7 MB, free: 6.426 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3899, allocations: 0 / 366.7 MB, free: 6.426 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.3899, allocations: 0 / 366.7 MB, free: 6.426 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001559/0.3915, allocations: 0.6649 MB / 367.4 MB, free: 5.711 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.3915, allocations: 12.03 kB / 367.4 MB, free: 5.699 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.3917, allocations: 47.44 kB / 367.4 MB, free: 5.652 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009423/0.3926, allocations: 415.4 kB / 367.8 MB, free: 5.207 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.013e-05/0.3927, allocations: 29 kB / 367.9 MB, free: 5.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.735e-05/0.3928, allocations: 43.84 kB / 367.9 MB, free: 5.137 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.3938, allocations: 459.5 kB / 368.4 MB, free: 4.648 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.3939, allocations: 0 / 368.4 MB, free: 4.648 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.422e-05/0.394, allocations: 12 kB / 368.4 MB, free: 4.637 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.394, allocations: 8 kB / 368.4 MB, free: 4.629 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008358/0.3948, allocations: 320.2 kB / 368.7 MB, free: 4.316 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002978/0.3978, allocations: 1.779 MB / 370.5 MB, free: 2.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.3982, allocations: 135.7 kB / 370.6 MB, free: 2.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/0.3982, allocations: 8.188 kB / 370.6 MB, free: 2.262 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.3983, allocations: 30.56 kB / 370.6 MB, free: 2.223 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 3.136e-06/0.3983, allocations: 0 / 370.6 MB, free: 2.223 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001359/0.3997, allocations: 0.6039 MB / 371.2 MB, free: 1.562 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.3998, allocations: 106.8 kB / 371.3 MB, free: 1.434 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005183/0.4003, allocations: 324.8 kB / 371.7 MB, free: 1.113 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.4003, allocations: 25.7 kB / 371.7 MB, free: 1.082 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.4006, allocations: 329.8 kB / 372 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.566e-05/0.4007, allocations: 59.14 kB / 372.1 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.626e-05/0.4007, allocations: 4 kB / 372.1 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.4008, allocations: 326.8 kB / 372.4 MB, free: 376 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.401, allocations: 52 kB / 372.4 MB, free: 324 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.4013, allocations: 187.2 kB / 372.6 MB, free: 68 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.4015, allocations: 71.97 kB / 372.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.4015, allocations: 4 kB / 372.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006368/0.4022, allocations: 272.9 kB / 373 MB, free: 15.72 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.4022, allocations: 5.562 kB / 373 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.4023, allocations: 9.062 kB / 373 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/0.4023, allocations: 8 kB / 373 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000471/0.4028, allocations: 67.91 kB / 373.1 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.939e-05/0.4028, allocations: 11.94 kB / 373.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003134/0.4031, allocations: 16 kB / 373.1 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.4032, allocations: 16 kB / 373.1 MB, free: 15.59 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * 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.0002889/0.4035, allocations: 181.6 kB / 373.3 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.4036, allocations: 39.52 kB / 373.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004369/0.404, allocations: 169.2 kB / 373.5 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.4041, allocations: 4 kB / 373.5 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.4041, allocations: 96 / 373.5 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.4041, allocations: 7.938 kB / 373.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009665/0.4051, allocations: 0.5304 MB / 374 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.4051, allocations: 4 kB / 374 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003566/0.4055, allocations: 31.98 kB / 374.1 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.4055, allocations: 3.938 kB / 374.1 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.266e-05/0.4055, allocations: 8 kB / 374.1 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.4055, allocations: 4.031 kB / 374.1 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4055, allocations: 0 / 374.1 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006242/0.4062, allocations: 437.4 kB / 374.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.4063, allocations: 120.6 kB / 374.6 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.489e-05/0.4064, allocations: 3.953 kB / 374.6 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.4067, allocations: 8 kB / 374.6 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.4067, allocations: 7.984 kB / 374.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.4068, allocations: 8 kB / 374.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003855/0.4072, allocations: 251.2 kB / 374.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.4072, allocations: 0 / 374.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005699/0.4078, allocations: 72 kB / 375 MB, free: 13.59 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind1.i,voltage2.theta,ind2.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001459/0.4079, allocations: 107.2 kB / 375.1 MB, free: 13.47 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004197/0.4084, allocations: 147.7 kB / 375.2 MB, free: 13.33 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4084, allocations: 1.25 kB / 375.2 MB, free: 13.33 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.4085, allocations: 59.86 kB / 375.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008403/0.4094, allocations: 93.42 kB / 375.4 MB, free: 13.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/0.4117, allocations: 1.09 MB / 376.4 MB, free: 12.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005539/0.4123, allocations: 0.8584 MB / 377.3 MB, free: 11.17 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.4124, allocations: 27.44 kB / 377.3 MB, free: 11.14 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4124, allocations: 0 / 377.3 MB, free: 11.14 MB / 314.7 MB Notification: Performance of Templates: time 0.01133/0.4238, allocations: 4.51 MB / 381.8 MB, free: 6.645 MB / 314.7 MB