Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.366/2.366, allocations: 233 MB / 245.6 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.164e-05/4.203e-05, allocations: 4 kB / 301.4 MB, free: 7.883 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.121, allocations: 53.23 MB / 354.6 MB, free: 2.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4517/0.5728, allocations: 89.72 MB / 444.3 MB, free: 12.19 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/0.5732, allocations: 87.94 kB / 444.4 MB, free: 12.1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03193/0.6051, allocations: 6.61 MB / 451 MB, free: 5.445 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6052, allocations: 0 / 451 MB, free: 5.445 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.976e-05/0.6052, allocations: 4 kB / 451 MB, free: 5.441 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001158/0.6064, allocations: 0.5309 MB / 451.5 MB, free: 4.867 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.6065, allocations: 12.03 kB / 451.5 MB, free: 4.855 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001075/0.6066, allocations: 54.55 kB / 451.6 MB, free: 4.793 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.6067, allocations: 27.62 kB / 451.6 MB, free: 4.766 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003188/0.6099, allocations: 0.7784 MB / 452.4 MB, free: 3.949 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.8e-05/0.61, allocations: 16.44 kB / 452.4 MB, free: 3.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.358e-05/0.6101, allocations: 16.52 kB / 452.4 MB, free: 3.914 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007235/0.6108, allocations: 286.3 kB / 452.7 MB, free: 3.602 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.6108, allocations: 7.953 kB / 452.7 MB, free: 3.594 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/0.6109, allocations: 4 kB / 452.7 MB, free: 3.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.6109, allocations: 8 kB / 452.7 MB, free: 3.582 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005046/0.6114, allocations: 168.6 kB / 452.9 MB, free: 3.418 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002181/0.6136, allocations: 1.225 MB / 454.1 MB, free: 2.105 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004292/0.6141, allocations: 105.2 kB / 454.2 MB, free: 1.984 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.6142, allocations: 38.38 kB / 454.3 MB, free: 1.941 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.6143, allocations: 7.938 kB / 454.3 MB, free: 1.934 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.6143, allocations: 42.73 kB / 454.3 MB, free: 1.883 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 4.729e-06/0.6143, allocations: 0 / 454.3 MB, free: 1.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001137/0.6155, allocations: 462.4 kB / 454.8 MB, free: 1.379 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.369e-05/0.6156, allocations: 81.05 kB / 454.8 MB, free: 1.281 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003513/0.616, allocations: 211.2 kB / 455 MB, free: 1.066 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.616, allocations: 29.73 kB / 455.1 MB, free: 1.031 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.6162, allocations: 258 kB / 455.3 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.703e-05/0.6163, allocations: 39.45 kB / 455.4 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.38e-05/0.6163, allocations: 4 kB / 455.4 MB, free: 0.7344 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.6164, allocations: 314.8 kB / 455.7 MB, free: 428 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.6166, allocations: 41.2 kB / 455.7 MB, free: 388 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.6168, allocations: 124.9 kB / 455.8 MB, free: 216 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.617, allocations: 51.92 kB / 455.9 MB, free: 164 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.617, allocations: 0 / 455.9 MB, free: 164 kB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005039/0.6175, allocations: 185.9 kB / 456.1 MB, free: 15.97 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.6175, allocations: 8 kB / 456.1 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.6176, allocations: 9.672 kB / 456.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/0.6176, allocations: 7.953 kB / 456.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003313/0.6179, allocations: 47.86 kB / 456.1 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.618, allocations: 4.438 kB / 456.2 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.6182, allocations: 12 kB / 456.2 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.6183, allocations: 8 kB / 456.2 MB, free: 15.88 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 (24): * Single equations (assignments): 24 * 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.0001166/0.6184, allocations: 116.9 kB / 456.3 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.622e-05/0.6185, allocations: 27.72 kB / 456.3 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004077/0.6189, allocations: 127.4 kB / 456.4 MB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.6189, allocations: 7.938 kB / 456.4 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.6189, allocations: 4 kB / 456.4 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.6189, allocations: 3.984 kB / 456.5 MB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009134/0.6199, allocations: 479.3 kB / 456.9 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/0.6199, allocations: 0 / 456.9 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/0.6202, allocations: 27.88 kB / 456.9 MB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.154e-05/0.6202, allocations: 3.953 kB / 457 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.6202, allocations: 8 kB / 457 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.6203, allocations: 0 / 457 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.6203, allocations: 4.547 kB / 457 MB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005557/0.6208, allocations: 297.3 kB / 457.3 MB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.621, allocations: 96.86 kB / 457.3 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.677e-05/0.621, allocations: 3.984 kB / 457.4 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.6212, allocations: 8 kB / 457.4 MB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.6213, allocations: 12 kB / 457.4 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.6213, allocations: 7.922 kB / 457.4 MB, free: 14.54 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002581/0.6216, allocations: 175.1 kB / 457.5 MB, free: 14.38 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6216, allocations: 0 / 457.5 MB, free: 14.38 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004998/0.6221, allocations: 44 kB / 457.6 MB, free: 14.33 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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.0009684/0.6231, allocations: 0.9768 MB / 458.6 MB, free: 13.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000358/0.6235, allocations: 96.11 kB / 458.7 MB, free: 13.22 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6235, allocations: 0.9375 kB / 458.7 MB, free: 13.22 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.6237, allocations: 47.92 kB / 458.7 MB, free: 13.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005934/0.6243, allocations: 51.41 kB / 458.8 MB, free: 13.13 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.6257, allocations: 483.8 kB / 459.2 MB, free: 12.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004786/0.6263, allocations: 0.7833 MB / 460 MB, free: 11.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/0.6265, allocations: 81.27 kB / 460.1 MB, free: 11.72 MB / 394.7 MB Notification: Performance of SimCode: time 9.32e-07/0.6265, allocations: 0 / 460.1 MB, free: 11.72 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.628/3.254, allocations: 4.077 MB / 464.2 MB, free: 7.645 MB / 394.7 MB