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.752/1.752, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.309e-05/3.32e-05, allocations: 3.031 kB / 255.4 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0754/0.07545, allocations: 44.5 MB / 299.9 MB, free: 6.621 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3975/0.473, allocations: 103.8 MB / 403.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.4732, allocations: 82.86 kB / 403.7 MB, free: 16.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.183/0.6563, allocations: 49.72 MB / 453.5 MB, free: 1.812 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.6563, allocations: 8 kB / 453.5 MB, free: 1.805 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001833/0.6565, allocations: 59.94 kB / 453.5 MB, free: 1.746 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.006813/0.6633, allocations: 2.331 MB / 455.9 MB, free: 15.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.6634, allocations: 12.03 kB / 455.9 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001743/0.6652, allocations: 316.5 kB / 456.2 MB, free: 15.19 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004529/0.6697, allocations: 1.66 MB / 457.8 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002044/0.67, allocations: 175.8 kB / 458 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006827/0.6706, allocations: 218.9 kB / 458.2 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006944/0.6776, allocations: 2.786 MB / 461 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.71e-05/0.6777, allocations: 3.906 kB / 461 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000335/0.6781, allocations: 99.98 kB / 461.1 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001623/0.6783, allocations: 104.3 kB / 461.2 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005276/0.6835, allocations: 2.16 MB / 463.4 MB, free: 9.012 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02008/0.7036, allocations: 9.097 MB / 472.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003065/0.7067, allocations: 1.664 MB / 474.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001705/0.7085, allocations: 0.808 MB / 474.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004322/0.7089, allocations: 223.1 kB / 475.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/0.709, allocations: 43.55 kB / 475.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=107): time 4.491e-06/0.709, allocations: 0 / 475.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=130): time 0.01992/0.7289, allocations: 6.344 MB / 481.6 MB, free: 6.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.729, allocations: 68.67 kB / 481.6 MB, free: 6.262 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002726/0.7318, allocations: 1.321 MB / 482.9 MB, free: 4.934 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001305/0.7319, allocations: 45.7 kB / 483 MB, free: 4.883 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009542/0.7329, allocations: 1.046 MB / 484 MB, free: 3.824 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005196/0.7334, allocations: 469.3 kB / 484.5 MB, free: 3.359 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.7336, allocations: 32 kB / 484.5 MB, free: 3.328 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002527/0.7338, allocations: 370.8 kB / 484.9 MB, free: 2.957 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00157/0.7354, allocations: 0.7146 MB / 485.6 MB, free: 2.242 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001988/0.7374, allocations: 1.13 MB / 486.7 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001924/0.7394, allocations: 0.8989 MB / 487.6 MB, free: 40 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/0.7394, allocations: 11.92 kB / 487.6 MB, free: 28 kB / 362.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005885/0.7453, allocations: 2.451 MB / 490.1 MB, free: 13.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.7454, allocations: 12 kB / 490.1 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/0.7454, allocations: 12 kB / 490.1 MB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00207/0.7475, allocations: 0.5805 MB / 490.7 MB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001841/0.7493, allocations: 363.4 kB / 491 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0116/0.761, allocations: 6.679 MB / 497.7 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/0.7627, allocations: 115.8 kB / 497.8 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001944/0.7629, allocations: 64 kB / 497.9 MB, free: 5.465 MB / 378.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 (168): * Single equations (assignments): 165 * 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.0004085/0.7634, allocations: 200.5 kB / 498.1 MB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004155/0.7638, allocations: 169.9 kB / 498.3 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005646/0.7694, allocations: 2.329 MB / 0.4889 GB, free: 2.738 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.241e-05/0.7695, allocations: 16 kB / 0.4889 GB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/0.7695, allocations: 11.98 kB / 0.4889 GB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.148e-05/0.7695, allocations: 7.969 kB / 0.4889 GB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01129/0.7808, allocations: 4.86 MB / 0.4936 GB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/0.7809, allocations: 4 kB / 0.4936 GB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/0.7822, allocations: 216 kB / 0.4939 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002407/0.7846, allocations: 0.6464 MB / 0.4945 GB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001388/0.7848, allocations: 35.98 kB / 0.4945 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01379/0.7986, allocations: 8.371 MB / 0.5027 GB, free: 4.055 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.505e-06/0.7986, allocations: 4 kB / 0.5027 GB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007481/0.8061, allocations: 3.528 MB / 0.5061 GB, free: 396 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2144/1.021, allocations: 409.3 kB / 0.5065 GB, free: 93.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006641/1.021, allocations: 33.41 kB / 0.5066 GB, free: 93.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/1.023, allocations: 91.28 kB / 0.5067 GB, free: 93.14 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000315/1.023, allocations: 108.3 kB / 0.5068 GB, free: 93.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/1.023, allocations: 43.09 kB / 0.5068 GB, free: 93.14 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002094/1.025, allocations: 1.013 MB / 0.5078 GB, free: 93.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.15e-07/1.025, allocations: 0 / 0.5078 GB, free: 93.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002304/1.028, allocations: 0.5437 MB / 0.5083 GB, free: 93.02 MB / 394.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 (102): * Single equations (assignments): 99 * 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.000704/1.028, allocations: 371.4 kB / 0.5087 GB, free: 92.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004493/1.033, allocations: 2.254 MB / 0.5109 GB, free: 92.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.853e-06/1.033, allocations: 1.125 kB / 0.5109 GB, free: 92.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002985/1.036, allocations: 1.463 MB / 0.5123 GB, free: 92.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/1.038, allocations: 426.6 kB / 0.5127 GB, free: 92.24 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008185/1.046, allocations: 3.902 MB / 0.5165 GB, free: 91.34 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002172/1.049, allocations: 1.897 MB / 0.5184 GB, free: 90.61 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006945/1.049, allocations: 131.5 kB / 0.5185 GB, free: 90.61 MB / 394.7 MB Notification: Performance of SimCode: time 1.779e-06/1.049, allocations: 0 / 0.5185 GB, free: 90.61 MB / 394.7 MB Notification: Performance of Templates: time 0.07/1.119, allocations: 60.25 MB / 0.5773 GB, free: 66.34 MB / 394.7 MB