Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_par",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.462/2.462, allocations: 233 MB / 246.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.637e-05/3.649e-05, allocations: 4 kB / 302.3 MB, free: 7.602 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.119, allocations: 53.24 MB / 355.5 MB, free: 2.25 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.475/0.5941, allocations: 96.89 MB / 452.4 MB, free: 4.832 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002448/0.5966, allocations: 0.6869 MB / 453.1 MB, free: 4.145 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07042/0.667, allocations: 16.11 MB / 469.2 MB, free: 3.867 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.6671, allocations: 0 / 469.2 MB, free: 3.867 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.529e-05/0.6671, allocations: 16 kB / 469.2 MB, free: 3.852 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.002025/0.6692, allocations: 0.7879 MB / 470 MB, free: 3.008 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.6693, allocations: 12.03 kB / 470 MB, free: 2.996 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001485/0.6694, allocations: 82.52 kB / 470.1 MB, free: 2.906 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.6696, allocations: 59.25 kB / 470.2 MB, free: 2.848 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002684/0.6723, allocations: 0.7535 MB / 470.9 MB, free: 2.051 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.697e-05/0.6724, allocations: 29.52 kB / 471 MB, free: 2.023 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.6725, allocations: 48 kB / 471 MB, free: 1.977 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.6738, allocations: 0.505 MB / 471.5 MB, free: 1.426 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/0.6739, allocations: 11.88 kB / 471.5 MB, free: 1.414 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7e-05/0.674, allocations: 23.98 kB / 471.5 MB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.276e-05/0.674, allocations: 12 kB / 471.6 MB, free: 1.379 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000873/0.6749, allocations: 309.4 kB / 471.9 MB, free: 1.078 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004185/0.6791, allocations: 2.082 MB / 473.9 MB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006431/0.6798, allocations: 223.8 kB / 474.2 MB, free: 14.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/0.68, allocations: 82.97 kB / 474.2 MB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.266e-05/0.6801, allocations: 7.953 kB / 474.2 MB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003839/0.6805, allocations: 158.4 kB / 474.4 MB, free: 14.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=23): time 3.106e-06/0.6805, allocations: 7.938 kB / 474.4 MB, free: 14.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.002907/0.6834, allocations: 1.076 MB / 475.5 MB, free: 13.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.806e-05/0.6836, allocations: 136.4 kB / 475.6 MB, free: 13.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006817/0.6842, allocations: 367.1 kB / 476 MB, free: 12.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.355e-05/0.6843, allocations: 33.69 kB / 476 MB, free: 12.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002859/0.6846, allocations: 299.8 kB / 476.3 MB, free: 12.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.6847, allocations: 86.75 kB / 476.4 MB, free: 12.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.6848, allocations: 8 kB / 476.4 MB, free: 12.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.685, allocations: 358.7 kB / 476.7 MB, free: 11.87 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/0.6853, allocations: 84.86 kB / 476.8 MB, free: 11.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003696/0.6856, allocations: 216.7 kB / 477 MB, free: 11.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/0.686, allocations: 149.6 kB / 477.2 MB, free: 11.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.686, allocations: 4 kB / 477.2 MB, free: 11.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001464/0.6875, allocations: 464.7 kB / 477.6 MB, free: 10.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.105e-05/0.6876, allocations: 33.7 kB / 477.7 MB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.6876, allocations: 4 kB / 477.7 MB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006617/0.6883, allocations: 97.25 kB / 477.8 MB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005114/0.6888, allocations: 75.84 kB / 477.8 MB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00294/0.6918, allocations: 1.683 MB / 479.5 MB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005687/0.6924, allocations: 28.05 kB / 479.6 MB, free: 8.836 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.351e-05/0.6924, allocations: 12 kB / 479.6 MB, free: 8.824 MB / 410.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: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001731/0.6926, allocations: 136.8 kB / 479.7 MB, free: 8.684 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.56e-05/0.6927, allocations: 43.44 kB / 479.7 MB, free: 8.641 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000966/0.6937, allocations: 278.1 kB / 480 MB, free: 8.355 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.6937, allocations: 0 / 480 MB, free: 8.355 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-06/0.6938, allocations: 11.94 kB / 480 MB, free: 8.344 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.6938, allocations: 7.984 kB / 480 MB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/0.6956, allocations: 0.7799 MB / 480.8 MB, free: 7.496 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.6957, allocations: 0 / 480.8 MB, free: 7.496 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005481/0.6962, allocations: 55.91 kB / 480.9 MB, free: 7.441 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003466/0.6966, allocations: 48.81 kB / 480.9 MB, free: 7.391 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.942e-05/0.6966, allocations: 8 kB / 480.9 MB, free: 7.383 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/0.6985, allocations: 1.433 MB / 482.4 MB, free: 5.812 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6985, allocations: 3.938 kB / 482.4 MB, free: 5.809 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.6998, allocations: 496.9 kB / 482.8 MB, free: 5.285 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002416/0.7, allocations: 136.7 kB / 483 MB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.875e-05/0.7001, allocations: 15.89 kB / 483 MB, free: 5.117 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003804/0.7005, allocations: 12 kB / 483 MB, free: 5.105 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.435e-05/0.7006, allocations: 23.95 kB / 483 MB, free: 5.082 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.7007, allocations: 8 kB / 483 MB, free: 5.074 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005455/0.7012, allocations: 281.2 kB / 483.3 MB, free: 4.805 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7012, allocations: 0 / 483.3 MB, free: 4.805 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000828/0.7021, allocations: 128 kB / 483.4 MB, free: 4.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (dcm_par.motor.phi_el,dcm_par.motor.w_el,dcm_par.motor.i,dcm_par.motor.i_f,tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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: 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 Backend phase and start with SimCode phase: time 0.002474/0.7046, allocations: 1.416 MB / 484.9 MB, free: 3.285 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.7059, allocations: 433.6 kB / 485.3 MB, free: 2.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.7059, allocations: 320 / 485.3 MB, free: 2.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005764/0.7065, allocations: 233.6 kB / 485.5 MB, free: 2.602 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.7075, allocations: 110.5 kB / 485.6 MB, free: 2.492 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/0.7105, allocations: 1.031 MB / 486.6 MB, free: 1.418 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006242/0.7111, allocations: 0.8896 MB / 487.5 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004437/0.7116, allocations: 64.23 kB / 487.6 MB, free: 448 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003316/0.712, allocations: 167.4 kB / 487.8 MB, free: 280 kB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.712, allocations: 0 / 487.8 MB, free: 280 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04973/0.7617, allocations: 10.66 MB / 498.4 MB, free: 5.637 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002921/0.7621, allocations: 219.7 kB / 498.6 MB, free: 5.414 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.009/3.771, allocations: 8 kB / 498.6 MB, free: 5.406 MB / 426.7 MB