Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,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.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") Notification: Performance of loadModel(Modelica): time 1.725/1.725, allocations: 171.2 MB / 183.3 MB, free: 12.06 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.865e-05/3.876e-05, allocations: 4 kB / 225 MB, free: 2.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2139, allocations: 38.77 MB / 263.8 MB, free: 9.812 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.141/0.3549, allocations: 95.76 MB / 359.6 MB, free: 9.902 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.3552, allocations: 87.94 kB / 359.6 MB, free: 9.816 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3692/0.7245, allocations: 45.49 MB / 405.1 MB, free: 69.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.392e-06/0.7245, allocations: 3.938 kB / 405.1 MB, free: 69.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001682/0.7247, allocations: 63.88 kB / 405.2 MB, free: 69.04 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 552 * Number of variables: 552 Notification: Performance of Generate backend data structure: time 0.004811/0.7295, allocations: 2.221 MB / 407.4 MB, free: 66.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.7296, allocations: 8.031 kB / 407.4 MB, free: 66.76 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009858/0.7306, allocations: 292.8 kB / 407.7 MB, free: 66.47 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003147/0.7337, allocations: 1.503 MB / 409.2 MB, free: 64.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.7339, allocations: 156.2 kB / 409.4 MB, free: 64.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003939/0.7343, allocations: 215.8 kB / 409.6 MB, free: 64.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005066/0.7394, allocations: 2.683 MB / 412.3 MB, free: 61.72 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-05/0.7395, allocations: 4 kB / 412.3 MB, free: 61.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002755/0.7398, allocations: 88 kB / 412.3 MB, free: 61.63 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001053/0.7399, allocations: 92.17 kB / 412.4 MB, free: 61.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004301/0.7442, allocations: 2.097 MB / 414.5 MB, free: 59.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01491/0.7591, allocations: 8.542 MB / 423.1 MB, free: 50.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00242/0.7616, allocations: 1.648 MB / 424.7 MB, free: 48.87 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001338/0.763, allocations: 0.7772 MB / 425.5 MB, free: 48.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002834/0.7633, allocations: 138 kB / 425.6 MB, free: 47.94 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.7633, allocations: 43.56 kB / 425.7 MB, free: 47.89 MB / 314.7 MB Notification: Performance of pre-optimization done (n=102): time 4.37e-06/0.7633, allocations: 3.938 kB / 425.7 MB, free: 47.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=123): time 0.01495/0.7783, allocations: 5.91 MB / 431.6 MB, free: 41.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.7784, allocations: 64.41 kB / 431.7 MB, free: 41.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/0.7802, allocations: 1.162 MB / 432.8 MB, free: 40.67 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001107/0.7804, allocations: 45.7 kB / 432.9 MB, free: 40.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006028/0.781, allocations: 1.014 MB / 433.9 MB, free: 39.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000307/0.7813, allocations: 433.8 kB / 434.3 MB, free: 39.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.7814, allocations: 28 kB / 434.3 MB, free: 39.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.7816, allocations: 369.9 kB / 434.7 MB, free: 38.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.7828, allocations: 0.6912 MB / 435.4 MB, free: 38.08 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/0.7842, allocations: 1.053 MB / 436.4 MB, free: 36.87 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/0.7857, allocations: 0.8754 MB / 437.3 MB, free: 35.99 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.374e-06/0.7857, allocations: 4 kB / 437.3 MB, free: 35.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.004815/0.7905, allocations: 2.45 MB / 439.8 MB, free: 33.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.7906, allocations: 12 kB / 439.8 MB, free: 33.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.7906, allocations: 15.98 kB / 439.8 MB, free: 33.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001768/0.7924, allocations: 0.5765 MB / 440.4 MB, free: 32.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001529/0.794, allocations: 331.5 kB / 440.7 MB, free: 32.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008149/0.8021, allocations: 6.316 MB / 447 MB, free: 26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.8037, allocations: 104 kB / 447.1 MB, free: 25.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001666/0.8039, allocations: 63.98 kB / 447.2 MB, free: 25.83 MB / 314.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 (155): * Single equations (assignments): 152 * 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.0003136/0.8042, allocations: 193.7 kB / 447.4 MB, free: 25.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003121/0.8045, allocations: 162 kB / 447.5 MB, free: 25.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004505/0.8091, allocations: 2.26 MB / 449.8 MB, free: 23.19 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.8091, allocations: 12 kB / 449.8 MB, free: 23.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.8091, allocations: 8 kB / 449.8 MB, free: 23.17 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/0.8092, allocations: 11.92 kB / 449.8 MB, free: 23.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009027/0.8182, allocations: 4.633 MB / 454.4 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.8182, allocations: 8.062 kB / 454.4 MB, free: 18.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/0.8194, allocations: 195.7 kB / 454.6 MB, free: 18.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00212/0.8215, allocations: 0.6307 MB / 455.3 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001277/0.8217, allocations: 35.98 kB / 455.3 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009818/0.8315, allocations: 8.049 MB / 463.4 MB, free: 9.105 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.493e-06/0.8316, allocations: 4 kB / 463.4 MB, free: 9.102 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005854/0.8374, allocations: 3.372 MB / 466.7 MB, free: 5.602 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009214/0.8384, allocations: 391.3 kB / 467.1 MB, free: 5.199 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002724/0.8387, allocations: 31.98 kB / 467.1 MB, free: 5.168 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.8398, allocations: 91.91 kB / 467.2 MB, free: 5.078 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002813/0.8401, allocations: 100.8 kB / 467.3 MB, free: 4.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/0.8402, allocations: 43.94 kB / 467.4 MB, free: 4.938 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001518/0.8418, allocations: 0.8929 MB / 468.3 MB, free: 4.043 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.1e-07/0.8418, allocations: 0 / 468.3 MB, free: 4.043 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001915/0.8437, allocations: 0.5039 MB / 468.8 MB, free: 3.539 MB / 314.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 (96): * Single equations (assignments): 93 * 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.0005143/0.8442, allocations: 316.1 kB / 469.1 MB, free: 3.223 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003956/0.8482, allocations: 2.197 MB / 471.3 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.518e-06/0.8482, allocations: 0 / 471.3 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002905/0.8511, allocations: 1.423 MB / 472.7 MB, free: 15.54 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00226/0.8534, allocations: 368.4 kB / 473.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008483/0.8619, allocations: 3.626 MB / 476.7 MB, free: 11.49 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002354/0.8643, allocations: 1.846 MB / 478.5 MB, free: 9.609 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001601/0.866, allocations: 353.5 kB / 478.9 MB, free: 9.258 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004457/0.8664, allocations: 107.4 kB / 479 MB, free: 9.152 MB / 330.7 MB Notification: Performance of SimCode: time 1.789e-06/0.8664, allocations: 0 / 479 MB, free: 9.152 MB / 330.7 MB Notification: Performance of Templates: time 0.2804/1.147, allocations: 26.12 MB / 0.4933 GB, free: 95.04 MB / 346.7 MB