Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.384/2.384, allocations: 233 MB / 245.6 MB, free: 14.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.541e-05/4.564e-05, allocations: 3.938 kB / 301.4 MB, free: 7.879 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1164, allocations: 53.24 MB / 354.6 MB, free: 2.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4495/0.5659, allocations: 89.72 MB / 444.3 MB, free: 12.16 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.5663, allocations: 79.95 kB / 444.4 MB, free: 12.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06054/0.6269, allocations: 14.05 MB / 458.4 MB, free: 13.9 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.36e-06/0.6269, allocations: 0 / 458.4 MB, free: 13.9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.597e-05/0.627, allocations: 11.92 kB / 458.5 MB, free: 13.89 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001559/0.6286, allocations: 498.1 kB / 458.9 MB, free: 13.36 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.385e-05/0.6287, allocations: 8.031 kB / 459 MB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001922/0.6289, allocations: 54.55 kB / 459 MB, free: 13.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002553/0.6314, allocations: 115.6 kB / 459.1 MB, free: 13.17 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000882/0.6324, allocations: 270.5 kB / 459.4 MB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.977e-05/0.6325, allocations: 12 kB / 459.4 MB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.559e-05/0.6326, allocations: 16 kB / 459.4 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.6337, allocations: 310.2 kB / 459.7 MB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/0.6338, allocations: 3.953 kB / 459.7 MB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.446e-05/0.6339, allocations: 16 kB / 459.7 MB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002134/0.6341, allocations: 23.97 kB / 459.8 MB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.6352, allocations: 291.8 kB / 460 MB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00261/0.6378, allocations: 1.241 MB / 461.3 MB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004194/0.6383, allocations: 165 kB / 461.4 MB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002585/0.6386, allocations: 101.8 kB / 461.5 MB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/0.6386, allocations: 0 / 461.5 MB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.424e-05/0.6387, allocations: 42.55 kB / 461.6 MB, free: 10.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 2.405e-06/0.6387, allocations: 0 / 461.6 MB, free: 10.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=18): time 0.001554/0.6403, allocations: 433.1 kB / 462 MB, free: 10.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.178e-05/0.6404, allocations: 81.11 kB / 462.1 MB, free: 9.992 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.6407, allocations: 173.5 kB / 462.3 MB, free: 9.816 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.6407, allocations: 25.7 kB / 462.3 MB, free: 9.785 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.6409, allocations: 214.4 kB / 462.5 MB, free: 9.574 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.089e-05/0.641, allocations: 59.11 kB / 462.5 MB, free: 9.516 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.019e-05/0.641, allocations: 7.938 kB / 462.6 MB, free: 9.508 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.6412, allocations: 330.8 kB / 462.9 MB, free: 9.176 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.6414, allocations: 75.97 kB / 463 MB, free: 9.102 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.6417, allocations: 140.9 kB / 463.1 MB, free: 8.934 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.642, allocations: 106.1 kB / 463.2 MB, free: 8.832 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/0.642, allocations: 0 / 463.2 MB, free: 8.832 MB / 394.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001072/0.6431, allocations: 329.9 kB / 463.5 MB, free: 8.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.6432, allocations: 11.95 kB / 463.5 MB, free: 8.488 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.6432, allocations: 4 kB / 463.5 MB, free: 8.484 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006079/0.6438, allocations: 88.78 kB / 463.6 MB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003373/0.6442, allocations: 43.91 kB / 463.7 MB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003654/0.6478, allocations: 1.943 MB / 465.6 MB, free: 6.273 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/0.6482, allocations: 15.98 kB / 465.6 MB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.6482, allocations: 4 kB / 465.6 MB, free: 6.254 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001534/0.6484, allocations: 128.8 kB / 465.7 MB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.765e-05/0.6484, allocations: 19.81 kB / 465.8 MB, free: 6.102 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.6495, allocations: 314.6 kB / 466.1 MB, free: 5.785 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.6495, allocations: 0 / 466.1 MB, free: 5.785 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.6496, allocations: 4 kB / 466.1 MB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.6496, allocations: 7.922 kB / 466.1 MB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001956/0.6515, allocations: 0.7329 MB / 466.8 MB, free: 4.977 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.6516, allocations: 4 kB / 466.8 MB, free: 4.973 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/0.6518, allocations: 27.92 kB / 466.9 MB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004714/0.6523, allocations: 72.78 kB / 466.9 MB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/0.6524, allocations: 11.95 kB / 466.9 MB, free: 4.859 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002925/0.6553, allocations: 1.823 MB / 468.8 MB, free: 2.902 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/0.6554, allocations: 8.016 kB / 468.8 MB, free: 2.895 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.6564, allocations: 431.8 kB / 469.2 MB, free: 2.426 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.6565, allocations: 88.92 kB / 469.3 MB, free: 2.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.321e-05/0.6566, allocations: 8 kB / 469.3 MB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.6568, allocations: 11.98 kB / 469.3 MB, free: 2.301 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.6569, allocations: 11.98 kB / 469.3 MB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.6569, allocations: 11.98 kB / 469.3 MB, free: 2.277 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001925/0.6571, allocations: 136.5 kB / 469.4 MB, free: 2.145 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.6571, allocations: 0 / 469.4 MB, free: 2.145 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006982/0.6578, allocations: 76 kB / 469.5 MB, free: 2.07 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (16): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001493/0.6593, allocations: 1.184 MB / 470.7 MB, free: 0.8359 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.6604, allocations: 352.5 kB / 471.1 MB, free: 496 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.6605, allocations: 0 / 471.1 MB, free: 496 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006204/0.6611, allocations: 251.8 kB / 471.3 MB, free: 236 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.6616, allocations: 39.88 kB / 471.3 MB, free: 192 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.663, allocations: 457.4 kB / 471.8 MB, free: 15.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.6635, allocations: 0.7675 MB / 472.6 MB, free: 14.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.6637, allocations: 63.41 kB / 472.6 MB, free: 14.83 MB / 410.7 MB Notification: Performance of SimCode: time 9.91e-07/0.6637, allocations: 0 / 472.6 MB, free: 14.83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.93/3.594, allocations: 4.473 MB / 477.1 MB, free: 10.35 MB / 410.7 MB