Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") Notification: Performance of loadModel(Modelica): time 1.966/1.966, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.9e-05/1.905e-05, allocations: 4 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2498, allocations: 44.5 MB / 294.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1568/0.4067, allocations: 103.1 MB / 397.2 MB, free: 10.81 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003522/0.4071, allocations: 91.89 kB / 397.3 MB, free: 10.72 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3955/0.8027, allocations: 49.03 MB / 446.4 MB, free: 94.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.968e-06/0.8027, allocations: 0 / 446.4 MB, free: 94.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001784/0.8029, allocations: 70.59 kB / 446.4 MB, free: 94.38 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.005984/0.8089, allocations: 2.333 MB / 448.8 MB, free: 93.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.809, allocations: 7.719 kB / 448.8 MB, free: 93.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001449/0.8105, allocations: 313.9 kB / 449.1 MB, free: 93.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004551/0.815, allocations: 1.664 MB / 450.7 MB, free: 92.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.8152, allocations: 78.41 kB / 450.8 MB, free: 92.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005261/0.8157, allocations: 141.2 kB / 451 MB, free: 92.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005353/0.8211, allocations: 2.062 MB / 453 MB, free: 91.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005861/0.827, allocations: 2.494 MB / 455.5 MB, free: 90.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.149e-05/0.8271, allocations: 3.656 kB / 455.5 MB, free: 90.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002616/0.8274, allocations: 0 / 455.5 MB, free: 90.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000113/0.8275, allocations: 104.8 kB / 455.6 MB, free: 90.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01763/0.8452, allocations: 8.666 MB / 464.3 MB, free: 84.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002374/0.8476, allocations: 1.653 MB / 465.9 MB, free: 82.53 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001346/0.849, allocations: 0.7779 MB / 466.7 MB, free: 81.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003343/0.8493, allocations: 219.4 kB / 466.9 MB, free: 81.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.8494, allocations: 47.81 kB / 467 MB, free: 81.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=109): time 4.991e-06/0.8494, allocations: 4 kB / 467 MB, free: 81.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=132): time 0.01147/0.8609, allocations: 4.902 MB / 471.9 MB, free: 76.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.8609, allocations: 68.72 kB / 471.9 MB, free: 76.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001974/0.8629, allocations: 1.097 MB / 473 MB, free: 75.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001958/0.8632, allocations: 25.7 kB / 473.1 MB, free: 75.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005759/0.8637, allocations: 1.073 MB / 474.1 MB, free: 74.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003706/0.8641, allocations: 441.4 kB / 474.6 MB, free: 73.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.8642, allocations: 0 / 474.6 MB, free: 73.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.8644, allocations: 374.7 kB / 474.9 MB, free: 73.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.8657, allocations: 0.6911 MB / 475.6 MB, free: 72.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/0.8671, allocations: 1.1 MB / 476.7 MB, free: 71.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.8687, allocations: 0.8806 MB / 477.6 MB, free: 70.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.8687, allocations: 4 kB / 477.6 MB, free: 70.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004784/0.8735, allocations: 2.338 MB / 480 MB, free: 68.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.8736, allocations: 10.03 kB / 480 MB, free: 68.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/0.8736, allocations: 16 kB / 480 MB, free: 68.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001794/0.8754, allocations: 0.5766 MB / 480.6 MB, free: 67.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/0.8771, allocations: 351.5 kB / 480.9 MB, free: 67.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008658/0.8858, allocations: 6.4 MB / 487.3 MB, free: 60.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.8876, allocations: 79.8 kB / 487.4 MB, free: 60.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/0.8878, allocations: 72.05 kB / 487.4 MB, free: 60.46 MB / 362.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 (170): * Single equations (assignments): 167 * 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.0003255/0.8881, allocations: 156.2 kB / 487.6 MB, free: 60.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003283/0.8884, allocations: 158 kB / 487.8 MB, free: 60.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00457/0.893, allocations: 2.207 MB / 490 MB, free: 57.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.8931, allocations: 19.95 kB / 490 MB, free: 57.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.8931, allocations: 7.984 kB / 490 MB, free: 57.88 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-05/0.8931, allocations: 3.984 kB / 490 MB, free: 57.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009746/0.9029, allocations: 4.506 MB / 494.5 MB, free: 53.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.9029, allocations: 8.344 kB / 494.5 MB, free: 53.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/0.9041, allocations: 211.7 kB / 494.7 MB, free: 53.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002169/0.9063, allocations: 0.6274 MB / 495.3 MB, free: 52.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001911/0.9065, allocations: 19.98 kB / 495.4 MB, free: 52.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01033/0.9169, allocations: 8.074 MB / 0.4916 GB, free: 44.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.692e-06/0.9169, allocations: 11.95 kB / 0.4916 GB, free: 44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00647/0.9234, allocations: 3.429 MB / 0.495 GB, free: 40.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/0.9245, allocations: 391 kB / 0.4954 GB, free: 40.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002873/0.9248, allocations: 15.94 kB / 0.4954 GB, free: 40.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/0.926, allocations: 75.89 kB / 0.4955 GB, free: 39.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003122/0.9264, allocations: 109.1 kB / 0.4956 GB, free: 39.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001367/0.9265, allocations: 36 kB / 0.4956 GB, free: 39.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001481/0.928, allocations: 0.828 MB / 0.4964 GB, free: 38.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.46e-07/0.928, allocations: 4 kB / 0.4964 GB, free: 38.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002348/0.9304, allocations: 483.9 kB / 0.4969 GB, free: 38.49 MB / 362.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 (103): * Single equations (assignments): 100 * 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.0006096/0.931, allocations: 334.4 kB / 0.4972 GB, free: 38.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004054/0.9351, allocations: 2.227 MB / 0.4994 GB, free: 35.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.417e-06/0.9352, allocations: 4 kB / 0.4994 GB, free: 35.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002828/0.938, allocations: 1.439 MB / 0.5008 GB, free: 34.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/0.9402, allocations: 347.1 kB / 0.5011 GB, free: 34.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007709/0.948, allocations: 3.829 MB / 0.5048 GB, free: 30.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001899/0.9499, allocations: 1.894 MB / 0.5067 GB, free: 28.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006466/0.9506, allocations: 131.4 kB / 0.5068 GB, free: 28.14 MB / 362.7 MB Notification: Performance of SimCode: time 2.093e-06/0.9506, allocations: 0 / 0.5068 GB, free: 28.14 MB / 362.7 MB Notification: Performance of Templates: time 0.08267/1.033, allocations: 59.02 MB / 0.5644 GB, free: 1.016 MB / 394.7 MB