Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.468/2.468, allocations: 233 MB / 246.1 MB, free: 14.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.433e-05/6.454e-05, allocations: 4 kB / 302.3 MB, free: 7.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1183, allocations: 53.24 MB / 355.5 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5279/0.6462, allocations: 91.26 MB / 446.8 MB, free: 10.42 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003781/0.6467, allocations: 83.95 kB / 446.9 MB, free: 10.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08673/0.7334, allocations: 12.46 MB / 459.3 MB, free: 13.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.7335, allocations: 0 / 459.3 MB, free: 13.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.398e-05/0.7335, allocations: 8 kB / 459.3 MB, free: 13.73 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001443/0.735, allocations: 0.6171 MB / 460 MB, free: 13.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.7351, allocations: 12.02 kB / 460 MB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001415/0.7352, allocations: 74.53 kB / 460 MB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.7362, allocations: 87.38 kB / 460.1 MB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003561/0.7398, allocations: 0.853 MB / 461 MB, free: 12 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.831e-05/0.7399, allocations: 28.73 kB / 461 MB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/0.7401, allocations: 43.88 kB / 461.1 MB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.7412, allocations: 456.7 kB / 461.5 MB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/0.7413, allocations: 4 kB / 461.5 MB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.294e-05/0.7414, allocations: 8 kB / 461.5 MB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-05/0.7414, allocations: 28.77 kB / 461.5 MB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008812/0.7423, allocations: 325.4 kB / 461.9 MB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003762/0.7461, allocations: 1.732 MB / 463.6 MB, free: 9.246 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004326/0.7466, allocations: 141.1 kB / 463.7 MB, free: 9.09 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002635/0.7469, allocations: 113.8 kB / 463.8 MB, free: 8.973 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.7469, allocations: 3.984 kB / 463.8 MB, free: 8.969 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.747, allocations: 34.56 kB / 463.9 MB, free: 8.926 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 3.045e-06/0.747, allocations: 0 / 463.9 MB, free: 8.926 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001963/0.749, allocations: 0.7103 MB / 464.6 MB, free: 8.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.749, allocations: 81.05 kB / 464.7 MB, free: 8.062 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004813/0.7495, allocations: 274.7 kB / 464.9 MB, free: 7.789 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.7496, allocations: 29.7 kB / 465 MB, free: 7.754 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/0.7499, allocations: 259.4 kB / 465.2 MB, free: 7.492 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.487e-05/0.75, allocations: 63.09 kB / 465.3 MB, free: 7.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/0.75, allocations: 4 kB / 465.3 MB, free: 7.426 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.7502, allocations: 342.8 kB / 465.6 MB, free: 7.082 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/0.7505, allocations: 101.6 kB / 465.7 MB, free: 6.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003786/0.7509, allocations: 185.1 kB / 465.9 MB, free: 6.754 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003333/0.7512, allocations: 132.6 kB / 466 MB, free: 6.625 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.7512, allocations: 4 kB / 466 MB, free: 6.621 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001532/0.7528, allocations: 464.1 kB / 466.5 MB, free: 6.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.7528, allocations: 8 kB / 466.5 MB, free: 6.152 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001011/0.7538, allocations: 304.2 kB / 466.8 MB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008116/0.7547, allocations: 132.7 kB / 466.9 MB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.7551, allocations: 60.08 kB / 467 MB, free: 5.664 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004157/0.7593, allocations: 2.194 MB / 469.2 MB, free: 3.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004038/0.7597, allocations: 16 kB / 469.2 MB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.842e-05/0.7598, allocations: 12 kB / 469.2 MB, free: 3.312 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 (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001509/0.7599, allocations: 124.9 kB / 469.3 MB, free: 3.184 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.62e-05/0.76, allocations: 35.64 kB / 469.4 MB, free: 3.148 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007693/0.7608, allocations: 257.2 kB / 469.6 MB, free: 2.883 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.7608, allocations: 4 kB / 469.6 MB, free: 2.879 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.7609, allocations: 0 / 469.6 MB, free: 2.879 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/0.7609, allocations: 7.922 kB / 469.6 MB, free: 2.871 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/0.7628, allocations: 0.739 MB / 470.4 MB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.7629, allocations: 1.406 kB / 470.4 MB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004165/0.7633, allocations: 31.98 kB / 470.4 MB, free: 2.035 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001873/0.7635, allocations: 40.83 kB / 470.4 MB, free: 1.992 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/0.7636, allocations: 7.984 kB / 470.4 MB, free: 1.984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.7636, allocations: 4.062 kB / 470.4 MB, free: 1.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.7636, allocations: 7.938 kB / 470.5 MB, free: 1.973 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009544/0.7646, allocations: 467.5 kB / 470.9 MB, free: 1.469 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.7647, allocations: 108.8 kB / 471 MB, free: 1.344 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.312e-05/0.7648, allocations: 4.062 kB / 471 MB, free: 1.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002761/0.7651, allocations: 15.98 kB / 471 MB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/0.7651, allocations: 15.92 kB / 471 MB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.7652, allocations: 4 kB / 471.1 MB, free: 1.305 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003582/0.7655, allocations: 218.2 kB / 471.3 MB, free: 1.094 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.436e-06/0.7656, allocations: 0 / 471.3 MB, free: 1.094 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000753/0.7663, allocations: 103.9 kB / 471.4 MB, free: 0.9922 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001504/0.7678, allocations: 1.239 MB / 472.6 MB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.769, allocations: 381.6 kB / 473 MB, free: 15.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.769, allocations: 0 / 473 MB, free: 15.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00034/0.7694, allocations: 185.8 kB / 473.2 MB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006218/0.77, allocations: 65.86 kB / 473.2 MB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002229/0.7723, allocations: 0.764 MB / 474 MB, free: 14.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006044/0.7729, allocations: 0.8499 MB / 474.8 MB, free: 13.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003488/0.7733, allocations: 58.92 kB / 474.9 MB, free: 13.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/0.7735, allocations: 127.4 kB / 475 MB, free: 13.19 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.7735, allocations: 0 / 475 MB, free: 13.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03811/0.8117, allocations: 7.176 MB / 482.2 MB, free: 6.09 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003266/0.812, allocations: 184.4 kB / 482.4 MB, free: 5.859 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.564/3.376, allocations: 0 / 482.4 MB, free: 5.859 MB / 410.7 MB