Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|loadInertia.phi|loadInertia.w|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") Notification: Performance of loadModel(Modelica): time 1.62/1.62, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.676e-05/2.685e-05, allocations: 0 / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2127, allocations: 38.77 MB / 263.8 MB, free: 9.836 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1431/0.3559, allocations: 98.67 MB / 362.5 MB, free: 7.008 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/0.3562, allocations: 79.95 kB / 362.5 MB, free: 6.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3767/0.733, allocations: 49.3 MB / 411.8 MB, free: 62.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.416e-06/0.733, allocations: 0 / 411.8 MB, free: 62.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003381/0.7334, allocations: 63.94 kB / 411.9 MB, free: 62.86 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 580 * Number of variables: 580 Notification: Performance of Generate backend data structure: time 0.01053/0.744, allocations: 2.334 MB / 414.2 MB, free: 60.47 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.68e-05/0.7441, allocations: 8.031 kB / 414.2 MB, free: 60.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002349/0.7464, allocations: 313.3 kB / 414.6 MB, free: 60.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007409/0.7539, allocations: 1.593 MB / 416.1 MB, free: 58.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002898/0.7542, allocations: 168.4 kB / 416.3 MB, free: 58.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009588/0.7552, allocations: 223.9 kB / 416.5 MB, free: 58.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01155/0.7668, allocations: 2.785 MB / 419.3 MB, free: 55.19 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001191/0.767, allocations: 3.938 kB / 419.3 MB, free: 55.19 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004744/0.7674, allocations: 96 kB / 419.4 MB, free: 55.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001782/0.7676, allocations: 100.3 kB / 419.5 MB, free: 54.99 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008362/0.776, allocations: 2.18 MB / 421.7 MB, free: 52.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01702/0.7931, allocations: 9.058 MB / 430.7 MB, free: 43.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002399/0.7955, allocations: 1.672 MB / 432.4 MB, free: 41.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001413/0.797, allocations: 0.7997 MB / 433.2 MB, free: 40.88 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002901/0.7973, allocations: 146 kB / 433.4 MB, free: 40.72 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.7973, allocations: 43.56 kB / 433.4 MB, free: 40.67 MB / 314.7 MB Notification: Performance of pre-optimization done (n=106): time 4.06e-06/0.7974, allocations: 0 / 433.4 MB, free: 40.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=129): time 0.01708/0.8144, allocations: 6.328 MB / 439.7 MB, free: 34.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.8145, allocations: 64.72 kB / 439.8 MB, free: 34.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002249/0.8168, allocations: 1.27 MB / 441.1 MB, free: 32.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001875/0.817, allocations: 49.7 kB / 441.1 MB, free: 32.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006953/0.8177, allocations: 1.084 MB / 442.2 MB, free: 31.78 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003617/0.8181, allocations: 449.5 kB / 442.6 MB, free: 31.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.8182, allocations: 32 kB / 442.7 MB, free: 31.3 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.8183, allocations: 369.9 kB / 443 MB, free: 30.94 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00135/0.8197, allocations: 0.7146 MB / 443.7 MB, free: 30.22 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/0.8212, allocations: 1.118 MB / 444.9 MB, free: 28.92 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/0.8228, allocations: 0.9067 MB / 445.8 MB, free: 28.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.649e-06/0.8228, allocations: 0 / 445.8 MB, free: 28.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005114/0.828, allocations: 2.551 MB / 448.3 MB, free: 25.45 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.828, allocations: 15.95 kB / 448.3 MB, free: 25.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.8281, allocations: 12 kB / 448.3 MB, free: 25.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001796/0.8299, allocations: 0.5844 MB / 448.9 MB, free: 24.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/0.8315, allocations: 351.5 kB / 449.3 MB, free: 24.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009032/0.8406, allocations: 6.706 MB / 456 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.8423, allocations: 104 kB / 456.1 MB, free: 17.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001753/0.8425, allocations: 75.98 kB / 456.2 MB, free: 17.33 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 164 * 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%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003276/0.8429, allocations: 192.5 kB / 456.3 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003278/0.8432, allocations: 173.8 kB / 456.5 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004678/0.8479, allocations: 2.313 MB / 458.8 MB, free: 14.63 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.848, allocations: 12 kB / 458.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.211e-05/0.848, allocations: 11.95 kB / 458.9 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.67e-05/0.848, allocations: 7.969 kB / 458.9 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0095/0.8575, allocations: 4.833 MB / 463.7 MB, free: 9.652 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.8576, allocations: 8.328 kB / 463.7 MB, free: 9.645 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/0.8588, allocations: 215.7 kB / 463.9 MB, free: 9.434 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002099/0.8609, allocations: 0.6353 MB / 464.5 MB, free: 8.789 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/0.8611, allocations: 35.92 kB / 464.6 MB, free: 8.754 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01121/0.8723, allocations: 8.375 MB / 473 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.881e-06/0.8723, allocations: 4 kB / 473 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007489/0.8798, allocations: 3.519 MB / 476.5 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/0.8811, allocations: 410.8 kB / 476.9 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003313/0.8814, allocations: 35.98 kB / 476.9 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/0.8826, allocations: 91.91 kB / 477 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003262/0.883, allocations: 104.8 kB / 477.1 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/0.8831, allocations: 43.94 kB / 477.2 MB, free: 11.61 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002037/0.8852, allocations: 0.9672 MB / 478.1 MB, free: 10.65 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.88e-07/0.8852, allocations: 4 kB / 478.1 MB, free: 10.64 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002438/0.8876, allocations: 0.539 MB / 478.7 MB, free: 10.11 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 98 * 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%) 23,(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.0009428/0.8886, allocations: 370.6 kB / 479 MB, free: 9.754 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00835/0.897, allocations: 2.261 MB / 481.3 MB, free: 7.445 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.972e-06/0.897, allocations: 0 / 481.3 MB, free: 7.445 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005599/0.9027, allocations: 1.446 MB / 482.7 MB, free: 5.965 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004475/0.9072, allocations: 424.9 kB / 483.1 MB, free: 5.547 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01464/0.9218, allocations: 3.802 MB / 486.9 MB, free: 1.672 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002455/0.9243, allocations: 1.918 MB / 488.9 MB, free: 15.72 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001735/0.9261, allocations: 370.8 kB / 489.2 MB, free: 15.36 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004797/0.9266, allocations: 115.4 kB / 489.3 MB, free: 15.24 MB / 346.7 MB Notification: Performance of SimCode: time 1.817e-06/0.9266, allocations: 7.938 kB / 489.3 MB, free: 15.23 MB / 346.7 MB Notification: Performance of Templates: time 0.2644/1.191, allocations: 28.61 MB / 0.5058 GB, free: 84.99 MB / 346.7 MB