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_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") Notification: Performance of loadModel(Modelica): time 1.756/1.756, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.935e-05/2.977e-05, allocations: 3.062 kB / 255.4 MB, free: 3.172 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07624/0.07629, allocations: 44.5 MB / 299.9 MB, free: 6.609 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3446/0.4209, allocations: 100.9 MB / 400.7 MB, free: 17.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.4212, allocations: 87.88 kB / 400.8 MB, free: 17.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1754/0.5967, allocations: 45.9 MB / 446.7 MB, free: 7.934 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.67e-06/0.5967, allocations: 0 / 446.7 MB, free: 7.934 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002174/0.5969, allocations: 67.86 kB / 446.8 MB, free: 7.867 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.006493/0.6034, allocations: 2.219 MB / 449 MB, free: 5.734 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.6035, allocations: 12.03 kB / 449 MB, free: 5.723 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/0.6049, allocations: 292.8 kB / 449.3 MB, free: 5.434 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004401/0.6093, allocations: 1.57 MB / 450.9 MB, free: 4.191 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002026/0.6096, allocations: 154.4 kB / 451 MB, free: 4.102 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007082/0.6103, allocations: 220.5 kB / 451.2 MB, free: 3.953 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006583/0.6169, allocations: 2.665 MB / 453.9 MB, free: 2.086 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.433e-05/0.617, allocations: 14.7 kB / 453.9 MB, free: 2.074 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002985/0.6173, allocations: 87.5 kB / 454 MB, free: 2.055 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001994/0.6175, allocations: 99.83 kB / 454.1 MB, free: 1.957 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005197/0.6228, allocations: 2.092 MB / 456.2 MB, free: 228 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01921/0.642, allocations: 8.573 MB / 464.8 MB, free: 7.402 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003127/0.6452, allocations: 1.659 MB / 466.4 MB, free: 5.621 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001683/0.6469, allocations: 0.7812 MB / 467.2 MB, free: 4.836 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004235/0.6473, allocations: 219.1 kB / 467.4 MB, free: 4.582 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.636e-05/0.6474, allocations: 51.56 kB / 467.5 MB, free: 4.523 MB / 346.7 MB Notification: Performance of pre-optimization done (n=103): time 6.926e-06/0.6474, allocations: 4 kB / 467.5 MB, free: 4.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=124): time 0.0177/0.6651, allocations: 5.928 MB / 473.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.6652, allocations: 64.41 kB / 473.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002606/0.6679, allocations: 1.228 MB / 474.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001509/0.668, allocations: 49.7 kB / 474.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009189/0.669, allocations: 0.9759 MB / 475.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005403/0.6695, allocations: 437.7 kB / 476.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.6697, allocations: 32 kB / 476.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002407/0.6699, allocations: 370.7 kB / 476.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001541/0.6715, allocations: 0.6912 MB / 477.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00191/0.6734, allocations: 1.065 MB / 478.3 MB, free: 9.438 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001941/0.6754, allocations: 0.8715 MB / 479.2 MB, free: 8.566 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.6754, allocations: 4 kB / 479.2 MB, free: 8.562 MB / 362.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.005713/0.6811, allocations: 2.361 MB / 481.5 MB, free: 6.184 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/0.6812, allocations: 12 kB / 481.5 MB, free: 6.172 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-05/0.6812, allocations: 8 kB / 481.5 MB, free: 6.164 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002067/0.6833, allocations: 0.5726 MB / 482.1 MB, free: 5.582 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001748/0.6851, allocations: 335.5 kB / 482.4 MB, free: 5.254 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/0.6961, allocations: 6.323 MB / 488.8 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/0.6978, allocations: 111.8 kB / 488.9 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002375/0.6981, allocations: 56 kB / 488.9 MB, free: 14.5 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.0004111/0.6985, allocations: 188.6 kB / 489.1 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004373/0.699, allocations: 170 kB / 489.3 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005556/0.7046, allocations: 2.26 MB / 491.5 MB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.7046, allocations: 12 kB / 491.6 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/0.7046, allocations: 7.984 kB / 491.6 MB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.071e-05/0.7047, allocations: 7.938 kB / 491.6 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01148/0.7162, allocations: 4.672 MB / 496.2 MB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/0.7162, allocations: 8 kB / 496.3 MB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.7175, allocations: 199.7 kB / 496.4 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002411/0.7199, allocations: 0.6395 MB / 497.1 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001365/0.7201, allocations: 35.98 kB / 497.1 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01277/0.7328, allocations: 8.046 MB / 0.4933 GB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.7329, allocations: 0 / 0.4933 GB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007195/0.7401, allocations: 3.388 MB / 0.4966 GB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/0.7413, allocations: 395 kB / 0.497 GB, free: 9.809 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003687/0.7416, allocations: 28 kB / 0.497 GB, free: 9.781 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/0.7428, allocations: 99.89 kB / 0.4971 GB, free: 9.684 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003172/0.7432, allocations: 100.8 kB / 0.4972 GB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/0.7433, allocations: 35.98 kB / 0.4973 GB, free: 9.547 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002051/0.7454, allocations: 0.9398 MB / 0.4982 GB, free: 8.605 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.039e-06/0.7454, allocations: 4 kB / 0.4982 GB, free: 8.602 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002188/0.7476, allocations: 0.5156 MB / 0.4987 GB, free: 8.086 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.0006635/0.7483, allocations: 300 kB / 0.499 GB, free: 7.781 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004893/0.7532, allocations: 2.21 MB / 0.5011 GB, free: 5.531 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/0.7532, allocations: 8.125 kB / 0.5011 GB, free: 5.523 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00329/0.7566, allocations: 1.418 MB / 0.5025 GB, free: 4.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/0.7589, allocations: 364.9 kB / 0.5029 GB, free: 3.715 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2197/0.9786, allocations: 3.733 MB / 0.5065 GB, free: 97.52 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002455/0.9811, allocations: 1.837 MB / 0.5083 GB, free: 96.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006796/0.9818, allocations: 116.7 kB / 0.5084 GB, free: 96.8 MB / 394.7 MB Notification: Performance of SimCode: time 1.919e-06/0.9818, allocations: 0 / 0.5084 GB, free: 96.8 MB / 394.7 MB Notification: Performance of Templates: time 0.07218/1.054, allocations: 56.27 MB / 0.5634 GB, free: 80.41 MB / 394.7 MB