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_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") Notification: Performance of loadModel(Modelica): time 1.694/1.694, allocations: 171.2 MB / 183.8 MB, free: 11.94 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.302e-05/3.332e-05, allocations: 4 kB / 225 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2316, allocations: 38.77 MB / 263.8 MB, free: 9.871 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1652/0.3969, allocations: 98.68 MB / 362.4 MB, free: 7.035 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.3972, allocations: 83.95 kB / 362.5 MB, free: 6.953 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3597/0.7568, allocations: 49.3 MB / 411.8 MB, free: 62.94 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.195e-06/0.7569, allocations: 0 / 411.8 MB, free: 62.94 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000203/0.7571, allocations: 63.94 kB / 411.9 MB, free: 62.88 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.005991/0.7631, allocations: 2.334 MB / 414.2 MB, free: 60.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.7632, allocations: 8.031 kB / 414.2 MB, free: 60.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001556/0.7648, allocations: 321.3 kB / 414.5 MB, free: 60.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003969/0.7688, allocations: 1.589 MB / 416.1 MB, free: 58.51 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001756/0.769, allocations: 164.4 kB / 416.3 MB, free: 58.35 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006972/0.7697, allocations: 227.9 kB / 416.5 MB, free: 58.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006592/0.7763, allocations: 2.785 MB / 419.3 MB, free: 55.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.874e-05/0.7764, allocations: 4 kB / 419.3 MB, free: 55.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003227/0.7768, allocations: 96 kB / 419.4 MB, free: 55.1 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001186/0.7769, allocations: 104.3 kB / 419.5 MB, free: 55 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00554/0.7824, allocations: 2.172 MB / 421.7 MB, free: 52.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01838/0.8009, allocations: 9.066 MB / 430.7 MB, free: 43.47 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002637/0.8036, allocations: 1.656 MB / 432.4 MB, free: 41.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/0.8051, allocations: 0.8036 MB / 433.2 MB, free: 40.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002997/0.8054, allocations: 142 kB / 433.3 MB, free: 40.74 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.8055, allocations: 43.56 kB / 433.4 MB, free: 40.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=106): time 4.361e-06/0.8055, allocations: 0 / 433.4 MB, free: 40.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=129): time 0.01735/0.8228, allocations: 6.328 MB / 439.7 MB, free: 34.3 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.8229, allocations: 64.72 kB / 439.8 MB, free: 34.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002389/0.8253, allocations: 1.27 MB / 441 MB, free: 32.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002297/0.8256, allocations: 45.7 kB / 441.1 MB, free: 32.9 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006266/0.8262, allocations: 1.042 MB / 442.1 MB, free: 31.85 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003943/0.8266, allocations: 449.5 kB / 442.6 MB, free: 31.4 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.8268, allocations: 32 kB / 442.6 MB, free: 31.37 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.8269, allocations: 370.8 kB / 442.9 MB, free: 31 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/0.8282, allocations: 0.7146 MB / 443.7 MB, free: 30.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001544/0.8298, allocations: 1.126 MB / 444.8 MB, free: 28.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/0.8315, allocations: 0.9027 MB / 445.7 MB, free: 28.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/0.8315, allocations: 4 kB / 445.7 MB, free: 28.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005179/0.8367, allocations: 2.443 MB / 448.1 MB, free: 25.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.8368, allocations: 19.98 kB / 448.2 MB, free: 25.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-05/0.8368, allocations: 12 kB / 448.2 MB, free: 25.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001866/0.8387, allocations: 0.5841 MB / 448.8 MB, free: 24.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/0.8406, allocations: 355.4 kB / 449.1 MB, free: 24.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009369/0.85, allocations: 6.698 MB / 455.8 MB, free: 17.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/0.8518, allocations: 115.8 kB / 455.9 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002195/0.852, allocations: 67.94 kB / 456 MB, free: 17.49 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.0003655/0.8524, allocations: 198 kB / 456.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000408/0.8528, allocations: 173.8 kB / 456.3 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004785/0.8576, allocations: 2.317 MB / 458.7 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.972e-05/0.8577, allocations: 12 kB / 458.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/0.8577, allocations: 11.95 kB / 458.7 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-05/0.8578, allocations: 7.969 kB / 458.7 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/0.8684, allocations: 4.837 MB / 463.5 MB, free: 9.801 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.945e-05/0.8685, allocations: 4 kB / 463.5 MB, free: 9.797 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/0.8698, allocations: 207.7 kB / 463.7 MB, free: 9.594 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002209/0.872, allocations: 0.6471 MB / 464.4 MB, free: 8.938 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002249/0.8723, allocations: 35.92 kB / 464.4 MB, free: 8.902 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01076/0.8831, allocations: 8.368 MB / 472.8 MB, free: 132 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.749e-06/0.8831, allocations: 4 kB / 472.8 MB, free: 128 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007798/0.891, allocations: 3.519 MB / 476.3 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/0.8923, allocations: 402.8 kB / 476.7 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004136/0.8928, allocations: 36.23 kB / 476.7 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/0.8941, allocations: 95.89 kB / 476.8 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003641/0.8945, allocations: 100.8 kB / 476.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001583/0.8947, allocations: 51.94 kB / 477 MB, free: 11.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00222/0.8969, allocations: 0.9633 MB / 477.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.59e-07/0.897, allocations: 0 / 477.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002814/0.8998, allocations: 0.5468 MB / 478.5 MB, free: 10.26 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.0008742/0.9007, allocations: 369.5 kB / 478.9 MB, free: 9.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005429/0.9061, allocations: 2.256 MB / 481.1 MB, free: 7.605 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.545e-06/0.9062, allocations: 0 / 481.1 MB, free: 7.605 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003828/0.9101, allocations: 1.45 MB / 482.6 MB, free: 6.121 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00286/0.913, allocations: 421 kB / 483 MB, free: 5.707 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.9232, allocations: 3.87 MB / 486.8 MB, free: 1.758 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002784/0.9261, allocations: 1.89 MB / 488.7 MB, free: 15.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007066/0.9268, allocations: 127.4 kB / 488.9 MB, free: 15.71 MB / 346.7 MB Notification: Performance of SimCode: time 1.845e-06/0.9268, allocations: 0 / 488.9 MB, free: 15.71 MB / 346.7 MB Notification: Performance of Templates: time 0.2739/1.201, allocations: 59.57 MB / 0.5356 GB, free: 70.04 MB / 346.7 MB