Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Load,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Load",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.401/2.401, allocations: 233 MB / 246.1 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.163e-05/4.169e-05, allocations: 8 kB / 302.3 MB, free: 7.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1175, allocations: 53.23 MB / 355.5 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4905/0.6081, allocations: 97.08 MB / 452.6 MB, free: 4.617 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004929/0.6086, allocations: 87.95 kB / 452.7 MB, free: 4.531 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08373/0.6924, allocations: 13.65 MB / 466.3 MB, free: 6.758 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6924, allocations: 0 / 466.3 MB, free: 6.758 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.025e-05/0.6925, allocations: 12 kB / 466.4 MB, free: 6.746 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.002202/0.6947, allocations: 0.7188 MB / 467.1 MB, free: 5.977 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.6948, allocations: 12.03 kB / 467.1 MB, free: 5.965 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001546/0.6949, allocations: 82.52 kB / 467.2 MB, free: 5.875 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008025/0.6958, allocations: 99.28 kB / 467.3 MB, free: 5.777 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003958/0.6997, allocations: 0.9353 MB / 468.2 MB, free: 4.805 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.926e-05/0.6998, allocations: 33 kB / 468.2 MB, free: 4.773 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.7, allocations: 40 kB / 468.3 MB, free: 4.734 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.7015, allocations: 0.6621 MB / 468.9 MB, free: 4.008 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/0.7015, allocations: 4 kB / 468.9 MB, free: 4.004 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-05/0.7016, allocations: 20 kB / 469 MB, free: 3.984 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.937e-05/0.7017, allocations: 32.77 kB / 469 MB, free: 3.953 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.7031, allocations: 497.1 kB / 469.5 MB, free: 3.465 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005866/0.709, allocations: 3.013 MB / 472.5 MB, free: 320 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000972/0.71, allocations: 325.6 kB / 472.8 MB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004695/0.7105, allocations: 198 kB / 473 MB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.598e-05/0.7105, allocations: 8 kB / 473 MB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.7106, allocations: 42.72 kB / 473 MB, free: 15.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 3.366e-06/0.7106, allocations: 1.875 kB / 473 MB, free: 15.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.003003/0.7136, allocations: 1.158 MB / 474.2 MB, free: 14.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.7137, allocations: 81.14 kB / 474.3 MB, free: 14.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005949/0.7143, allocations: 335.4 kB / 474.6 MB, free: 14.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.775e-05/0.7144, allocations: 33.69 kB / 474.6 MB, free: 14.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.7146, allocations: 279.5 kB / 474.9 MB, free: 13.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/0.7148, allocations: 138 kB / 475.1 MB, free: 13.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.7149, allocations: 8 kB / 475.1 MB, free: 13.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.7151, allocations: 354.8 kB / 475.4 MB, free: 13.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005536/0.7156, allocations: 201 kB / 475.6 MB, free: 13.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006678/0.7163, allocations: 369.8 kB / 476 MB, free: 12.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00068/0.717, allocations: 265.1 kB / 476.2 MB, free: 12.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.717, allocations: 4 kB / 476.2 MB, free: 12.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.003782/0.7208, allocations: 0.8403 MB / 477.1 MB, free: 11.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.7209, allocations: 12.09 kB / 477.1 MB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.7209, allocations: 4 kB / 477.1 MB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003053/0.724, allocations: 289.4 kB / 477.4 MB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.7253, allocations: 139.8 kB / 477.5 MB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008079/0.7334, allocations: 3.789 MB / 481.3 MB, free: 7.008 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007336/0.7342, allocations: 28.3 kB / 481.3 MB, free: 6.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.907e-05/0.7343, allocations: 23.98 kB / 481.3 MB, free: 6.957 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.0001926/0.7345, allocations: 136.8 kB / 481.5 MB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.7346, allocations: 47.44 kB / 481.5 MB, free: 6.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/0.7361, allocations: 0.5249 MB / 482 MB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.751e-05/0.7361, allocations: 8 kB / 482.1 MB, free: 6.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.7361, allocations: 1.031 kB / 482.1 MB, free: 6.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.7361, allocations: 11.91 kB / 482.1 MB, free: 6.219 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002603/0.7388, allocations: 1.081 MB / 483.1 MB, free: 5.074 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.7388, allocations: 4.062 kB / 483.2 MB, free: 5.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009385/0.7398, allocations: 95.86 kB / 483.2 MB, free: 4.977 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.317e-05/0.7398, allocations: 4 kB / 483.3 MB, free: 4.973 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.86e-05/0.7399, allocations: 12 kB / 483.3 MB, free: 4.961 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.957e-06/0.7399, allocations: 4 kB / 483.3 MB, free: 4.957 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.7399, allocations: 0 / 483.3 MB, free: 4.957 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/0.7418, allocations: 0.8634 MB / 484.1 MB, free: 4.051 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000193/0.742, allocations: 108.6 kB / 484.2 MB, free: 3.926 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.7422, allocations: 21.41 kB / 484.3 MB, free: 3.906 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004942/0.7427, allocations: 23.97 kB / 484.3 MB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.962e-05/0.7428, allocations: 23.97 kB / 484.3 MB, free: 3.859 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-05/0.7428, allocations: 12 kB / 484.3 MB, free: 3.848 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004611/0.7433, allocations: 254.1 kB / 484.6 MB, free: 3.598 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7433, allocations: 0 / 484.6 MB, free: 3.598 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008708/0.7442, allocations: 140 kB / 484.7 MB, free: 3.461 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.002396/0.7466, allocations: 1.642 MB / 486.3 MB, free: 1.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002584/0.7492, allocations: 0.8051 MB / 487.1 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.7492, allocations: 0 / 487.1 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005622/0.7498, allocations: 224.4 kB / 487.4 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000752/0.7506, allocations: 83.75 kB / 487.4 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/0.7539, allocations: 1.186 MB / 488.6 MB, free: 15.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006602/0.7546, allocations: 0.9172 MB / 489.6 MB, free: 14.47 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000666/0.7553, allocations: 131.3 kB / 489.7 MB, free: 14.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004158/0.7557, allocations: 167.4 kB / 489.8 MB, free: 14.18 MB / 426.7 MB Notification: Performance of SimCode: time 8.71e-07/0.7558, allocations: 4 kB / 489.8 MB, free: 14.18 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04141/0.7972, allocations: 10.19 MB / 0.4883 GB, free: 4.074 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002917/0.7976, allocations: 176.2 kB / 0.4885 GB, free: 3.848 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.713/3.51, allocations: 0 / 0.4885 GB, free: 3.848 MB / 426.7 MB