Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Drives_DCcharSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.55/2.55, allocations: 233 MB / 246.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.037e-05/4.043e-05, allocations: 4 kB / 302.3 MB, free: 7.594 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1243, allocations: 53.23 MB / 355.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4836/0.6079, allocations: 94.26 MB / 449.8 MB, free: 7.453 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003611/0.6083, allocations: 90.92 kB / 449.9 MB, free: 7.367 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0497/0.6581, allocations: 11.36 MB / 461.2 MB, free: 11.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6581, allocations: 0 / 461.2 MB, free: 11.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.395e-05/0.6582, allocations: 15.94 kB / 461.3 MB, free: 11.88 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001598/0.6598, allocations: 0.6254 MB / 461.9 MB, free: 11.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.6599, allocations: 8.031 kB / 461.9 MB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001445/0.66, allocations: 70.53 kB / 462 MB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.6602, allocations: 47.44 kB / 462 MB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001833/0.662, allocations: 0.5493 MB / 462.6 MB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/0.6622, allocations: 62.48 kB / 462.6 MB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.6623, allocations: 36.52 kB / 462.6 MB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009951/0.6633, allocations: 425.4 kB / 463.1 MB, free: 9.922 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.6634, allocations: 0 / 463.1 MB, free: 9.922 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.696e-05/0.6634, allocations: 16 kB / 463.1 MB, free: 9.906 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.6635, allocations: 8 kB / 463.1 MB, free: 9.898 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007137/0.6642, allocations: 241.7 kB / 463.3 MB, free: 9.664 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003528/0.6677, allocations: 1.874 MB / 465.2 MB, free: 7.672 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004123/0.6682, allocations: 171.7 kB / 465.4 MB, free: 7.477 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.6684, allocations: 63.14 kB / 465.4 MB, free: 7.406 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.6684, allocations: 4 kB / 465.4 MB, free: 7.402 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.6685, allocations: 46.48 kB / 465.5 MB, free: 7.348 MB / 394.7 MB Notification: Performance of pre-optimization done (n=18): time 3.196e-06/0.6685, allocations: 6.531 kB / 465.5 MB, free: 7.344 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.002103/0.6706, allocations: 0.8332 MB / 466.3 MB, free: 6.426 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.386e-05/0.6707, allocations: 106.8 kB / 466.4 MB, free: 6.297 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000503/0.6712, allocations: 278.6 kB / 466.7 MB, free: 6.016 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.6713, allocations: 37.7 kB / 466.7 MB, free: 5.973 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.6715, allocations: 243.5 kB / 467 MB, free: 5.727 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.6717, allocations: 74.98 kB / 467 MB, free: 5.652 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.163e-05/0.6717, allocations: 4 kB / 467 MB, free: 5.648 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.6719, allocations: 338.8 kB / 467.4 MB, free: 5.309 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.6721, allocations: 67.98 kB / 467.4 MB, free: 5.242 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003429/0.6725, allocations: 204.2 kB / 467.6 MB, free: 4.98 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/0.6728, allocations: 100.9 kB / 467.7 MB, free: 4.883 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.6728, allocations: 0 / 467.7 MB, free: 4.883 MB / 394.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007901/0.6736, allocations: 317.2 kB / 468 MB, free: 4.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.6736, allocations: 11.94 kB / 468.1 MB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.6737, allocations: 4 kB / 468.1 MB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/0.6737, allocations: 4 kB / 468.1 MB, free: 4.551 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000601/0.6743, allocations: 75.91 kB / 468.1 MB, free: 4.477 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.258e-05/0.6743, allocations: 7.984 kB / 468.1 MB, free: 4.469 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/0.6747, allocations: 24.25 kB / 468.2 MB, free: 4.445 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.6748, allocations: 16 kB / 468.2 MB, free: 4.43 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (41): * Single equations (assignments): 41 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001472/0.6749, allocations: 128.8 kB / 468.3 MB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.675, allocations: 31.62 kB / 468.3 MB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000542/0.6756, allocations: 195.2 kB / 468.5 MB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-06/0.6756, allocations: 0 / 468.5 MB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.6756, allocations: 7.938 kB / 468.5 MB, free: 4.062 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.6756, allocations: 0 / 468.5 MB, free: 4.062 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.677, allocations: 0.6304 MB / 469.2 MB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.768e-06/0.6771, allocations: 0 / 469.2 MB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004926/0.6776, allocations: 43.97 kB / 469.2 MB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/0.6776, allocations: 4 kB / 469.2 MB, free: 3.328 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.6776, allocations: 4 kB / 469.2 MB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.6776, allocations: 4 kB / 469.2 MB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.6777, allocations: 1.031 kB / 469.2 MB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008039/0.6785, allocations: 484.5 kB / 469.7 MB, free: 2.809 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.6786, allocations: 112.8 kB / 469.8 MB, free: 2.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.652e-05/0.6787, allocations: 7.953 kB / 469.8 MB, free: 2.672 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003138/0.679, allocations: 8 kB / 469.8 MB, free: 2.664 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.995e-05/0.6791, allocations: 15.88 kB / 469.8 MB, free: 2.648 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.6791, allocations: 16 kB / 469.9 MB, free: 2.633 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003415/0.6795, allocations: 210.2 kB / 470.1 MB, free: 2.426 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6795, allocations: 0 / 470.1 MB, free: 2.426 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006783/0.6802, allocations: 76 kB / 470.1 MB, free: 2.352 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (efficiency.pav,efficiency.qav,machine.motor.phi_el,machine.motor.w_el) * 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.00133/0.6815, allocations: 1.248 MB / 471.4 MB, free: 1.059 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005397/0.6821, allocations: 180.9 kB / 471.6 MB, free: 0.8828 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.6821, allocations: 4.062 kB / 471.6 MB, free: 0.8789 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.6823, allocations: 79.91 kB / 471.6 MB, free: 0.8008 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008314/0.6832, allocations: 87.98 kB / 471.7 MB, free: 0.7148 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/0.6857, allocations: 0.7824 MB / 472.5 MB, free: 15.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005569/0.6862, allocations: 0.8304 MB / 473.3 MB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004296/0.6867, allocations: 51.25 kB / 473.4 MB, free: 14.97 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/0.687, allocations: 115.4 kB / 473.5 MB, free: 14.86 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.687, allocations: 0 / 473.5 MB, free: 14.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03287/0.7199, allocations: 6.868 MB / 480.4 MB, free: 8.074 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003266/0.7202, allocations: 164.2 kB / 480.5 MB, free: 7.844 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.558/3.278, allocations: 3.938 kB / 480.5 MB, free: 7.84 MB / 410.7 MB