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.795/1.795, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.196e-05/2.206e-05, allocations: 4 kB / 255.3 MB, free: 3.199 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0779/0.07794, allocations: 44.5 MB / 299.8 MB, free: 6.637 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3576/0.4356, allocations: 100.9 MB / 400.7 MB, free: 17.56 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.4359, allocations: 86.67 kB / 400.8 MB, free: 17.56 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1718/0.6077, allocations: 45.89 MB / 446.7 MB, free: 8.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.091e-06/0.6078, allocations: 4 kB / 446.7 MB, free: 8.016 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002158/0.608, allocations: 63.88 kB / 446.7 MB, free: 7.953 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.006399/0.6144, allocations: 2.223 MB / 449 MB, free: 5.816 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.6145, allocations: 12.03 kB / 449 MB, free: 5.805 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/0.6158, allocations: 292.8 kB / 449.3 MB, free: 5.516 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00429/0.6201, allocations: 1.571 MB / 450.8 MB, free: 4.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.6203, allocations: 159.3 kB / 451 MB, free: 4.176 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006313/0.621, allocations: 217.4 kB / 451.2 MB, free: 4.031 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006284/0.6273, allocations: 2.693 MB / 453.9 MB, free: 2.129 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.741e-05/0.6274, allocations: 3.906 kB / 453.9 MB, free: 2.125 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003051/0.6277, allocations: 102.2 kB / 454 MB, free: 2.094 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001499/0.6279, allocations: 90.41 kB / 454.1 MB, free: 2.004 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005627/0.6335, allocations: 2.119 MB / 456.2 MB, free: 204 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01981/0.6534, allocations: 8.577 MB / 464.8 MB, free: 7.375 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003333/0.6568, allocations: 1.682 MB / 466.5 MB, free: 5.57 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001804/0.6586, allocations: 0.7809 MB / 467.2 MB, free: 4.789 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004521/0.6591, allocations: 219.1 kB / 467.5 MB, free: 4.539 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.304e-05/0.6592, allocations: 47.56 kB / 467.5 MB, free: 4.484 MB / 346.7 MB Notification: Performance of pre-optimization done (n=103): time 4.613e-06/0.6592, allocations: 0 / 467.5 MB, free: 4.484 MB / 346.7 MB Notification: Performance of matching and sorting (n=124): time 0.0189/0.6781, allocations: 5.929 MB / 473.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.6782, allocations: 64.41 kB / 473.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0028/0.681, allocations: 1.225 MB / 474.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002604/0.6813, allocations: 45.7 kB / 474.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009743/0.6823, allocations: 0.9837 MB / 475.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006242/0.6829, allocations: 433.7 kB / 476.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.6831, allocations: 32 kB / 476.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002489/0.6834, allocations: 370.7 kB / 476.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001605/0.685, allocations: 0.6873 MB / 477.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001991/0.687, allocations: 1.069 MB / 478.3 MB, free: 9.402 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001945/0.6889, allocations: 0.8754 MB / 479.2 MB, free: 8.527 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.808e-06/0.689, allocations: 4 kB / 479.2 MB, free: 8.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.006044/0.695, allocations: 2.396 MB / 481.6 MB, free: 6.109 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/0.6951, allocations: 8 kB / 481.6 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.744e-05/0.6952, allocations: 12 kB / 481.6 MB, free: 6.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002121/0.6973, allocations: 0.5726 MB / 482.2 MB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/0.6992, allocations: 339.5 kB / 482.5 MB, free: 5.176 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01134/0.7106, allocations: 6.323 MB / 488.8 MB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.7124, allocations: 107.9 kB / 488.9 MB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000243/0.7127, allocations: 59.92 kB / 489 MB, free: 14.41 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.0004076/0.7131, allocations: 188.6 kB / 489.2 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004451/0.7136, allocations: 166 kB / 489.4 MB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005614/0.7192, allocations: 2.268 MB / 491.6 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/0.7193, allocations: 12 kB / 491.6 MB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.7193, allocations: 4 kB / 491.6 MB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.449e-05/0.7193, allocations: 11.88 kB / 491.6 MB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01209/0.7314, allocations: 4.68 MB / 496.3 MB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.7315, allocations: 0 / 496.3 MB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/0.7328, allocations: 207.7 kB / 496.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002506/0.7353, allocations: 0.6511 MB / 497.2 MB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001609/0.7355, allocations: 27.98 kB / 497.2 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01331/0.7488, allocations: 8.038 MB / 0.4934 GB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.741e-06/0.7489, allocations: 4 kB / 0.4934 GB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007459/0.7564, allocations: 3.388 MB / 0.4967 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/0.7576, allocations: 391 kB / 0.4971 GB, free: 9.719 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003385/0.7579, allocations: 31.98 kB / 0.4971 GB, free: 9.688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.7592, allocations: 87.91 kB / 0.4972 GB, free: 9.602 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003267/0.7595, allocations: 104.8 kB / 0.4973 GB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/0.7597, allocations: 32 kB / 0.4973 GB, free: 9.469 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002087/0.7618, allocations: 0.9437 MB / 0.4983 GB, free: 8.523 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.061e-06/0.7618, allocations: 0 / 0.4983 GB, free: 8.523 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002571/0.7644, allocations: 0.5234 MB / 0.4988 GB, free: 8 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.0007604/0.7652, allocations: 294.7 kB / 0.499 GB, free: 7.699 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005314/0.7705, allocations: 2.262 MB / 0.5013 GB, free: 5.387 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.051e-06/0.7706, allocations: 0 / 0.5013 GB, free: 5.387 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003599/0.7742, allocations: 1.462 MB / 0.5027 GB, free: 3.887 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/0.7767, allocations: 381 kB / 0.503 GB, free: 3.516 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.223/0.9997, allocations: 3.724 MB / 0.5067 GB, free: 97.64 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002182/1.002, allocations: 1.841 MB / 0.5085 GB, free: 96.92 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006189/1.003, allocations: 123.5 kB / 0.5086 GB, free: 96.92 MB / 394.7 MB Notification: Performance of SimCode: time 1.859e-06/1.003, allocations: 0 / 0.5086 GB, free: 96.92 MB / 394.7 MB Notification: Performance of Templates: time 0.07166/1.074, allocations: 56.45 MB / 0.5637 GB, free: 80.19 MB / 394.7 MB