Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.424/2.424, allocations: 233 MB / 246.1 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.773e-05/4.796e-05, allocations: 11.94 kB / 302.3 MB, free: 7.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1215, allocations: 53.24 MB / 355.5 MB, free: 2.012 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4766/0.5982, allocations: 99.48 MB / 455 MB, free: 2.082 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003497/0.5986, allocations: 86.05 kB / 455.1 MB, free: 2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08409/0.6827, allocations: 17.4 MB / 472.5 MB, free: 452 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.6828, allocations: 0 / 472.5 MB, free: 452 kB / 394.7 MB Notification: Performance of Transformations before backend: time 5.173e-05/0.6829, allocations: 12 kB / 472.5 MB, free: 440 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.002566/0.6855, allocations: 0.7733 MB / 473.3 MB, free: 15.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.6855, allocations: 12.03 kB / 473.3 MB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003138/0.6859, allocations: 98.5 kB / 473.4 MB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00215/0.688, allocations: 151 kB / 473.5 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005579/0.6937, allocations: 1.206 MB / 474.7 MB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.173e-05/0.6938, allocations: 37.5 kB / 474.8 MB, free: 14.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002608/0.694, allocations: 51.91 kB / 474.8 MB, free: 14.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00208/0.6961, allocations: 0.8408 MB / 475.7 MB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.392e-05/0.6962, allocations: 0 / 475.7 MB, free: 13.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.6963, allocations: 20 kB / 475.7 MB, free: 13.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000333/0.6967, allocations: 28.78 kB / 475.7 MB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.6984, allocations: 0.5794 MB / 476.3 MB, free: 12.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02214/0.7206, allocations: 5.774 MB / 482.1 MB, free: 6.543 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002012/0.7227, allocations: 0.7483 MB / 482.8 MB, free: 5.777 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00175/0.7245, allocations: 0.6435 MB / 483.5 MB, free: 5.129 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001326/0.7247, allocations: 12.97 kB / 483.5 MB, free: 5.117 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.392e-05/0.7247, allocations: 43 kB / 483.5 MB, free: 5.066 MB / 410.7 MB Notification: Performance of pre-optimization done (n=52): time 4.047e-06/0.7247, allocations: 0 / 483.5 MB, free: 5.066 MB / 410.7 MB Notification: Performance of matching and sorting (n=53): time 0.03044/0.7552, allocations: 5.31 MB / 488.8 MB, free: 15.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.553e-05/0.7553, allocations: 81.55 kB / 488.9 MB, free: 15.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007267/0.7561, allocations: 359 kB / 489.3 MB, free: 15.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002714/0.7564, allocations: 35.67 kB / 489.3 MB, free: 15.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003123/0.7567, allocations: 319.8 kB / 489.6 MB, free: 14.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004896/0.7572, allocations: 265 kB / 489.9 MB, free: 14.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.7574, allocations: 16.03 kB / 489.9 MB, free: 14.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002112/0.7576, allocations: 366.8 kB / 490.2 MB, free: 14.24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002121/0.7597, allocations: 0.7905 MB / 491 MB, free: 13.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002306/0.7621, allocations: 0.9889 MB / 492 MB, free: 12.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002424/0.7645, allocations: 0.8997 MB / 492.9 MB, free: 11.47 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.7646, allocations: 0 / 492.9 MB, free: 11.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.0317/0.7963, allocations: 5.357 MB / 498.3 MB, free: 6.094 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/0.7964, allocations: 12.03 kB / 498.3 MB, free: 6.082 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02392/0.8203, allocations: 4.25 MB / 0.4908 GB, free: 1.824 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03643/0.8568, allocations: 5.835 MB / 0.4965 GB, free: 11.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009424/0.8578, allocations: 115.8 kB / 0.4966 GB, free: 11.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03561/0.8935, allocations: 10.95 MB / 0.5073 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.8947, allocations: 63.92 kB / 0.5073 GB, free: 0.7188 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004821/0.8953, allocations: 171.9 kB / 0.5075 GB, free: 0.5508 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (65): * Single equations (assignments): 62 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(7,32.7%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {14 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004396/0.8957, allocations: 147.5 kB / 0.5076 GB, free: 412 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002749/0.896, allocations: 47.44 kB / 0.5077 GB, free: 364 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02615/0.9222, allocations: 4.072 MB / 0.5116 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-05/0.9223, allocations: 8 kB / 0.5117 GB, free: 12.26 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.9223, allocations: 0 / 0.5117 GB, free: 12.26 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.488e-05/0.9223, allocations: 5.391 kB / 0.5117 GB, free: 12.26 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03119/0.9535, allocations: 5.461 MB / 0.517 GB, free: 6.715 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.411e-05/0.9536, allocations: 12.08 kB / 0.517 GB, free: 6.703 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005816/0.9542, allocations: 59.91 kB / 0.5171 GB, free: 6.645 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3713/1.326, allocations: 7.949 MB / 0.5248 GB, free: 135.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000683/1.326, allocations: 236.7 kB / 0.5251 GB, free: 135.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0345/1.361, allocations: 13.63 MB / 0.5384 GB, free: 133.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.361, allocations: 2.719 kB / 0.5384 GB, free: 133.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0271/1.388, allocations: 4.518 MB / 0.5428 GB, free: 132.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002516/1.388, allocations: 127.7 kB / 0.5429 GB, free: 132.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008799/1.389, allocations: 196.5 kB / 0.5431 GB, free: 132.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/1.391, allocations: 47.12 kB / 0.5431 GB, free: 132.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000908/1.391, allocations: 153.3 kB / 0.5433 GB, free: 132.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004593/1.392, allocations: 163.2 kB / 0.5434 GB, free: 132.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004963/1.392, allocations: 269.8 kB / 0.5437 GB, free: 132.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.392, allocations: 0 / 0.5437 GB, free: 132.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00256/1.395, allocations: 385.9 kB / 0.5441 GB, free: 132.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 30 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {12,9} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02874/1.424, allocations: 5.417 MB / 0.5493 GB, free: 130.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01024/1.434, allocations: 2.359 MB / 0.5517 GB, free: 129.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/1.434, allocations: 0 / 0.5517 GB, free: 129.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008834/1.443, allocations: 1.541 MB / 0.5532 GB, free: 128.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/1.445, allocations: 105.8 kB / 0.5533 GB, free: 128.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/1.458, allocations: 3.546 MB / 0.5567 GB, free: 127.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008455/1.458, allocations: 0.9952 MB / 0.5577 GB, free: 126.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009826/1.459, allocations: 142.4 kB / 0.5578 GB, free: 126.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005737/1.46, allocations: 205.1 kB / 0.558 GB, free: 126.4 MB / 458.7 MB Notification: Performance of SimCode: time 1.442e-06/1.46, allocations: 0 / 0.558 GB, free: 126.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09671/1.557, allocations: 39.22 MB / 0.5963 GB, free: 97.91 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002429/1.557, allocations: 183.7 kB / 0.5965 GB, free: 97.69 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.589/5.146, allocations: 0 / 0.5965 GB, free: 97.69 MB / 458.7 MB