Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_PowerTransfer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.513/2.513, allocations: 233 MB / 246.1 MB, free: 15.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.558e-05/4.556e-05, allocations: 11.98 kB / 302.3 MB, free: 7.594 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1527, allocations: 53.23 MB / 355.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4592/0.612, allocations: 90.72 MB / 446.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003472/0.6124, allocations: 83.95 kB / 446.3 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05791/0.6703, allocations: 12.83 MB / 459.2 MB, free: 13.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6704, allocations: 0 / 459.2 MB, free: 13.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.489e-05/0.6704, allocations: 8 kB / 459.2 MB, free: 13.96 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001453/0.6719, allocations: 0.6288 MB / 459.8 MB, free: 13.29 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/0.672, allocations: 15.95 kB / 459.8 MB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001266/0.6721, allocations: 74.53 kB / 459.9 MB, free: 13.19 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.6732, allocations: 91.38 kB / 460 MB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003534/0.6767, allocations: 0.8728 MB / 460.8 MB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.747e-05/0.6768, allocations: 21.12 kB / 460.9 MB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.6769, allocations: 39.95 kB / 460.9 MB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.6781, allocations: 456.7 kB / 461.3 MB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/0.6781, allocations: 0 / 461.3 MB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.504e-05/0.6782, allocations: 19.94 kB / 461.4 MB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-05/0.6783, allocations: 24.77 kB / 461.4 MB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009058/0.6792, allocations: 321.4 kB / 461.7 MB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003815/0.683, allocations: 1.624 MB / 463.3 MB, free: 9.574 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004985/0.6836, allocations: 173 kB / 463.5 MB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002757/0.6839, allocations: 109.8 kB / 463.6 MB, free: 9.273 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.6839, allocations: 3.984 kB / 463.6 MB, free: 9.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.684, allocations: 38.5 kB / 463.6 MB, free: 9.223 MB / 394.7 MB Notification: Performance of pre-optimization done (n=19): time 3.216e-06/0.684, allocations: 0 / 463.6 MB, free: 9.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.001858/0.6858, allocations: 0.7156 MB / 464.4 MB, free: 8.457 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.827e-05/0.6859, allocations: 81.11 kB / 464.4 MB, free: 8.359 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004505/0.6864, allocations: 266.7 kB / 464.7 MB, free: 8.098 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.459e-05/0.6865, allocations: 33.7 kB / 464.7 MB, free: 8.059 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/0.6867, allocations: 251.5 kB / 465 MB, free: 7.809 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.965e-05/0.6868, allocations: 70.98 kB / 465.1 MB, free: 7.738 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.6869, allocations: 12.03 kB / 465.1 MB, free: 7.727 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.687, allocations: 346.8 kB / 465.4 MB, free: 7.379 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.6873, allocations: 87.97 kB / 465.5 MB, free: 7.293 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003664/0.6877, allocations: 196.7 kB / 465.7 MB, free: 7.055 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.6881, allocations: 124.9 kB / 465.8 MB, free: 6.934 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6881, allocations: 0 / 465.8 MB, free: 6.934 MB / 394.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001349/0.6894, allocations: 423.1 kB / 466.2 MB, free: 6.512 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.6895, allocations: 8 kB / 466.2 MB, free: 6.504 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008361/0.6903, allocations: 256.7 kB / 466.5 MB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005597/0.6909, allocations: 80.97 kB / 466.6 MB, free: 6.168 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/0.6914, allocations: 59.91 kB / 466.6 MB, free: 6.109 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002427/0.6938, allocations: 1.581 MB / 468.2 MB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004399/0.6943, allocations: 14.53 kB / 468.2 MB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.094e-05/0.6944, allocations: 15.95 kB / 468.2 MB, free: 4.363 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 (34): * Single equations (assignments): 33 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001598/0.6946, allocations: 124.8 kB / 468.3 MB, free: 4.234 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.562e-05/0.6947, allocations: 27.62 kB / 468.4 MB, free: 4.207 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007496/0.6954, allocations: 269.5 kB / 468.6 MB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.597e-06/0.6954, allocations: 8.062 kB / 468.6 MB, free: 3.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.6955, allocations: 0 / 468.6 MB, free: 3.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.6955, allocations: 0 / 468.6 MB, free: 3.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/0.6973, allocations: 0.7458 MB / 469.4 MB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.6974, allocations: 0 / 469.4 MB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005234/0.6979, allocations: 55.91 kB / 469.4 MB, free: 3.066 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.6979, allocations: 8.062 kB / 469.5 MB, free: 3.059 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.454e-05/0.698, allocations: 8.141 kB / 469.5 MB, free: 3.051 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.698, allocations: 0 / 469.5 MB, free: 3.051 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.698, allocations: 0 / 469.5 MB, free: 3.051 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009295/0.699, allocations: 486.6 kB / 469.9 MB, free: 2.531 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.6991, allocations: 116.6 kB / 470 MB, free: 2.398 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/0.6992, allocations: 7.969 kB / 470.1 MB, free: 2.391 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002842/0.6995, allocations: 11.94 kB / 470.1 MB, free: 2.379 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/0.6996, allocations: 15.98 kB / 470.1 MB, free: 2.363 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.6996, allocations: 4 kB / 470.1 MB, free: 2.359 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003461/0.7, allocations: 218.2 kB / 470.3 MB, free: 2.148 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.7, allocations: 4 kB / 470.3 MB, free: 2.145 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006854/0.7007, allocations: 100 kB / 470.4 MB, free: 2.047 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 (23): * Single equations (assignments): 22 * Array equations: 0 * 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.001498/0.7022, allocations: 1.24 MB / 471.6 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.7032, allocations: 369.5 kB / 472 MB, free: 400 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.7032, allocations: 0 / 472 MB, free: 400 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002504/0.7035, allocations: 94.66 kB / 472.1 MB, free: 308 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005833/0.7041, allocations: 61.92 kB / 472.2 MB, free: 248 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.7065, allocations: 0.82 MB / 473 MB, free: 15.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006383/0.7071, allocations: 0.8541 MB / 473.8 MB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003965/0.7075, allocations: 74.91 kB / 473.9 MB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/0.7078, allocations: 135.4 kB / 474 MB, free: 14.28 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.7079, allocations: 0 / 474 MB, free: 14.28 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03973/0.7476, allocations: 7.057 MB / 481.1 MB, free: 7.309 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003361/0.748, allocations: 184.5 kB / 481.3 MB, free: 7.082 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.458/3.206, allocations: 0 / 481.3 MB, free: 7.082 MB / 410.7 MB