Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Elementary_Machines",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.507/2.507, allocations: 233 MB / 246.1 MB, free: 14.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.116e-05/4.143e-05, allocations: 7.938 kB / 302.3 MB, free: 7.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1349, allocations: 53.24 MB / 355.5 MB, free: 2.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4723/0.6073, allocations: 92.49 MB / 448 MB, free: 9.074 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003535/0.6077, allocations: 88.83 kB / 448.1 MB, free: 8.988 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04432/0.652, allocations: 9.929 MB / 458.1 MB, free: 14.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.6521, allocations: 0 / 458.1 MB, free: 14.99 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.409e-05/0.6521, allocations: 12 kB / 458.1 MB, free: 14.98 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001302/0.6535, allocations: 0.5785 MB / 458.6 MB, free: 14.35 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.6535, allocations: 12.03 kB / 458.7 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001095/0.6536, allocations: 58.55 kB / 458.7 MB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.6538, allocations: 39.53 kB / 458.7 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002241/0.656, allocations: 0.6115 MB / 459.4 MB, free: 13.58 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.714e-05/0.6561, allocations: 28.48 kB / 459.4 MB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.6562, allocations: 24.52 kB / 459.4 MB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000761/0.657, allocations: 330 kB / 459.7 MB, free: 13.17 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.657, allocations: 3.938 kB / 459.7 MB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.645e-05/0.6571, allocations: 12 kB / 459.7 MB, free: 13.15 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.6571, allocations: 8 kB / 459.8 MB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005367/0.6577, allocations: 193.2 kB / 459.9 MB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002565/0.6602, allocations: 1.479 MB / 461.4 MB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006047/0.6609, allocations: 202.9 kB / 461.6 MB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.6611, allocations: 67.48 kB / 461.7 MB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.6611, allocations: 9.969 kB / 461.7 MB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.6612, allocations: 42.56 kB / 461.7 MB, free: 11.01 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 3.938e-06/0.6612, allocations: 0 / 461.7 MB, free: 11.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.001952/0.6632, allocations: 0.8269 MB / 462.6 MB, free: 10.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.367e-05/0.6633, allocations: 136.5 kB / 462.7 MB, free: 9.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004561/0.6638, allocations: 267.6 kB / 463 MB, free: 9.664 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.6638, allocations: 29.8 kB / 463 MB, free: 9.629 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.664, allocations: 219.9 kB / 463.2 MB, free: 9.406 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.238e-05/0.6641, allocations: 74.94 kB / 463.3 MB, free: 9.332 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.728e-05/0.6641, allocations: 4 kB / 463.3 MB, free: 9.328 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.6643, allocations: 342.8 kB / 463.6 MB, free: 8.984 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.6645, allocations: 44 kB / 463.7 MB, free: 8.941 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.6647, allocations: 152.8 kB / 463.8 MB, free: 8.746 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.665, allocations: 74.25 kB / 463.9 MB, free: 8.676 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.665, allocations: 4 kB / 463.9 MB, free: 8.672 MB / 394.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006183/0.6656, allocations: 248.9 kB / 464.1 MB, free: 8.422 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.6657, allocations: 4 kB / 464.1 MB, free: 8.418 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.6657, allocations: 4 kB / 464.1 MB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/0.6657, allocations: 11.98 kB / 464.1 MB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006747/0.6664, allocations: 72.34 kB / 464.2 MB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.6676, allocations: 1.286 MB / 465.5 MB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003172/0.6679, allocations: 13.47 kB / 465.5 MB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.6679, allocations: 12 kB / 465.5 MB, free: 6.895 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001279/0.6681, allocations: 120.9 kB / 465.6 MB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.6682, allocations: 31.62 kB / 465.7 MB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005384/0.6688, allocations: 194.5 kB / 465.9 MB, free: 6.539 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.6688, allocations: 7.938 kB / 465.9 MB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.6688, allocations: 0 / 465.9 MB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.6688, allocations: 0 / 465.9 MB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.6701, allocations: 0.5529 MB / 466.4 MB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.6701, allocations: 0 / 466.4 MB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004718/0.6706, allocations: 39.98 kB / 466.5 MB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-05/0.6706, allocations: 4 kB / 466.5 MB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.83e-05/0.6706, allocations: 8 kB / 466.5 MB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.6706, allocations: 0 / 466.5 MB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.6707, allocations: 4.969 kB / 466.5 MB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007872/0.6715, allocations: 0.521 MB / 467 MB, free: 5.309 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.6716, allocations: 108.8 kB / 467.1 MB, free: 5.184 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.992e-05/0.6717, allocations: 11.95 kB / 467.1 MB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003154/0.672, allocations: 4 kB / 467.1 MB, free: 5.168 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.6721, allocations: 15.98 kB / 467.1 MB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.6721, allocations: 8 kB / 467.2 MB, free: 5.145 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003726/0.6725, allocations: 214.2 kB / 467.4 MB, free: 4.938 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6725, allocations: 3.938 kB / 467.4 MB, free: 4.934 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006778/0.6732, allocations: 68 kB / 467.4 MB, free: 4.867 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (motor.phi_el,motor.w_el,motor.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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.001329/0.6745, allocations: 1.31 MB / 468.7 MB, free: 3.523 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005691/0.6751, allocations: 151.8 kB / 468.9 MB, free: 3.375 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.309e-06/0.6751, allocations: 4 kB / 468.9 MB, free: 3.371 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001772/0.6753, allocations: 67.86 kB / 469 MB, free: 3.305 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009071/0.6762, allocations: 84.86 kB / 469 MB, free: 3.223 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002301/0.6786, allocations: 0.6945 MB / 469.7 MB, free: 2.484 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00052/0.6791, allocations: 0.8109 MB / 470.5 MB, free: 1.645 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003807/0.6795, allocations: 50.95 kB / 470.6 MB, free: 1.594 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/0.6798, allocations: 111.4 kB / 470.7 MB, free: 1.484 MB / 394.7 MB Notification: Performance of SimCode: time 1.853e-06/0.6798, allocations: 0 / 470.7 MB, free: 1.484 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03622/0.716, allocations: 6.846 MB / 477.6 MB, free: 10.71 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000385/0.7165, allocations: 153.3 kB / 477.7 MB, free: 10.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.597/3.313, allocations: 0 / 477.7 MB, free: 10.5 MB / 410.7 MB