Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpm3.stator.strayReluctance.port_p.Phi.im|smpm3.stator.strayReluctance.port_p.Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.strayReluctance.port_p.Phi.im|smpmM.stator.strayReluctance.port_p.Phi.re|vfController.x|vfController3.x",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase") Notification: Performance of loadModel(Modelica): time 1.694/1.694, allocations: 194.9 MB / 208 MB, free: 3.234 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.978e-05/2.988e-05, allocations: 4 kB / 255.4 MB, free: 2.691 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09308/0.09313, allocations: 44.5 MB / 299.9 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4319/0.5251, allocations: 111.3 MB / 411.2 MB, free: 13.3 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.5254, allocations: 83.39 kB / 411.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8605/1.386, allocations: 169.1 MB / 0.5668 GB, free: 49.44 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.18e-06/1.386, allocations: 4 kB / 0.5668 GB, free: 49.44 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004824/1.386, allocations: 169.2 kB / 0.5669 GB, free: 49.41 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: 1927 * Number of variables: 1927 Notification: Performance of Generate backend data structure: time 0.02181/1.408, allocations: 6.662 MB / 0.5735 GB, free: 46.99 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/1.408, allocations: 15.53 kB / 0.5735 GB, free: 46.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0126/1.421, allocations: 1.594 MB / 0.575 GB, free: 46.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01656/1.437, allocations: 5.9 MB / 0.5808 GB, free: 45.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004176/1.438, allocations: 0.5362 MB / 0.5813 GB, free: 45.21 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001658/1.44, allocations: 0.7089 MB / 0.582 GB, free: 44.97 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02053/1.46, allocations: 9.258 MB / 0.591 GB, free: 40.62 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000184/1.46, allocations: 14.81 kB / 0.5911 GB, free: 40.61 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009647/1.461, allocations: 307.3 kB / 0.5913 GB, free: 40.38 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003041/1.462, allocations: 349 kB / 0.5917 GB, free: 40.35 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01804/1.48, allocations: 7.425 MB / 0.5989 GB, free: 37.21 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05569/1.535, allocations: 30.58 MB / 0.6288 GB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01493/1.55, allocations: 15.92 MB / 0.6443 GB, free: 14.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006713/1.557, allocations: 3.038 MB / 0.6473 GB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01885/1.576, allocations: 8.162 MB / 0.6553 GB, free: 3.434 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.659e-05/1.576, allocations: 60.78 kB / 0.6553 GB, free: 3.363 MB / 410.7 MB Notification: Performance of pre-optimization done (n=281): time 6.389e-06/1.576, allocations: 0 / 0.6553 GB, free: 3.363 MB / 410.7 MB Notification: Performance of matching and sorting (n=289): time 0.2628/1.839, allocations: 8.34 MB / 0.6635 GB, free: 62.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/1.839, allocations: 81.41 kB / 0.6636 GB, free: 62.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006883/1.846, allocations: 3.171 MB / 0.6667 GB, free: 61.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004646/1.846, allocations: 74.55 kB / 0.6667 GB, free: 61.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00251/1.849, allocations: 3.173 MB / 0.6698 GB, free: 60.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001096/1.85, allocations: 0.9948 MB / 0.6708 GB, free: 59.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002934/1.85, allocations: 73.91 kB / 0.6709 GB, free: 59.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002644/1.851, allocations: 451.1 kB / 0.6713 GB, free: 59.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003403/1.854, allocations: 1.393 MB / 0.6727 GB, free: 59.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004068/1.858, allocations: 2.494 MB / 0.6751 GB, free: 58.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003929/1.862, allocations: 1.886 MB / 0.6769 GB, free: 58.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-05/1.862, allocations: 13.03 kB / 0.677 GB, free: 58.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=474) (initialization): time 0.01039/1.873, allocations: 4.74 MB / 0.6816 GB, free: 57.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.169e-05/1.873, allocations: 22.25 kB / 0.6816 GB, free: 57.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.254e-05/1.873, allocations: 35.69 kB / 0.6816 GB, free: 57.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/1.874, allocations: 401 kB / 0.682 GB, free: 57.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004658/1.879, allocations: 0.8625 MB / 0.6829 GB, free: 57.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007137/1.886, allocations: 7.315 MB / 0.69 GB, free: 52.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00431/1.89, allocations: 181.5 kB / 0.6902 GB, free: 52.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005046/1.891, allocations: 166.1 kB / 0.6903 GB, free: 52.49 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 160 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (449): * Single equations (assignments): 443 * 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 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 1,(3,77.8%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007677/1.892, allocations: 335.3 kB / 0.6907 GB, free: 52.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009503/1.892, allocations: 403 kB / 0.691 GB, free: 52.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009221/1.902, allocations: 4.334 MB / 0.6953 GB, free: 51.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.556e-05/1.902, allocations: 28.69 kB / 0.6953 GB, free: 51.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.912e-05/1.902, allocations: 11.59 kB / 0.6953 GB, free: 51.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-05/1.902, allocations: 17.8 kB / 0.6953 GB, free: 51.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02342/1.925, allocations: 10.36 MB / 0.7054 GB, free: 50.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.869e-05/1.925, allocations: 3.969 kB / 0.7055 GB, free: 50.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002725/1.928, allocations: 439.8 kB / 0.7059 GB, free: 50.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003041/1.931, allocations: 0.8669 MB / 0.7067 GB, free: 49.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002827/1.931, allocations: 78.73 kB / 0.7068 GB, free: 49.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0193/1.951, allocations: 16.26 MB / 0.7227 GB, free: 36.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.135e-06/1.951, allocations: 5.719 kB / 0.7227 GB, free: 36.99 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01263/1.963, allocations: 6.691 MB / 0.7292 GB, free: 33.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002634/1.966, allocations: 0.8204 MB / 0.73 GB, free: 32.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001147/1.967, allocations: 67.62 kB / 0.7301 GB, free: 32.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002439/1.97, allocations: 158.5 kB / 0.7302 GB, free: 32.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005265/1.97, allocations: 221.6 kB / 0.7304 GB, free: 32.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002593/1.971, allocations: 86.67 kB / 0.7305 GB, free: 32.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004523/1.975, allocations: 2.396 MB / 0.7329 GB, free: 31.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.75e-07/1.975, allocations: 0 / 0.7329 GB, free: 31.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005588/1.981, allocations: 1.278 MB / 0.7341 GB, free: 31.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 14 (vfController3.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpm3.inertiaRotor.w,smpm3.stator.core.Phi.re,smpm3.stator.core.Phi.im,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 212 * 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 {(1,100.0%) 5,(4,93.8%) 33,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 14,(2,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001089/1.982, allocations: 0.7117 MB / 0.7348 GB, free: 31.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007522/1.989, allocations: 4.079 MB / 0.7388 GB, free: 29.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.481e-06/1.989, allocations: 3.25 kB / 0.7388 GB, free: 29.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005397/1.995, allocations: 2.837 MB / 0.7416 GB, free: 27.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005886/2.001, allocations: 1.027 MB / 0.7426 GB, free: 27.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02413/2.025, allocations: 10.26 MB / 0.7526 GB, free: 23.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005659/2.031, allocations: 4.464 MB / 0.7569 GB, free: 21.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004836/2.036, allocations: 0.8886 MB / 0.7578 GB, free: 21.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001091/2.037, allocations: 275.5 kB / 0.7581 GB, free: 21.52 MB / 410.7 MB Notification: Performance of SimCode: time 1.68e-06/2.037, allocations: 0 / 0.7581 GB, free: 21.52 MB / 410.7 MB Notification: Performance of Templates: time 0.4029/2.44, allocations: 60.46 MB / 0.8171 GB, free: 73.05 MB / 426.7 MB