Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PQsource,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_PQsource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.3/2.3, allocations: 233 MB / 245.6 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.064e-05/4.067e-05, allocations: 4 kB / 301.4 MB, free: 7.871 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1092, allocations: 53.23 MB / 354.6 MB, free: 2.523 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4407/0.55, allocations: 91.26 MB / 445.8 MB, free: 10.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003264/0.5504, allocations: 83.95 kB / 445.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05528/0.6056, allocations: 12.46 MB / 458.4 MB, free: 13.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.6057, allocations: 0 / 458.4 MB, free: 13.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.131e-05/0.6057, allocations: 8 kB / 458.4 MB, free: 13.93 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.00134/0.6071, allocations: 0.6093 MB / 459 MB, free: 13.27 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.6072, allocations: 8.031 kB / 459 MB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001314/0.6073, allocations: 82.5 kB / 459.1 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000959/0.6083, allocations: 91.38 kB / 459.2 MB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003514/0.6118, allocations: 0.8569 MB / 460 MB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.576e-05/0.6119, allocations: 24.73 kB / 460.1 MB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.612, allocations: 43.89 kB / 460.1 MB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.6131, allocations: 452.7 kB / 460.6 MB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.6132, allocations: 8 kB / 460.6 MB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.411e-05/0.6133, allocations: 12 kB / 460.6 MB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-05/0.6133, allocations: 24.77 kB / 460.6 MB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009049/0.6142, allocations: 329.4 kB / 460.9 MB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00353/0.6178, allocations: 1.728 MB / 462.6 MB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/0.6182, allocations: 137.1 kB / 462.8 MB, free: 9.293 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.6185, allocations: 111.5 kB / 462.9 MB, free: 9.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.6186, allocations: 7.984 kB / 462.9 MB, free: 9.172 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.6186, allocations: 34.56 kB / 462.9 MB, free: 9.129 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 2.605e-06/0.6186, allocations: 0 / 462.9 MB, free: 9.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001882/0.6205, allocations: 0.7076 MB / 463.6 MB, free: 8.363 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.6206, allocations: 77.11 kB / 463.7 MB, free: 8.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004596/0.6211, allocations: 278.7 kB / 464 MB, free: 7.992 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.6211, allocations: 33.7 kB / 464 MB, free: 7.953 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.6214, allocations: 305.8 kB / 464.3 MB, free: 7.648 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.942e-05/0.6215, allocations: 63.09 kB / 464.4 MB, free: 7.586 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.6215, allocations: 8 kB / 464.4 MB, free: 7.578 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.6217, allocations: 322.8 kB / 464.7 MB, free: 7.254 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002554/0.6219, allocations: 92.25 kB / 464.8 MB, free: 7.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003368/0.6223, allocations: 193.1 kB / 465 MB, free: 6.926 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/0.6226, allocations: 134.3 kB / 465.1 MB, free: 6.797 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.6226, allocations: 2.156 kB / 465.1 MB, free: 6.797 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001431/0.6241, allocations: 448.1 kB / 465.6 MB, free: 6.352 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.6241, allocations: 4.438 kB / 465.6 MB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009971/0.6251, allocations: 308.8 kB / 465.9 MB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008241/0.626, allocations: 142.2 kB / 466 MB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000378/0.6264, allocations: 47.92 kB / 466 MB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004018/0.6304, allocations: 2.207 MB / 468.3 MB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003819/0.6308, allocations: 12 kB / 468.3 MB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/0.6309, allocations: 15.98 kB / 468.3 MB, free: 3.496 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.0001386/0.631, allocations: 128.8 kB / 468.4 MB, free: 3.363 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.423e-05/0.6311, allocations: 35.58 kB / 468.4 MB, free: 3.328 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007145/0.6319, allocations: 251.1 kB / 468.7 MB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.6319, allocations: 3.984 kB / 468.7 MB, free: 3.066 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.6319, allocations: 4 kB / 468.7 MB, free: 3.062 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.6319, allocations: 0 / 468.7 MB, free: 3.062 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001864/0.6338, allocations: 0.7399 MB / 469.4 MB, free: 2.258 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-05/0.6338, allocations: 4 kB / 469.4 MB, free: 2.254 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004125/0.6343, allocations: 35.97 kB / 469.5 MB, free: 2.219 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001837/0.6345, allocations: 36.83 kB / 469.5 MB, free: 2.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.6345, allocations: 4 kB / 469.5 MB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.762e-06/0.6345, allocations: 7.875 kB / 469.5 MB, free: 2.168 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.6345, allocations: 4 kB / 469.5 MB, free: 2.164 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009079/0.6355, allocations: 474.3 kB / 470 MB, free: 1.656 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.6356, allocations: 100.8 kB / 470.1 MB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.389e-05/0.6357, allocations: 8 kB / 470.1 MB, free: 1.531 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002798/0.636, allocations: 19.88 kB / 470.1 MB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.636, allocations: 11.98 kB / 470.1 MB, free: 1.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.6361, allocations: 4 kB / 470.1 MB, free: 1.496 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003599/0.6364, allocations: 222.2 kB / 470.3 MB, free: 1.281 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.495e-06/0.6365, allocations: 0 / 470.3 MB, free: 1.281 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000733/0.6372, allocations: 103.9 kB / 470.4 MB, free: 1.18 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.001463/0.6387, allocations: 1.228 MB / 471.7 MB, free: 15.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001105/0.6398, allocations: 393.6 kB / 472.1 MB, free: 15.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.6398, allocations: 0 / 472.1 MB, free: 15.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003613/0.6402, allocations: 182 kB / 472.2 MB, free: 15.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006046/0.6408, allocations: 65.11 kB / 472.3 MB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/0.6432, allocations: 0.8148 MB / 473.1 MB, free: 14.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005579/0.6438, allocations: 0.846 MB / 474 MB, free: 13.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000278/0.6441, allocations: 131.4 kB / 474.1 MB, free: 13.38 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6441, allocations: 4 kB / 474.1 MB, free: 13.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.889/3.533, allocations: 7.528 MB / 481.6 MB, free: 5.836 MB / 410.7 MB