Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Source,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_Source",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.47/2.47, allocations: 233 MB / 245.6 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.432e-05/4.439e-05, allocations: 4 kB / 301.4 MB, free: 7.871 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1233, allocations: 53.24 MB / 354.6 MB, free: 2.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4457/0.569, allocations: 96.3 MB / 450.9 MB, free: 5.676 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003394/0.5694, allocations: 87.94 kB / 451 MB, free: 5.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0665/0.6359, allocations: 15.03 MB / 466 MB, free: 6.406 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.636, allocations: 0 / 466 MB, free: 6.406 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.71e-05/0.636, allocations: 12 kB / 466 MB, free: 6.395 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001756/0.6378, allocations: 0.6754 MB / 466.7 MB, free: 5.668 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.6378, allocations: 12.03 kB / 466.7 MB, free: 5.656 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001527/0.638, allocations: 86.52 kB / 466.8 MB, free: 5.562 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008779/0.6389, allocations: 91.38 kB / 466.9 MB, free: 5.473 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003202/0.6421, allocations: 0.8525 MB / 467.7 MB, free: 4.582 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.486e-05/0.6422, allocations: 28.77 kB / 467.8 MB, free: 4.555 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.6423, allocations: 43.86 kB / 467.8 MB, free: 4.512 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.6439, allocations: 0.6628 MB / 468.5 MB, free: 3.812 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.6439, allocations: 0 / 468.5 MB, free: 3.812 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.08e-05/0.644, allocations: 16 kB / 468.5 MB, free: 3.797 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000237/0.6442, allocations: 60.73 kB / 468.5 MB, free: 3.738 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/0.6458, allocations: 0.6146 MB / 469.2 MB, free: 3.125 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00555/0.6514, allocations: 2.546 MB / 471.7 MB, free: 448 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008013/0.6522, allocations: 318 kB / 472 MB, free: 112 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005198/0.6528, allocations: 229.8 kB / 472.2 MB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.429e-05/0.6528, allocations: 7.984 kB / 472.2 MB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.6529, allocations: 38.56 kB / 472.3 MB, free: 15.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 3.166e-06/0.6529, allocations: 3.938 kB / 472.3 MB, free: 15.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.002902/0.6558, allocations: 1.227 MB / 473.5 MB, free: 14.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.6559, allocations: 82.61 kB / 473.6 MB, free: 14.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003877/0.6563, allocations: 235.5 kB / 473.8 MB, free: 14.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.419e-05/0.6564, allocations: 33.7 kB / 473.9 MB, free: 14.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/0.6566, allocations: 294.1 kB / 474.1 MB, free: 13.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.6568, allocations: 153.8 kB / 474.3 MB, free: 13.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.6568, allocations: 4 kB / 474.3 MB, free: 13.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.657, allocations: 330.8 kB / 474.6 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000508/0.6575, allocations: 209 kB / 474.8 MB, free: 13.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006065/0.6581, allocations: 313.9 kB / 475.1 MB, free: 12.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006198/0.6588, allocations: 265 kB / 475.4 MB, free: 12.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.6588, allocations: 0 / 475.4 MB, free: 12.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002012/0.6608, allocations: 0.6781 MB / 476.1 MB, free: 11.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.6608, allocations: 8 kB / 476.1 MB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00148/0.6623, allocations: 0.5112 MB / 476.6 MB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006508/0.663, allocations: 113.8 kB / 476.7 MB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005884/0.6636, allocations: 87.81 kB / 476.8 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003719/0.6673, allocations: 2.993 MB / 479.8 MB, free: 7.898 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004583/0.6678, allocations: 32.09 kB / 479.8 MB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.852e-05/0.6679, allocations: 16 kB / 479.8 MB, free: 7.852 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (43): * Single equations (assignments): 38 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001596/0.6681, allocations: 125.9 kB / 479.9 MB, free: 7.723 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.828e-05/0.6682, allocations: 31.62 kB / 480 MB, free: 7.691 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.6695, allocations: 0.5197 MB / 480.5 MB, free: 7.168 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.216e-05/0.6696, allocations: 16 kB / 480.5 MB, free: 7.152 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.6696, allocations: 0 / 480.5 MB, free: 7.152 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.6696, allocations: 7.984 kB / 480.5 MB, free: 7.145 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002489/0.6721, allocations: 1.086 MB / 481.6 MB, free: 5.996 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.6721, allocations: 0 / 481.6 MB, free: 5.996 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007886/0.6729, allocations: 71.88 kB / 481.7 MB, free: 5.926 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/0.6729, allocations: 4 kB / 481.7 MB, free: 5.922 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-05/0.673, allocations: 16.05 kB / 481.7 MB, free: 5.906 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.673, allocations: 0 / 481.7 MB, free: 5.906 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.673, allocations: 3.938 kB / 481.7 MB, free: 5.902 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.6748, allocations: 0.8522 MB / 482.6 MB, free: 5.004 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/0.675, allocations: 148.6 kB / 482.7 MB, free: 4.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.361e-05/0.6751, allocations: 8 kB / 482.7 MB, free: 4.832 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000368/0.6755, allocations: 15.97 kB / 482.7 MB, free: 4.816 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.258e-05/0.6756, allocations: 24.16 kB / 482.7 MB, free: 4.793 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.942e-05/0.6756, allocations: 8 kB / 482.8 MB, free: 4.785 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002875/0.6759, allocations: 195.1 kB / 482.9 MB, free: 4.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.676, allocations: 4 kB / 482.9 MB, free: 4.586 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007664/0.6767, allocations: 135.9 kB / 483.1 MB, free: 4.453 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 3 * 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.002258/0.679, allocations: 1.65 MB / 484.7 MB, free: 2.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001663/0.6807, allocations: 0.7235 MB / 485.5 MB, free: 2.008 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.6807, allocations: 4.188 kB / 485.5 MB, free: 2.004 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005103/0.6812, allocations: 232 kB / 485.7 MB, free: 1.777 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006118/0.6819, allocations: 60.47 kB / 485.7 MB, free: 1.723 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/0.6846, allocations: 1.099 MB / 486.8 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006575/0.6853, allocations: 0.8866 MB / 487.7 MB, free: 15.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003847/0.6856, allocations: 151.4 kB / 487.9 MB, free: 15.51 MB / 426.7 MB Notification: Performance of SimCode: time 8.52e-07/0.6857, allocations: 0 / 487.9 MB, free: 15.51 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.934/3.619, allocations: 8.887 MB / 496.8 MB, free: 6.613 MB / 426.7 MB