Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Drives_DCmotor_ser",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.46/2.46, allocations: 233 MB / 246.1 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.579e-05/4.593e-05, allocations: 7.938 kB / 302.3 MB, free: 7.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1277, allocations: 53.23 MB / 355.5 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4745/0.6023, allocations: 96.38 MB / 451.9 MB, free: 5.203 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002505/0.6049, allocations: 0.6796 MB / 452.6 MB, free: 4.523 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06423/0.6691, allocations: 14.54 MB / 467.1 MB, free: 5.852 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.6692, allocations: 0 / 467.1 MB, free: 5.852 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.346e-05/0.6693, allocations: 23.88 kB / 467.1 MB, free: 5.828 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001859/0.6711, allocations: 0.7477 MB / 467.9 MB, free: 5.027 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.6712, allocations: 8.031 kB / 467.9 MB, free: 5.02 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001303/0.6713, allocations: 78.52 kB / 468 MB, free: 4.934 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.6715, allocations: 55.34 kB / 468 MB, free: 4.879 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002397/0.6739, allocations: 0.6833 MB / 468.7 MB, free: 4.152 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.626e-05/0.674, allocations: 29.3 kB / 468.7 MB, free: 4.125 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.6741, allocations: 36 kB / 468.8 MB, free: 4.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.6752, allocations: 454.7 kB / 469.2 MB, free: 3.598 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.065e-05/0.6753, allocations: 7.906 kB / 469.2 MB, free: 3.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.447e-05/0.6753, allocations: 16 kB / 469.2 MB, free: 3.574 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.6754, allocations: 8 kB / 469.3 MB, free: 3.566 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007727/0.6761, allocations: 257.4 kB / 469.5 MB, free: 3.316 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003782/0.6799, allocations: 1.864 MB / 471.4 MB, free: 1.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007955/0.6808, allocations: 245.8 kB / 471.6 MB, free: 1.074 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.681, allocations: 83 kB / 471.7 MB, free: 0.9844 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.541e-05/0.6811, allocations: 8.125 kB / 471.7 MB, free: 0.9766 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003917/0.6815, allocations: 162.5 kB / 471.9 MB, free: 0.7969 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 2.915e-06/0.6815, allocations: 0 / 471.9 MB, free: 0.7969 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.002912/0.6845, allocations: 1.078 MB / 472.9 MB, free: 15.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.34e-05/0.6846, allocations: 136.5 kB / 473.1 MB, free: 15.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006258/0.6852, allocations: 338.8 kB / 473.4 MB, free: 15.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/0.6853, allocations: 33.7 kB / 473.4 MB, free: 15.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/0.6855, allocations: 267.8 kB / 473.7 MB, free: 14.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.6856, allocations: 94.64 kB / 473.8 MB, free: 14.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.6857, allocations: 8 kB / 473.8 MB, free: 14.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.6859, allocations: 346.8 kB / 474.1 MB, free: 14.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/0.6861, allocations: 88.77 kB / 474.2 MB, free: 14.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003665/0.6865, allocations: 209.6 kB / 474.4 MB, free: 14.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003429/0.6869, allocations: 143.5 kB / 474.6 MB, free: 13.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.6869, allocations: 0 / 474.6 MB, free: 13.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001368/0.6883, allocations: 453.3 kB / 475 MB, free: 13.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.672e-05/0.6883, allocations: 35.55 kB / 475 MB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.6884, allocations: 4 kB / 475 MB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006763/0.689, allocations: 96.77 kB / 475.1 MB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004525/0.6895, allocations: 63.91 kB / 475.2 MB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003199/0.6927, allocations: 1.817 MB / 477 MB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004978/0.6932, allocations: 23.98 kB / 477 MB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.475e-05/0.6933, allocations: 20 kB / 477.1 MB, free: 11.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (39): * Single equations (assignments): 37 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001541/0.6935, allocations: 124.9 kB / 477.2 MB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.369e-05/0.6936, allocations: 39.53 kB / 477.2 MB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009669/0.6946, allocations: 305.6 kB / 477.5 MB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.6946, allocations: 0 / 477.5 MB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.6946, allocations: 4 kB / 477.5 MB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.6946, allocations: 7.922 kB / 477.5 MB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.6963, allocations: 0.7726 MB / 478.3 MB, free: 9.906 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.6963, allocations: 0 / 478.3 MB, free: 9.906 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004955/0.6968, allocations: 51.91 kB / 478.4 MB, free: 9.855 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003404/0.6972, allocations: 48.81 kB / 478.4 MB, free: 9.805 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.043e-05/0.6972, allocations: 4 kB / 478.4 MB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001727/0.699, allocations: 1.437 MB / 479.8 MB, free: 8.234 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.699, allocations: 4.031 kB / 479.9 MB, free: 8.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.7002, allocations: 0.5165 MB / 480.4 MB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002188/0.7004, allocations: 132.7 kB / 480.5 MB, free: 7.527 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.069e-05/0.7005, allocations: 8 kB / 480.5 MB, free: 7.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003876/0.7009, allocations: 19.98 kB / 480.5 MB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.7011, allocations: 27.91 kB / 480.6 MB, free: 7.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.7011, allocations: 4 kB / 480.6 MB, free: 7.469 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004655/0.7016, allocations: 269.2 kB / 480.8 MB, free: 7.207 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7016, allocations: 0 / 480.8 MB, free: 7.207 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008052/0.7024, allocations: 127.9 kB / 480.9 MB, free: 7.082 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dcm_ser.motor.phi_el,dcm_ser.motor.w_el,dcm_ser.motor.i,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 (25): * Single equations (assignments): 23 * 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.002479/0.7049, allocations: 1.449 MB / 482.4 MB, free: 5.652 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00129/0.7062, allocations: 432.8 kB / 482.8 MB, free: 5.207 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.7062, allocations: 5.062 kB / 482.8 MB, free: 5.203 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005837/0.7068, allocations: 229.7 kB / 483 MB, free: 4.969 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009399/0.7078, allocations: 105.4 kB / 483.1 MB, free: 4.863 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002745/0.7105, allocations: 0.9218 MB / 484.1 MB, free: 3.898 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005673/0.7111, allocations: 0.8626 MB / 484.9 MB, free: 3.008 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004183/0.7116, allocations: 67.31 kB / 485 MB, free: 2.938 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/0.7119, allocations: 155.4 kB / 485.1 MB, free: 2.785 MB / 410.7 MB Notification: Performance of SimCode: time 1.363e-06/0.7119, allocations: 0 / 485.1 MB, free: 2.785 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04378/0.7557, allocations: 10.09 MB / 495.2 MB, free: 8.711 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003884/0.7562, allocations: 224.4 kB / 495.5 MB, free: 8.484 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.93/3.687, allocations: 0 / 495.5 MB, free: 8.484 MB / 426.7 MB