Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.311/2.311, allocations: 233 MB / 245.6 MB, free: 14.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.557e-05/4.581e-05, allocations: 4 kB / 301.4 MB, free: 7.867 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1278, allocations: 53.23 MB / 354.6 MB, free: 2.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4665/0.5943, allocations: 97.08 MB / 451.7 MB, free: 4.797 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003361/0.5947, allocations: 91.95 kB / 451.8 MB, free: 4.707 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06705/0.6618, allocations: 13.64 MB / 465.4 MB, free: 6.941 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6619, allocations: 0 / 465.4 MB, free: 6.941 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.418e-05/0.6619, allocations: 8 kB / 465.4 MB, free: 6.934 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002325/0.6643, allocations: 0.7266 MB / 466.1 MB, free: 6.156 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.6643, allocations: 12.03 kB / 466.1 MB, free: 6.145 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001817/0.6645, allocations: 82.52 kB / 466.2 MB, free: 6.055 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008629/0.6654, allocations: 91.3 kB / 466.3 MB, free: 5.965 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003983/0.6694, allocations: 0.9314 MB / 467.2 MB, free: 4.996 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.831e-05/0.6695, allocations: 36.98 kB / 467.3 MB, free: 4.961 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.6696, allocations: 40 kB / 467.3 MB, free: 4.922 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.6712, allocations: 0.6621 MB / 468 MB, free: 4.195 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.915e-05/0.6712, allocations: 4 kB / 468 MB, free: 4.191 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.105e-05/0.6713, allocations: 19.98 kB / 468 MB, free: 4.172 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.933e-05/0.6714, allocations: 36.77 kB / 468 MB, free: 4.137 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.6727, allocations: 493.1 kB / 468.5 MB, free: 3.652 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006259/0.679, allocations: 3.017 MB / 471.5 MB, free: 0.4961 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009588/0.68, allocations: 325.6 kB / 471.9 MB, free: 164 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004863/0.6805, allocations: 194 kB / 472.1 MB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.126e-05/0.6806, allocations: 11.98 kB / 472.1 MB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.6806, allocations: 38.78 kB / 472.1 MB, free: 15.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 3.697e-06/0.6807, allocations: 3.938 kB / 472.1 MB, free: 15.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.003132/0.6838, allocations: 1.162 MB / 473.3 MB, free: 14.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/0.6839, allocations: 81.11 kB / 473.3 MB, free: 14.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000578/0.6845, allocations: 331.5 kB / 473.7 MB, free: 14.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.789e-05/0.6846, allocations: 33.73 kB / 473.7 MB, free: 14.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002492/0.6848, allocations: 333.9 kB / 474 MB, free: 13.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.685, allocations: 134 kB / 474.2 MB, free: 13.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.6851, allocations: 11.98 kB / 474.2 MB, free: 13.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.6852, allocations: 330.8 kB / 474.5 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005378/0.6858, allocations: 201 kB / 474.7 MB, free: 13.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006968/0.6865, allocations: 374.2 kB / 475.1 MB, free: 12.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006941/0.6872, allocations: 267.2 kB / 475.3 MB, free: 12.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.046e-06/0.6872, allocations: 4 kB / 475.3 MB, free: 12.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.003858/0.6911, allocations: 0.8202 MB / 476.1 MB, free: 11.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.151e-05/0.6912, allocations: 8.562 kB / 476.2 MB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.6912, allocations: 4 kB / 476.2 MB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003112/0.6943, allocations: 293.4 kB / 476.4 MB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/0.6957, allocations: 139.8 kB / 476.6 MB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008369/0.7041, allocations: 3.783 MB / 480.4 MB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00072/0.7049, allocations: 36.03 kB / 480.4 MB, free: 7.152 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.219e-05/0.705, allocations: 19.94 kB / 480.4 MB, free: 7.133 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (51): * Single equations (assignments): 48 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001953/0.7052, allocations: 144.8 kB / 480.6 MB, free: 6.984 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.7053, allocations: 39.53 kB / 480.6 MB, free: 6.945 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/0.7068, allocations: 0.5209 MB / 481.1 MB, free: 6.418 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-05/0.7069, allocations: 12 kB / 481.1 MB, free: 6.406 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.7069, allocations: 3.984 kB / 481.1 MB, free: 6.402 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.7069, allocations: 3.938 kB / 481.1 MB, free: 6.398 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002623/0.7095, allocations: 1.078 MB / 482.2 MB, free: 5.258 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.7096, allocations: 0 / 482.2 MB, free: 5.258 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009717/0.7106, allocations: 95.94 kB / 482.3 MB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.296e-05/0.7106, allocations: 4 kB / 482.3 MB, free: 5.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.094e-05/0.7107, allocations: 8 kB / 482.3 MB, free: 5.152 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.776e-06/0.7107, allocations: 4.734 kB / 482.3 MB, free: 5.148 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.7107, allocations: 4 kB / 482.3 MB, free: 5.145 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/0.7127, allocations: 0.8712 MB / 483.2 MB, free: 4.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/0.7129, allocations: 116.5 kB / 483.3 MB, free: 4.098 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.863e-05/0.713, allocations: 12.02 kB / 483.3 MB, free: 4.086 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005221/0.7135, allocations: 28.22 kB / 483.4 MB, free: 4.059 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.897e-05/0.7136, allocations: 19.97 kB / 483.4 MB, free: 4.039 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.978e-05/0.7137, allocations: 16 kB / 483.4 MB, free: 4.023 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004561/0.7141, allocations: 263.5 kB / 483.6 MB, free: 3.766 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.7142, allocations: 0 / 483.6 MB, free: 3.766 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008698/0.715, allocations: 128 kB / 483.8 MB, free: 3.641 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * 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.002461/0.7175, allocations: 1.642 MB / 485.4 MB, free: 1.949 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002588/0.7201, allocations: 0.8012 MB / 486.2 MB, free: 1.129 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.7202, allocations: 0 / 486.2 MB, free: 1.129 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00058/0.7208, allocations: 224.4 kB / 486.4 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007764/0.7216, allocations: 78.2 kB / 486.5 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00355/0.7251, allocations: 1.246 MB / 487.8 MB, free: 15.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006572/0.7258, allocations: 0.9055 MB / 488.7 MB, free: 14.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004798/0.7263, allocations: 171.4 kB / 488.8 MB, free: 14.44 MB / 426.7 MB Notification: Performance of SimCode: time 1.714e-06/0.7263, allocations: 0 / 488.8 MB, free: 14.44 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.968/3.695, allocations: 10.12 MB / 498.9 MB, free: 4.316 MB / 426.7 MB