Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") Notification: Performance of loadModel(Modelica): time 1.741/1.741, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.503e-05/2.516e-05, allocations: 4 kB / 255.4 MB, free: 2.691 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07543/0.07547, allocations: 44.48 MB / 299.9 MB, free: 6.141 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3676/0.4431, allocations: 100.9 MB / 400.7 MB, free: 17.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003987/0.4436, allocations: 86.36 kB / 400.8 MB, free: 17.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.196/0.6396, allocations: 45.9 MB / 446.7 MB, free: 7.422 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.982e-06/0.6396, allocations: 0 / 446.7 MB, free: 7.422 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001915/0.6398, allocations: 63.88 kB / 446.8 MB, free: 7.359 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 550 * Number of variables: 550 Notification: Performance of Generate backend data structure: time 0.00584/0.6457, allocations: 2.231 MB / 449 MB, free: 5.219 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.6457, allocations: 8.031 kB / 449 MB, free: 5.211 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/0.6469, allocations: 292.8 kB / 449.3 MB, free: 4.922 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004021/0.6509, allocations: 1.572 MB / 450.9 MB, free: 3.676 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/0.6511, allocations: 159.4 kB / 451 MB, free: 3.582 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004541/0.6516, allocations: 210.2 kB / 451.3 MB, free: 3.441 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005811/0.6574, allocations: 2.669 MB / 453.9 MB, free: 1.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.738e-05/0.6575, allocations: 11.16 kB / 453.9 MB, free: 1.562 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002937/0.6578, allocations: 90.36 kB / 454 MB, free: 1.539 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001428/0.658, allocations: 99.83 kB / 454.1 MB, free: 1.441 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005038/0.663, allocations: 2.086 MB / 456.2 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01814/0.6812, allocations: 8.577 MB / 464.8 MB, free: 6.938 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003099/0.6843, allocations: 1.667 MB / 466.4 MB, free: 5.148 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/0.686, allocations: 0.7812 MB / 467.2 MB, free: 4.363 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004254/0.6865, allocations: 215.2 kB / 467.4 MB, free: 4.113 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.814e-05/0.6865, allocations: 51.5 kB / 467.5 MB, free: 4.055 MB / 346.7 MB Notification: Performance of pre-optimization done (n=103): time 4.565e-06/0.6866, allocations: 4 kB / 467.5 MB, free: 4.051 MB / 346.7 MB Notification: Performance of matching and sorting (n=124): time 0.01753/0.7041, allocations: 5.928 MB / 473.4 MB, free: 14.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/0.7042, allocations: 64.41 kB / 473.5 MB, free: 14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002537/0.7067, allocations: 1.229 MB / 474.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000149/0.7069, allocations: 45.7 kB / 474.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001017/0.7079, allocations: 1.018 MB / 475.8 MB, free: 11.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004993/0.7084, allocations: 433.7 kB / 476.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.7086, allocations: 28 kB / 476.2 MB, free: 11.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002311/0.7088, allocations: 369.8 kB / 476.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001524/0.7104, allocations: 0.6951 MB / 477.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001878/0.7123, allocations: 1.065 MB / 478.3 MB, free: 8.938 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001835/0.7141, allocations: 0.8676 MB / 479.2 MB, free: 8.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.7141, allocations: 4 kB / 479.2 MB, free: 8.066 MB / 362.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.005964/0.7201, allocations: 2.462 MB / 481.7 MB, free: 5.586 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.207e-05/0.7202, allocations: 10.03 kB / 481.7 MB, free: 5.578 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.349e-05/0.7202, allocations: 12 kB / 481.7 MB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00199/0.7222, allocations: 0.5726 MB / 482.3 MB, free: 4.984 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/0.724, allocations: 339.5 kB / 482.6 MB, free: 4.652 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01076/0.7347, allocations: 6.319 MB / 488.9 MB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/0.7365, allocations: 108 kB / 489 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001935/0.7367, allocations: 59.98 kB / 489.1 MB, free: 13.9 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 153 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,72.2%) 22,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004048/0.7371, allocations: 192.6 kB / 489.3 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004245/0.7375, allocations: 166 kB / 489.4 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005473/0.743, allocations: 2.26 MB / 491.7 MB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/0.7431, allocations: 12 kB / 491.7 MB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.7431, allocations: 4 kB / 491.7 MB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.788e-05/0.7431, allocations: 3.984 kB / 491.7 MB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/0.7542, allocations: 4.68 MB / 496.4 MB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.43e-05/0.7542, allocations: 7.953 kB / 496.4 MB, free: 6.445 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/0.7555, allocations: 207.7 kB / 496.6 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002352/0.7578, allocations: 0.6356 MB / 497.2 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/0.758, allocations: 35.98 kB / 497.3 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01294/0.7709, allocations: 8.042 MB / 0.4935 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.093e-06/0.771, allocations: 4 kB / 0.4935 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007257/0.7783, allocations: 3.381 MB / 0.4968 GB, free: 9.621 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/0.7794, allocations: 394.9 kB / 0.4972 GB, free: 9.215 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003002/0.7797, allocations: 35.98 kB / 0.4972 GB, free: 9.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.7808, allocations: 87.91 kB / 0.4973 GB, free: 9.094 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000316/0.7812, allocations: 104.8 kB / 0.4974 GB, free: 8.988 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001347/0.7813, allocations: 32 kB / 0.4974 GB, free: 8.957 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001986/0.7833, allocations: 0.9399 MB / 0.4983 GB, free: 8.016 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.17e-07/0.7833, allocations: 0 / 0.4983 GB, free: 8.016 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002122/0.7855, allocations: 0.5117 MB / 0.4988 GB, free: 7.504 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 94 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,72.2%) 22,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006437/0.7861, allocations: 314.5 kB / 0.4991 GB, free: 7.184 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004812/0.791, allocations: 2.21 MB / 0.5013 GB, free: 4.934 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.382e-06/0.791, allocations: 4.188 kB / 0.5013 GB, free: 4.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003228/0.7942, allocations: 1.422 MB / 0.5027 GB, free: 3.473 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/0.7964, allocations: 376.9 kB / 0.503 GB, free: 3.105 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2233/1.02, allocations: 3.656 MB / 0.5066 GB, free: 97.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001948/1.022, allocations: 1.854 MB / 0.5084 GB, free: 97 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001662/1.023, allocations: 355.8 kB / 0.5088 GB, free: 96.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005484/1.024, allocations: 111.4 kB / 0.5089 GB, free: 96.98 MB / 394.7 MB Notification: Performance of SimCode: time 1.87e-06/1.024, allocations: 1.031 kB / 0.5089 GB, free: 96.98 MB / 394.7 MB Notification: Performance of Templates: time 0.06293/1.087, allocations: 26.87 MB / 0.5351 GB, free: 95.81 MB / 394.7 MB