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.is.1.|smrE.is.2.|smrE.idq_rr.1.|smrE.idq_rr.2.|smrE.idq_sr.1.|smrE.idq_sr.2.|smrM.is.1.|smrM.is.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.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter") Notification: Performance of loadModel(Modelica): time 2/2, allocations: 205.8 MB / 218.9 MB, free: 9.363 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.957e-05/2.972e-05, allocations: 4 kB / 269.4 MB, free: 6.41 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09034/0.09039, allocations: 47.58 MB / 316.9 MB, free: 6.754 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4408/0.5312, allocations: 125 MB / 442 MB, free: 11.86 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.5315, allocations: 83.64 kB / 442.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.712/1.244, allocations: 115.9 MB / 0.5449 GB, free: 86.74 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.134e-06/1.244, allocations: 0 / 0.5449 GB, free: 86.74 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004677/1.244, allocations: 137.4 kB / 0.545 GB, free: 86.72 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1347 * Number of variables: 1347 Notification: Performance of Generate backend data structure: time 0.01596/1.26, allocations: 4.891 MB / 0.5498 GB, free: 84.87 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/1.26, allocations: 11.28 kB / 0.5498 GB, free: 84.87 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006947/1.267, allocations: 0.9462 MB / 0.5507 GB, free: 84.56 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01363/1.281, allocations: 4.417 MB / 0.555 GB, free: 83.81 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004291/1.281, allocations: 380 kB / 0.5554 GB, free: 83.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001791/1.283, allocations: 0.5029 MB / 0.5559 GB, free: 83.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01775/1.301, allocations: 6.5 MB / 0.5622 GB, free: 83.15 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001925/1.301, allocations: 11.31 kB / 0.5623 GB, free: 83.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009353/1.302, allocations: 218.8 kB / 0.5625 GB, free: 83.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002249/1.302, allocations: 232.1 kB / 0.5627 GB, free: 83.13 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01452/1.317, allocations: 5.172 MB / 0.5677 GB, free: 82.72 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05202/1.369, allocations: 21.13 MB / 0.5884 GB, free: 71.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008782/1.378, allocations: 8.465 MB / 0.5966 GB, free: 64.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00402/1.382, allocations: 2.009 MB / 0.5986 GB, free: 63.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0146/1.396, allocations: 5.996 MB / 0.6045 GB, free: 60.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/1.396, allocations: 56.56 kB / 0.6045 GB, free: 60.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=208): time 5.114e-06/1.396, allocations: 0 / 0.6045 GB, free: 60.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=232): time 0.02445/1.421, allocations: 9.282 MB / 0.6136 GB, free: 52.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/1.421, allocations: 73.41 kB / 0.6137 GB, free: 52.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005203/1.426, allocations: 2.494 MB / 0.6161 GB, free: 50.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004335/1.427, allocations: 61.7 kB / 0.6161 GB, free: 50.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001554/1.428, allocations: 2.353 MB / 0.6184 GB, free: 47.99 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008824/1.429, allocations: 0.8097 MB / 0.6192 GB, free: 47.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002507/1.429, allocations: 60 kB / 0.6193 GB, free: 47.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001854/1.43, allocations: 424.8 kB / 0.6197 GB, free: 46.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002534/1.432, allocations: 1.242 MB / 0.6209 GB, free: 45.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003163/1.435, allocations: 2.105 MB / 0.623 GB, free: 43.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00327/1.439, allocations: 1.633 MB / 0.6246 GB, free: 41.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.787e-05/1.439, allocations: 8 kB / 0.6246 GB, free: 41.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=379) (initialization): time 0.01093/1.45, allocations: 4.397 MB / 0.6289 GB, free: 37.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.506e-05/1.45, allocations: 16 kB / 0.6289 GB, free: 37.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.291e-05/1.45, allocations: 36.42 kB / 0.6289 GB, free: 37.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002265/1.452, allocations: 0.7176 MB / 0.6296 GB, free: 37.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003784/1.456, allocations: 0.6968 MB / 0.6303 GB, free: 36.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01109/1.467, allocations: 9.375 MB / 0.6394 GB, free: 27.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003464/1.471, allocations: 195.9 kB / 0.6396 GB, free: 27.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005919/1.471, allocations: 131.3 kB / 0.6398 GB, free: 27.22 MB / 426.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 (343): * Single equations (assignments): 337 * 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.0006443/1.472, allocations: 284 kB / 0.64 GB, free: 26.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008309/1.473, allocations: 312.2 kB / 0.6403 GB, free: 26.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008493/1.481, allocations: 4.005 MB / 0.6442 GB, free: 23.15 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.463e-05/1.481, allocations: 20 kB / 0.6443 GB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.019e-05/1.481, allocations: 12 kB / 0.6443 GB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.499e-05/1.481, allocations: 10.08 kB / 0.6443 GB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01975/1.501, allocations: 8.636 MB / 0.6527 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.787e-05/1.501, allocations: 4 kB / 0.6527 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002474/1.504, allocations: 379.9 kB / 0.6531 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003294/1.507, allocations: 0.9341 MB / 0.654 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004064/1.507, allocations: 63.34 kB / 0.6541 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.272/1.78, allocations: 15.44 MB / 0.6691 GB, free: 76.49 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.036e-06/1.78, allocations: 3.125 kB / 0.6691 GB, free: 76.49 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01257/1.792, allocations: 5.916 MB / 0.6749 GB, free: 75.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002263/1.794, allocations: 0.6696 MB / 0.6756 GB, free: 75.51 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008781/1.795, allocations: 56.91 kB / 0.6756 GB, free: 75.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002371/1.798, allocations: 151.2 kB / 0.6758 GB, free: 75.51 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005461/1.798, allocations: 172.4 kB / 0.6759 GB, free: 75.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002543/1.799, allocations: 68.86 kB / 0.676 GB, free: 75.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004166/1.803, allocations: 1.891 MB / 0.6778 GB, free: 75.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-06/1.803, allocations: 3.156 kB / 0.6778 GB, free: 75.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005084/1.808, allocations: 1.015 MB / 0.6788 GB, free: 75.35 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 (178): * Single equations (assignments): 171 * 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.001209/1.809, allocations: 0.5351 MB / 0.6794 GB, free: 75.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007607/1.817, allocations: 3.852 MB / 0.6831 GB, free: 74.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.328e-06/1.817, allocations: 0 / 0.6831 GB, free: 74.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00551/1.822, allocations: 2.612 MB / 0.6857 GB, free: 73.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004583/1.827, allocations: 0.78 MB / 0.6864 GB, free: 73.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0176/1.845, allocations: 7.857 MB / 0.6941 GB, free: 71.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004889/1.85, allocations: 3.405 MB / 0.6974 GB, free: 71.06 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003539/1.853, allocations: 0.7468 MB / 0.6982 GB, free: 70.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008455/1.854, allocations: 218.9 kB / 0.6984 GB, free: 70.97 MB / 426.7 MB Notification: Performance of SimCode: time 1.752e-06/1.854, allocations: 0 / 0.6984 GB, free: 70.97 MB / 426.7 MB Notification: Performance of Templates: time 0.1208/1.975, allocations: 49.38 MB / 0.7466 GB, free: 61.33 MB / 426.7 MB