Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.ReferenceInertial,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Introductory_ReferenceInertial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.397/2.397, allocations: 233 MB / 245.6 MB, free: 14.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.935e-05/3.949e-05, allocations: 4 kB / 301.3 MB, free: 7.883 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1151, allocations: 53.24 MB / 354.6 MB, free: 2.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4754/0.5906, allocations: 95.22 MB / 449.8 MB, free: 6.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/0.591, allocations: 79.95 kB / 449.9 MB, free: 6.582 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05523/0.6462, allocations: 12.17 MB / 462.1 MB, free: 10.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6463, allocations: 0 / 462.1 MB, free: 10.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.695e-05/0.6463, allocations: 8 kB / 462.1 MB, free: 10.29 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001577/0.6479, allocations: 0.6487 MB / 462.7 MB, free: 9.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.648, allocations: 8.031 kB / 462.7 MB, free: 9.582 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001703/0.6482, allocations: 90.5 kB / 462.8 MB, free: 9.484 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008218/0.649, allocations: 83.39 kB / 462.9 MB, free: 9.402 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003392/0.6524, allocations: 0.8293 MB / 463.7 MB, free: 8.535 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.825e-05/0.6525, allocations: 33 kB / 463.8 MB, free: 8.504 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.6526, allocations: 43.89 kB / 463.8 MB, free: 8.461 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.654, allocations: 0.5958 MB / 464.4 MB, free: 7.797 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.942e-05/0.6541, allocations: 0 / 464.4 MB, free: 7.797 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-05/0.6541, allocations: 16 kB / 464.4 MB, free: 7.781 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-05/0.6542, allocations: 40.69 kB / 464.4 MB, free: 7.742 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.6554, allocations: 421.2 kB / 464.9 MB, free: 7.332 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005023/0.6604, allocations: 2.863 MB / 467.7 MB, free: 4.316 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005694/0.661, allocations: 225.2 kB / 467.9 MB, free: 4.074 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000349/0.6614, allocations: 154.6 kB / 468.1 MB, free: 3.918 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.155e-05/0.6615, allocations: 0 / 468.1 MB, free: 3.918 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.6615, allocations: 38.56 kB / 468.1 MB, free: 3.871 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 2.535e-06/0.6615, allocations: 0 / 468.1 MB, free: 3.871 MB / 394.7 MB Notification: Performance of matching and sorting (n=30): time 0.002244/0.6638, allocations: 0.8517 MB / 469 MB, free: 2.969 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/0.6639, allocations: 89.03 kB / 469.1 MB, free: 2.863 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004893/0.6644, allocations: 286.6 kB / 469.3 MB, free: 2.578 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.056e-05/0.6644, allocations: 29.7 kB / 469.4 MB, free: 2.543 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/0.6647, allocations: 329.7 kB / 469.7 MB, free: 2.219 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.6648, allocations: 102.6 kB / 469.8 MB, free: 2.117 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.6649, allocations: 9.5 kB / 469.8 MB, free: 2.109 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.665, allocations: 334.8 kB / 470.1 MB, free: 1.773 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003716/0.6654, allocations: 141.1 kB / 470.3 MB, free: 1.637 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005508/0.666, allocations: 342.6 kB / 470.6 MB, free: 1.215 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005188/0.6665, allocations: 207.8 kB / 470.8 MB, free: 1.012 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.6665, allocations: 7.938 kB / 470.8 MB, free: 1.004 MB / 394.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001222/0.6678, allocations: 497 kB / 471.3 MB, free: 0.5117 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.6678, allocations: 8 kB / 471.3 MB, free: 0.5039 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.6678, allocations: 4 kB / 471.3 MB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.285e-05/0.6679, allocations: 15.95 kB / 471.3 MB, free: 496 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007899/0.6687, allocations: 112.5 kB / 471.4 MB, free: 384 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.357e-05/0.6687, allocations: 19.92 kB / 471.5 MB, free: 364 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004629/0.6692, allocations: 31.89 kB / 471.5 MB, free: 332 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.213e-05/0.6693, allocations: 20 kB / 471.5 MB, free: 312 kB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (57): * Single equations (assignments): 56 * Array equations: 1 * 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.0001537/0.6694, allocations: 136.8 kB / 471.6 MB, free: 168 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.691e-05/0.6695, allocations: 31.62 kB / 471.7 MB, free: 136 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.6706, allocations: 342.9 kB / 472 MB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.041e-05/0.6706, allocations: 8 kB / 472 MB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.6707, allocations: 7.953 kB / 472 MB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.6707, allocations: 7.922 kB / 472 MB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002279/0.673, allocations: 0.8678 MB / 472.9 MB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.397e-06/0.673, allocations: 3.953 kB / 472.9 MB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006321/0.6737, allocations: 59.91 kB / 473 MB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.23e-05/0.6737, allocations: 4 kB / 473 MB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.005e-05/0.6737, allocations: 16.08 kB / 473 MB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.6738, allocations: 0 / 473 MB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.6738, allocations: 4 kB / 473 MB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.6751, allocations: 0.6223 MB / 473.6 MB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.6753, allocations: 112.5 kB / 473.7 MB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.711e-05/0.6754, allocations: 16.62 kB / 473.7 MB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/0.6757, allocations: 19.98 kB / 473.8 MB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.6758, allocations: 19.94 kB / 473.8 MB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/0.6758, allocations: 8 kB / 473.8 MB, free: 13.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003835/0.6762, allocations: 218.2 kB / 474 MB, free: 13.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6762, allocations: 0 / 474 MB, free: 13.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007664/0.677, allocations: 108 kB / 474.1 MB, free: 13.56 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 27 * Array equations: 1 * 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.001884/0.6789, allocations: 1.468 MB / 475.6 MB, free: 12.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009915/0.6799, allocations: 353.9 kB / 475.9 MB, free: 11.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.68, allocations: 0 / 475.9 MB, free: 11.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003624/0.6803, allocations: 143.8 kB / 476.1 MB, free: 11.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006526/0.681, allocations: 56.12 kB / 476.1 MB, free: 11.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/0.6838, allocations: 0.9719 MB / 477.1 MB, free: 10.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006226/0.6844, allocations: 0.8747 MB / 478 MB, free: 9.574 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003595/0.6848, allocations: 139.4 kB / 478.1 MB, free: 9.438 MB / 410.7 MB Notification: Performance of SimCode: time 1.253e-06/0.6848, allocations: 0 / 478.1 MB, free: 9.438 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.657/3.341, allocations: 6.85 MB / 484.9 MB, free: 2.59 MB / 410.7 MB