Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_PMeterTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.372/2.372, allocations: 233 MB / 245.6 MB, free: 15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.654e-05/3.669e-05, allocations: 4 kB / 301.4 MB, free: 8.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.15, allocations: 53.24 MB / 354.6 MB, free: 2.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4796/0.6297, allocations: 90.27 MB / 444.9 MB, free: 11.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004072/0.6302, allocations: 83.95 kB / 444.9 MB, free: 11.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06822/0.6985, allocations: 14.52 MB / 459.5 MB, free: 13.01 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.6985, allocations: 0 / 459.5 MB, free: 13.01 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.697e-05/0.6986, allocations: 4 kB / 459.5 MB, free: 13 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.0008843/0.6995, allocations: 490.1 kB / 459.9 MB, free: 12.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.6995, allocations: 8.031 kB / 460 MB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.639e-05/0.6996, allocations: 54.55 kB / 460 MB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001497/0.7011, allocations: 123.6 kB / 460.1 MB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005731/0.7017, allocations: 263.2 kB / 460.4 MB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.7018, allocations: 12 kB / 460.4 MB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.778e-05/0.7018, allocations: 20 kB / 460.4 MB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007617/0.7026, allocations: 306.9 kB / 460.7 MB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.7026, allocations: 0 / 460.7 MB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.054e-05/0.7027, allocations: 15.94 kB / 460.7 MB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.389e-05/0.7028, allocations: 16 kB / 460.7 MB, free: 11.6 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007307/0.7035, allocations: 283.8 kB / 461 MB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00256/0.7061, allocations: 1.282 MB / 462.3 MB, free: 9.941 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004791/0.7066, allocations: 194.3 kB / 462.5 MB, free: 9.715 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.7067, allocations: 49.89 kB / 462.5 MB, free: 9.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.7068, allocations: 0 / 462.5 MB, free: 9.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.7068, allocations: 34.56 kB / 462.6 MB, free: 9.617 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 2.174e-06/0.7068, allocations: 0 / 462.6 MB, free: 9.617 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003694/0.7072, allocations: 113.4 kB / 462.7 MB, free: 9.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.7073, allocations: 77.11 kB / 462.8 MB, free: 9.406 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.7076, allocations: 191 kB / 462.9 MB, free: 9.215 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.7076, allocations: 37.73 kB / 463 MB, free: 9.172 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.7078, allocations: 226 kB / 463.2 MB, free: 8.949 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.767e-05/0.7079, allocations: 39.47 kB / 463.2 MB, free: 8.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.565e-05/0.7079, allocations: 8 kB / 463.3 MB, free: 8.902 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.7081, allocations: 318.8 kB / 463.6 MB, free: 8.582 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.7082, allocations: 32 kB / 463.6 MB, free: 8.551 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.7084, allocations: 136.8 kB / 463.7 MB, free: 8.371 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.7086, allocations: 59.91 kB / 463.8 MB, free: 8.312 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.7086, allocations: 4 kB / 463.8 MB, free: 8.309 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004509/0.7091, allocations: 181.3 kB / 464 MB, free: 8.125 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.7091, allocations: 7.984 kB / 464 MB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.7091, allocations: 4 kB / 464 MB, free: 8.113 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.7092, allocations: 4 kB / 464 MB, free: 8.109 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003321/0.7095, allocations: 48.36 kB / 464 MB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.874e-05/0.7095, allocations: 8 kB / 464 MB, free: 8.055 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.7098, allocations: 27.73 kB / 464.1 MB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.7098, allocations: 19.94 kB / 464.1 MB, free: 8.008 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (23): * Single equations (assignments): 23 * 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.0001055/0.7099, allocations: 116.9 kB / 464.2 MB, free: 7.887 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.448e-05/0.71, allocations: 15.81 kB / 464.2 MB, free: 7.871 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003217/0.7103, allocations: 115.2 kB / 464.3 MB, free: 7.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.7104, allocations: 4 kB / 464.3 MB, free: 7.746 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.7104, allocations: 0 / 464.3 MB, free: 7.746 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.7104, allocations: 7.984 kB / 464.3 MB, free: 7.738 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.7115, allocations: 0.5606 MB / 464.9 MB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.7116, allocations: 7.938 kB / 464.9 MB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.7117, allocations: 15.98 kB / 464.9 MB, free: 7.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.356e-05/0.7117, allocations: 11.89 kB / 464.9 MB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.7118, allocations: 4 kB / 464.9 MB, free: 7.055 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.7118, allocations: 4 kB / 464.9 MB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.571e-05/0.7118, allocations: 7.938 kB / 464.9 MB, free: 7.043 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004836/0.7123, allocations: 393 kB / 465.3 MB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.7124, allocations: 112.9 kB / 465.4 MB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/0.7125, allocations: 4 kB / 465.4 MB, free: 6.418 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.7127, allocations: 4 kB / 465.5 MB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-05/0.7128, allocations: 16 kB / 465.5 MB, free: 6.398 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.7128, allocations: 12 kB / 465.5 MB, free: 6.387 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002064/0.713, allocations: 145.5 kB / 465.6 MB, free: 6.246 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.713, allocations: 0 / 465.6 MB, free: 6.246 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005385/0.7136, allocations: 63.84 kB / 465.7 MB, free: 6.184 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 10 * 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.001136/0.7147, allocations: 1.625 MB / 467.3 MB, free: 4.461 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003406/0.7151, allocations: 102.3 kB / 467.4 MB, free: 4.363 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.7151, allocations: 4.062 kB / 467.4 MB, free: 4.359 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.7152, allocations: 51.84 kB / 467.5 MB, free: 4.309 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004351/0.7157, allocations: 30.69 kB / 467.5 MB, free: 4.281 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.7169, allocations: 422.7 kB / 467.9 MB, free: 3.797 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.7174, allocations: 0.7597 MB / 468.7 MB, free: 3.012 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.7175, allocations: 63.41 kB / 468.7 MB, free: 2.949 MB / 394.7 MB Notification: Performance of SimCode: time 9.42e-07/0.7176, allocations: 4 kB / 468.7 MB, free: 2.945 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.568/3.286, allocations: 3.167 MB / 471.9 MB, free: 15.77 MB / 410.7 MB