Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.397/2.397, allocations: 233 MB / 246.1 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.195e-05/4.204e-05, allocations: 5.719 kB / 302.3 MB, free: 7.375 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1196, allocations: 53.23 MB / 355.5 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4642/0.5838, allocations: 94.88 MB / 450.4 MB, free: 6.695 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003404/0.5842, allocations: 88.48 kB / 450.5 MB, free: 6.609 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0538/0.6381, allocations: 11.5 MB / 462 MB, free: 10.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6381, allocations: 0 / 462 MB, free: 10.99 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.995e-05/0.6382, allocations: 15.94 kB / 462 MB, free: 10.97 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001789/0.64, allocations: 0.7623 MB / 462.8 MB, free: 10.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.64, allocations: 8.031 kB / 462.8 MB, free: 10.15 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001478/0.6402, allocations: 86.5 kB / 462.9 MB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.6404, allocations: 61.31 kB / 462.9 MB, free: 10 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004965/0.6454, allocations: 1.202 MB / 464.1 MB, free: 8.754 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.7e-05/0.6455, allocations: 33.67 kB / 464.2 MB, free: 8.723 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.6456, allocations: 40 kB / 464.2 MB, free: 8.684 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.6469, allocations: 0.5288 MB / 464.7 MB, free: 8.121 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.6469, allocations: 0 / 464.7 MB, free: 8.121 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.21e-05/0.647, allocations: 16 kB / 464.7 MB, free: 8.105 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-05/0.647, allocations: 20.78 kB / 464.8 MB, free: 8.086 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.6481, allocations: 373.3 kB / 465.1 MB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003726/0.6518, allocations: 1.932 MB / 467.1 MB, free: 5.672 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009038/0.6528, allocations: 317.4 kB / 467.4 MB, free: 5.344 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004873/0.6533, allocations: 173.7 kB / 467.5 MB, free: 5.168 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.661e-05/0.6533, allocations: 4 kB / 467.5 MB, free: 5.164 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005585/0.6539, allocations: 276.7 kB / 467.8 MB, free: 4.863 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 3.015e-06/0.6539, allocations: 0 / 467.8 MB, free: 4.863 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.00251/0.6564, allocations: 1.074 MB / 468.9 MB, free: 3.719 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.943e-05/0.6566, allocations: 158.2 kB / 469 MB, free: 3.527 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005961/0.6572, allocations: 347.1 kB / 469.4 MB, free: 3.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.528e-05/0.6572, allocations: 34.83 kB / 469.4 MB, free: 3.141 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/0.6575, allocations: 283.6 kB / 469.7 MB, free: 2.855 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.6577, allocations: 126.3 kB / 469.8 MB, free: 2.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/0.6578, allocations: 12 kB / 469.8 MB, free: 2.719 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002066/0.658, allocations: 358.7 kB / 470.2 MB, free: 2.359 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/0.6583, allocations: 113.1 kB / 470.3 MB, free: 2.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000497/0.6588, allocations: 277 kB / 470.6 MB, free: 1.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004476/0.6593, allocations: 194.4 kB / 470.7 MB, free: 1.715 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.6593, allocations: 0 / 470.7 MB, free: 1.715 MB / 394.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001213/0.6605, allocations: 494.8 kB / 471.2 MB, free: 1.219 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.072e-05/0.6606, allocations: 33.7 kB / 471.3 MB, free: 1.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.6606, allocations: 11.94 kB / 471.3 MB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.911e-05/0.6607, allocations: 13.2 kB / 471.3 MB, free: 1.156 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007925/0.6615, allocations: 103.8 kB / 471.4 MB, free: 1.055 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-05/0.6615, allocations: 15.92 kB / 471.4 MB, free: 1.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004867/0.662, allocations: 24 kB / 471.4 MB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.47e-05/0.6621, allocations: 36.06 kB / 471.5 MB, free: 0.9805 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002067/0.6623, allocations: 182.4 kB / 471.6 MB, free: 0.7891 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.861e-05/0.6624, allocations: 43.44 kB / 471.7 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.6636, allocations: 443.3 kB / 472.1 MB, free: 308 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.6636, allocations: 4 kB / 472.1 MB, free: 304 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.6636, allocations: 4 kB / 472.1 MB, free: 300 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.6637, allocations: 0 / 472.1 MB, free: 300 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00188/0.6655, allocations: 0.9421 MB / 473.1 MB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.6656, allocations: 0 / 473.1 MB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006001/0.6662, allocations: 61.31 kB / 473.1 MB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.156e-05/0.6662, allocations: 4 kB / 473.1 MB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.787e-05/0.6663, allocations: 15.98 kB / 473.1 MB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.391e-06/0.6663, allocations: 0 / 473.1 MB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.6663, allocations: 4 kB / 473.2 MB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.6678, allocations: 0.7245 MB / 473.9 MB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000254/0.6681, allocations: 140.5 kB / 474 MB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.668e-05/0.6682, allocations: 8 kB / 474 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003832/0.6686, allocations: 15.98 kB / 474 MB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.375e-05/0.6687, allocations: 31.98 kB / 474.1 MB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.056e-05/0.6688, allocations: 31.97 kB / 474.1 MB, free: 14.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004501/0.6692, allocations: 265.2 kB / 474.4 MB, free: 13.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6692, allocations: 0 / 474.4 MB, free: 13.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007537/0.67, allocations: 112 kB / 474.5 MB, free: 13.83 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * 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.002067/0.6721, allocations: 1.46 MB / 475.9 MB, free: 12.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.6731, allocations: 394.7 kB / 476.3 MB, free: 11.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6732, allocations: 0 / 476.3 MB, free: 11.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005317/0.6737, allocations: 255.2 kB / 476.6 MB, free: 11.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008603/0.6746, allocations: 83.56 kB / 476.6 MB, free: 11.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/0.6772, allocations: 0.8295 MB / 477.5 MB, free: 10.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007339/0.6779, allocations: 0.8976 MB / 478.4 MB, free: 9.789 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006831/0.6786, allocations: 88.44 kB / 478.5 MB, free: 9.699 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003558/0.679, allocations: 179.4 kB / 478.6 MB, free: 9.523 MB / 410.7 MB Notification: Performance of SimCode: time 1.693e-06/0.679, allocations: 0 / 478.6 MB, free: 9.523 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04207/0.7211, allocations: 8.662 MB / 487.3 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003504/0.7215, allocations: 172 kB / 487.5 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.78/3.502, allocations: 3.938 kB / 487.5 MB, free: 0.7109 MB / 410.7 MB