Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.idq_rr.1.|smrE.idq_rr.2.|smrE.idq_sr.1.|smrE.idq_sr.2.|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.strayReluctance.port_p.Phi.im|smrM.stator.strayReluctance.port_p.Phi.re|vfController.x",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter") Notification: Performance of loadModel(Modelica): time 1.708/1.708, allocations: 194.9 MB / 208 MB, free: 3.188 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.74e-05/2.747e-05, allocations: 7.984 kB / 255.4 MB, free: 2.711 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07503/0.07508, allocations: 44.51 MB / 299.9 MB, free: 6.145 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.364/0.4391, allocations: 119.6 MB / 419.5 MB, free: 9.254 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.4394, allocations: 82.17 kB / 419.6 MB, free: 9.242 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7246/1.164, allocations: 115.4 MB / 0.5224 GB, free: 56.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.244e-06/1.164, allocations: 0 / 0.5224 GB, free: 56.29 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003996/1.164, allocations: 134.8 kB / 0.5226 GB, free: 56.27 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1340 * Number of variables: 1340 Notification: Performance of Generate backend data structure: time 0.01467/1.179, allocations: 4.856 MB / 0.5273 GB, free: 54.63 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/1.179, allocations: 7.344 kB / 0.5273 GB, free: 54.63 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006021/1.185, allocations: 0.9516 MB / 0.5282 GB, free: 54.33 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01242/1.198, allocations: 4.367 MB / 0.5325 GB, free: 53.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003016/1.198, allocations: 383.3 kB / 0.5329 GB, free: 53.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001161/1.199, allocations: 0.5033 MB / 0.5334 GB, free: 53.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0164/1.216, allocations: 6.462 MB / 0.5397 GB, free: 52.94 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002105/1.216, allocations: 17.58 kB / 0.5397 GB, free: 52.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001169/1.217, allocations: 216.1 kB / 0.5399 GB, free: 52.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00023/1.217, allocations: 230.2 kB / 0.5401 GB, free: 52.92 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01368/1.231, allocations: 5.144 MB / 0.5451 GB, free: 52.9 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04151/1.273, allocations: 21.02 MB / 0.5657 GB, free: 46.71 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008414/1.281, allocations: 8.42 MB / 0.5739 GB, free: 39.49 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003772/1.285, allocations: 1.999 MB / 0.5758 GB, free: 38.72 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01242/1.297, allocations: 5.96 MB / 0.5817 GB, free: 35.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/1.297, allocations: 55.16 kB / 0.5817 GB, free: 35.67 MB / 394.7 MB Notification: Performance of pre-optimization done (n=205): time 5.932e-06/1.297, allocations: 0 / 0.5817 GB, free: 35.67 MB / 394.7 MB Notification: Performance of matching and sorting (n=229): time 0.02261/1.32, allocations: 9.243 MB / 0.5907 GB, free: 31.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/1.32, allocations: 75.53 kB / 0.5908 GB, free: 31.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004808/1.325, allocations: 2.486 MB / 0.5932 GB, free: 30.94 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003458/1.325, allocations: 61.42 kB / 0.5933 GB, free: 30.88 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001476/1.327, allocations: 2.329 MB / 0.5956 GB, free: 29.11 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007395/1.327, allocations: 0.7964 MB / 0.5964 GB, free: 28.49 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002327/1.328, allocations: 56.12 kB / 0.5964 GB, free: 28.45 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001896/1.328, allocations: 423.5 kB / 0.5968 GB, free: 28.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002527/1.33, allocations: 1.236 MB / 0.598 GB, free: 27.62 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002872/1.333, allocations: 2.099 MB / 0.6001 GB, free: 26.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003065/1.336, allocations: 1.62 MB / 0.6017 GB, free: 25.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.9e-05/1.336, allocations: 9.188 kB / 0.6017 GB, free: 25.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=376) (initialization): time 0.00888/1.345, allocations: 4.372 MB / 0.6059 GB, free: 23.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.939e-05/1.345, allocations: 19.53 kB / 0.6059 GB, free: 23.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.534e-05/1.345, allocations: 29.94 kB / 0.606 GB, free: 23.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002128/1.348, allocations: 0.7173 MB / 0.6067 GB, free: 23.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003251/1.351, allocations: 0.6856 MB / 0.6073 GB, free: 23.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01061/1.362, allocations: 9.372 MB / 0.6165 GB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003246/1.365, allocations: 184.6 kB / 0.6167 GB, free: 14.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003493/1.365, allocations: 127.3 kB / 0.6168 GB, free: 14.75 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (340): * Single equations (assignments): 334 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,72.2%) 22,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005671/1.366, allocations: 283.2 kB / 0.6171 GB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005745/1.366, allocations: 320.1 kB / 0.6174 GB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008336/1.375, allocations: 3.978 MB / 0.6213 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.163e-05/1.375, allocations: 20 kB / 0.6213 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.672e-05/1.375, allocations: 12 kB / 0.6213 GB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.301e-05/1.375, allocations: 11.11 kB / 0.6213 GB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01711/1.392, allocations: 8.58 MB / 0.6297 GB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/1.392, allocations: 0 / 0.6297 GB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002033/1.394, allocations: 370.9 kB / 0.63 GB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003103/1.397, allocations: 0.9437 MB / 0.631 GB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002221/1.397, allocations: 59.22 kB / 0.631 GB, free: 2.551 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02144/1.419, allocations: 15.45 MB / 0.6461 GB, free: 3.277 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-06/1.419, allocations: 3.953 kB / 0.6461 GB, free: 3.273 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01248/1.431, allocations: 5.851 MB / 0.6518 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002185/1.434, allocations: 0.6701 MB / 0.6525 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006585/1.434, allocations: 59.09 kB / 0.6525 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002022/1.436, allocations: 140.3 kB / 0.6527 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004973/1.437, allocations: 178.8 kB / 0.6528 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002487/1.437, allocations: 67.42 kB / 0.6529 GB, free: 12.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004075/1.441, allocations: 1.873 MB / 0.6547 GB, free: 11.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.072e-06/1.441, allocations: 0 / 0.6547 GB, free: 11.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004597/1.446, allocations: 1.015 MB / 0.6557 GB, free: 10.16 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 13 (vfController.x,smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smrE.inertiaRotor.w,smrE.idq_sr[1],smrE.idq_sr[2],smrE.idq_dr[1],smrE.idq_dr[2],loadInertiaM.phi,loadInertiaE.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 168 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(6,75.0%) 22,(1,100.0%) 5,(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001046/1.447, allocations: 0.5382 MB / 0.6562 GB, free: 9.703 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008211/1.455, allocations: 3.82 MB / 0.66 GB, free: 6.102 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.21e-06/1.455, allocations: 2.562 kB / 0.66 GB, free: 6.102 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00617/1.461, allocations: 2.577 MB / 0.6625 GB, free: 3.688 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005117/1.467, allocations: 0.7583 MB / 0.6632 GB, free: 3.086 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2519/1.719, allocations: 7.831 MB / 0.6709 GB, free: 77.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00492/1.724, allocations: 3.39 MB / 0.6742 GB, free: 76.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003969/1.728, allocations: 0.7427 MB / 0.6749 GB, free: 76.47 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/1.729, allocations: 216.5 kB / 0.6751 GB, free: 76.47 MB / 426.7 MB Notification: Performance of SimCode: time 2.624e-06/1.729, allocations: 0 / 0.6751 GB, free: 76.47 MB / 426.7 MB Notification: Performance of Templates: time 0.1159/1.845, allocations: 48.97 MB / 0.7229 GB, free: 74.12 MB / 426.7 MB