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.852/1.852, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.524e-05/4.55e-05, allocations: 0 / 249.6 MB, free: 15.28 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.288, allocations: 44.5 MB / 294.1 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1494/0.4375, allocations: 100.2 MB / 394.3 MB, free: 13.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.4378, allocations: 91.83 kB / 394.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3773/0.8151, allocations: 45.28 MB / 439.7 MB, free: 92.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.971e-06/0.8152, allocations: 0 / 439.7 MB, free: 92.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001598/0.8153, allocations: 58.88 kB / 439.7 MB, free: 92.93 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: 550 * Number of variables: 550 Notification: Performance of Generate backend data structure: time 0.005375/0.8207, allocations: 2.234 MB / 442 MB, free: 91.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.8208, allocations: 9.188 kB / 442 MB, free: 91.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001289/0.8221, allocations: 289.9 kB / 442.3 MB, free: 91.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004013/0.8261, allocations: 1.575 MB / 443.8 MB, free: 91.36 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.8263, allocations: 66.59 kB / 443.9 MB, free: 91.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005423/0.8268, allocations: 131.5 kB / 444 MB, free: 91.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005009/0.8319, allocations: 1.996 MB / 446 MB, free: 91.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005976/0.8379, allocations: 2.397 MB / 448.4 MB, free: 90.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.214e-05/0.838, allocations: 5.5 kB / 448.4 MB, free: 90.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002609/0.8383, allocations: 0 / 448.4 MB, free: 90.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000113/0.8384, allocations: 99.41 kB / 448.5 MB, free: 90.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01665/0.8551, allocations: 8.174 MB / 456.7 MB, free: 85.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002394/0.8575, allocations: 1.637 MB / 458.3 MB, free: 84.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/0.8589, allocations: 0.7549 MB / 459.1 MB, free: 84.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003617/0.8593, allocations: 220.3 kB / 459.3 MB, free: 84.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.8593, allocations: 46.34 kB / 459.4 MB, free: 84.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=105): time 4.259e-06/0.8594, allocations: 0 / 459.4 MB, free: 84.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=126): time 0.0114/0.8708, allocations: 4.744 MB / 464.1 MB, free: 82.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.8708, allocations: 71.38 kB / 464.2 MB, free: 82.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001753/0.8726, allocations: 1.009 MB / 465.2 MB, free: 81.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.8727, allocations: 29.7 kB / 465.2 MB, free: 81.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005131/0.8733, allocations: 1.001 MB / 466.2 MB, free: 80.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003344/0.8736, allocations: 425.2 kB / 466.6 MB, free: 80.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.876e-05/0.8737, allocations: 0 / 466.6 MB, free: 80.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.8738, allocations: 373 kB / 467 MB, free: 79.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.875, allocations: 0.6723 MB / 467.7 MB, free: 79.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001354/0.8764, allocations: 1.028 MB / 468.7 MB, free: 78.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.8779, allocations: 0.8531 MB / 469.5 MB, free: 77.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.712e-06/0.8779, allocations: 4 kB / 469.5 MB, free: 77.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004489/0.8824, allocations: 2.255 MB / 471.8 MB, free: 75.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/0.8825, allocations: 14.03 kB / 471.8 MB, free: 75.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.8825, allocations: 8 kB / 471.8 MB, free: 75.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001889/0.8844, allocations: 0.5722 MB / 472.4 MB, free: 74.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/0.886, allocations: 337 kB / 472.7 MB, free: 74.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008055/0.8941, allocations: 6.06 MB / 478.8 MB, free: 68.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.8958, allocations: 87.78 kB / 478.9 MB, free: 68.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000209/0.896, allocations: 60.06 kB / 478.9 MB, free: 68.2 MB / 362.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 (158): * Single equations (assignments): 155 * 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.0003205/0.8964, allocations: 140.3 kB / 479.1 MB, free: 68.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003362/0.8967, allocations: 150.2 kB / 479.2 MB, free: 67.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004474/0.9012, allocations: 2.162 MB / 481.4 MB, free: 65.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.9012, allocations: 12 kB / 481.4 MB, free: 65.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.9013, allocations: 8 kB / 481.4 MB, free: 65.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-05/0.9013, allocations: 7.922 kB / 481.4 MB, free: 65.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009215/0.9105, allocations: 4.317 MB / 485.7 MB, free: 61.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.676e-06/0.9106, allocations: 0 / 485.7 MB, free: 61.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/0.9118, allocations: 216 kB / 485.9 MB, free: 61.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002294/0.9141, allocations: 0.6235 MB / 486.5 MB, free: 60.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001598/0.9143, allocations: 15.98 kB / 486.6 MB, free: 60.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009513/0.9239, allocations: 7.745 MB / 494.3 MB, free: 52.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-06/0.9239, allocations: 0 / 494.3 MB, free: 52.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005745/0.9297, allocations: 3.294 MB / 497.6 MB, free: 49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009524/0.9307, allocations: 379.2 kB / 498 MB, free: 48.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002618/0.9309, allocations: 8 kB / 498 MB, free: 48.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.9321, allocations: 77.39 kB / 498.1 MB, free: 48.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002859/0.9324, allocations: 97.12 kB / 498.2 MB, free: 48.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/0.9325, allocations: 43.98 kB / 498.2 MB, free: 48.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001309/0.9338, allocations: 0.7621 MB / 499 MB, free: 47.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-06/0.9338, allocations: 3.938 kB / 499 MB, free: 47.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001993/0.9358, allocations: 459.9 kB / 499.4 MB, free: 47.17 MB / 362.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 (98): * Single equations (assignments): 95 * 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.0005476/0.9364, allocations: 290.6 kB / 499.7 MB, free: 46.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003914/0.9403, allocations: 2.161 MB / 0.4901 GB, free: 44.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/0.9404, allocations: 0 / 0.4901 GB, free: 44.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002713/0.9431, allocations: 1.419 MB / 0.4915 GB, free: 43.26 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/0.945, allocations: 296.5 kB / 0.4918 GB, free: 42.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007141/0.9522, allocations: 3.653 MB / 0.4953 GB, free: 39.28 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001725/0.9539, allocations: 1.831 MB / 0.4971 GB, free: 37.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006188/0.9546, allocations: 115.4 kB / 0.4972 GB, free: 37.3 MB / 362.7 MB Notification: Performance of SimCode: time 1.898e-06/0.9546, allocations: 4 kB / 0.4972 GB, free: 37.3 MB / 362.7 MB Notification: Performance of Templates: time 0.07072/1.025, allocations: 55.05 MB / 0.551 GB, free: 14.17 MB / 394.7 MB