Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.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.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_Inverter") Notification: Performance of loadModel(Modelica): time 1.915/1.915, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.053e-05/3.063e-05, allocations: 4 kB / 292.2 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1295, allocations: 50.4 MB / 342.6 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4496/0.5792, allocations: 126.4 MB / 468.9 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/0.5795, allocations: 92.75 kB / 469 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7094/1.289, allocations: 116.3 MB / 0.5716 GB, free: 96.78 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.867e-06/1.289, allocations: 0 / 0.5716 GB, free: 96.78 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003479/1.289, allocations: 136.2 kB / 0.5717 GB, free: 96.75 MB / 442.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.01263/1.302, allocations: 4.892 MB / 0.5765 GB, free: 94.89 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/1.302, allocations: 10.94 kB / 0.5765 GB, free: 94.89 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00531/1.307, allocations: 0.9524 MB / 0.5774 GB, free: 94.58 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01166/1.319, allocations: 4.41 MB / 0.5817 GB, free: 93.79 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003243/1.319, allocations: 383.6 kB / 0.5821 GB, free: 93.77 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001096/1.32, allocations: 0.5141 MB / 0.5826 GB, free: 93.61 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01334/1.334, allocations: 6.487 MB / 0.5889 GB, free: 90.54 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001562/1.334, allocations: 11.34 kB / 0.589 GB, free: 90.54 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006833/1.335, allocations: 216.8 kB / 0.5892 GB, free: 90.38 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002161/1.335, allocations: 236.4 kB / 0.5894 GB, free: 90.35 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0115/1.346, allocations: 5.172 MB / 0.5944 GB, free: 88.23 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03789/1.384, allocations: 21.13 MB / 0.6151 GB, free: 74.12 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007781/1.392, allocations: 8.455 MB / 0.6233 GB, free: 65.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003558/1.396, allocations: 2.007 MB / 0.6253 GB, free: 63.23 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01219/1.408, allocations: 6.012 MB / 0.6312 GB, free: 57.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/1.408, allocations: 52.56 kB / 0.6312 GB, free: 57.24 MB / 442.7 MB Notification: Performance of pre-optimization done (n=208): time 5.367e-06/1.408, allocations: 4 kB / 0.6312 GB, free: 57.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=232): time 0.02259/1.431, allocations: 9.301 MB / 0.6403 GB, free: 47.87 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/1.431, allocations: 73.41 kB / 0.6404 GB, free: 47.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004641/1.435, allocations: 2.5 MB / 0.6428 GB, free: 45.28 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003757/1.436, allocations: 65.7 kB / 0.6429 GB, free: 45.21 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001443/1.437, allocations: 2.351 MB / 0.6452 GB, free: 42.84 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007904/1.438, allocations: 0.7927 MB / 0.6459 GB, free: 42.05 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/1.438, allocations: 60 kB / 0.646 GB, free: 42 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001773/1.439, allocations: 428.1 kB / 0.6464 GB, free: 41.57 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002375/1.441, allocations: 1.248 MB / 0.6476 GB, free: 40.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002903/1.444, allocations: 2.107 MB / 0.6497 GB, free: 37.82 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002949/1.447, allocations: 1.63 MB / 0.6513 GB, free: 36.17 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.778e-05/1.447, allocations: 8 kB / 0.6513 GB, free: 36.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=379) (initialization): time 0.008919/1.456, allocations: 4.398 MB / 0.6556 GB, free: 31.67 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.26e-05/1.456, allocations: 23.98 kB / 0.6556 GB, free: 31.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.612e-05/1.456, allocations: 27.95 kB / 0.6556 GB, free: 31.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002202/1.458, allocations: 0.7224 MB / 0.6563 GB, free: 30.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00338/1.462, allocations: 0.6864 MB / 0.657 GB, free: 30.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/1.472, allocations: 9.375 MB / 0.6662 GB, free: 20.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003261/1.475, allocations: 191.7 kB / 0.6663 GB, free: 20.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003494/1.476, allocations: 132 kB / 0.6665 GB, free: 19.97 MB / 442.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,75.0%) 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.0005777/1.476, allocations: 284 kB / 0.6667 GB, free: 19.69 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006392/1.477, allocations: 316.2 kB / 0.667 GB, free: 19.38 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00791/1.485, allocations: 4.003 MB / 0.6709 GB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.972e-05/1.485, allocations: 24 kB / 0.671 GB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.809e-05/1.485, allocations: 11.98 kB / 0.671 GB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.674e-05/1.485, allocations: 11.97 kB / 0.671 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01639/1.501, allocations: 8.642 MB / 0.6794 GB, free: 6.492 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/1.501, allocations: 8.359 kB / 0.6794 GB, free: 6.484 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002162/1.504, allocations: 379.6 kB / 0.6798 GB, free: 6.113 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003186/1.507, allocations: 0.9383 MB / 0.6807 GB, free: 5.156 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002402/1.507, allocations: 63.97 kB / 0.6808 GB, free: 5.094 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2813/1.788, allocations: 15.47 MB / 0.6959 GB, free: 81.88 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.607e-06/1.788, allocations: 5.219 kB / 0.6959 GB, free: 81.88 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01238/1.801, allocations: 5.907 MB / 0.7017 GB, free: 80.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002028/1.803, allocations: 0.6694 MB / 0.7023 GB, free: 80.86 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006159/1.804, allocations: 52 kB / 0.7024 GB, free: 80.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002106/1.806, allocations: 152 kB / 0.7025 GB, free: 80.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005567/1.806, allocations: 180.2 kB / 0.7027 GB, free: 80.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002496/1.807, allocations: 68.92 kB / 0.7028 GB, free: 80.86 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004383/1.811, allocations: 1.885 MB / 0.7046 GB, free: 80.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.028e-06/1.811, allocations: 0.5469 kB / 0.7046 GB, free: 80.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004967/1.816, allocations: 1.012 MB / 0.7056 GB, free: 80.7 MB / 442.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,72.2%) 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.00111/1.817, allocations: 0.5542 MB / 0.7061 GB, free: 80.56 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007338/1.824, allocations: 3.863 MB / 0.7099 GB, free: 79.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/1.824, allocations: 0 / 0.7099 GB, free: 79.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004985/1.829, allocations: 2.606 MB / 0.7124 GB, free: 79.12 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004812/1.834, allocations: 0.7812 MB / 0.7132 GB, free: 79.11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/1.851, allocations: 7.826 MB / 0.7208 GB, free: 77.17 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003823/1.855, allocations: 3.411 MB / 0.7242 GB, free: 76.32 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003351/1.858, allocations: 0.7422 MB / 0.7249 GB, free: 76.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008292/1.859, allocations: 218.2 kB / 0.7251 GB, free: 76.23 MB / 442.7 MB Notification: Performance of SimCode: time 1.835e-06/1.859, allocations: 2.281 kB / 0.7251 GB, free: 76.23 MB / 442.7 MB Notification: Performance of Templates: time 0.1172/1.976, allocations: 49.49 MB / 0.7734 GB, free: 60.7 MB / 442.7 MB