Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase,tolerance=1e-05,outputFormat="mat",numberOfIntervals=6000,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.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase") Notification: Performance of loadModel(Modelica): time 1.669/1.669, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.019e-05/3.004e-05, allocations: 4 kB / 225 MB, free: 2.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2105, allocations: 38.77 MB / 263.8 MB, free: 9.816 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1551/0.3656, allocations: 102.5 MB / 366.2 MB, free: 3.203 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.3659, allocations: 83.95 kB / 366.3 MB, free: 3.121 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.032/1.398, allocations: 160.2 MB / 0.5142 GB, free: 43.69 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.415e-06/1.398, allocations: 0 / 0.5142 GB, free: 43.69 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0007841/1.399, allocations: 178.8 kB / 0.5143 GB, free: 43.67 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1809 * Number of variables: 1809 Notification: Performance of Generate backend data structure: time 0.03519/1.434, allocations: 6.428 MB / 0.5206 GB, free: 41.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/1.434, allocations: 7.5 kB / 0.5206 GB, free: 41.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01068/1.445, allocations: 1.112 MB / 0.5217 GB, free: 41.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02126/1.466, allocations: 4.899 MB / 0.5265 GB, free: 40.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008133/1.467, allocations: 0.5078 MB / 0.527 GB, free: 40.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003397/1.47, allocations: 0.6685 MB / 0.5276 GB, free: 40.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03747/1.508, allocations: 8.612 MB / 0.536 GB, free: 39.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003683/1.508, allocations: 5.156 kB / 0.536 GB, free: 39.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002557/1.511, allocations: 294.7 kB / 0.5363 GB, free: 39.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005138/1.511, allocations: 308.8 kB / 0.5366 GB, free: 39.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02342/1.535, allocations: 6.562 MB / 0.543 GB, free: 39.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05705/1.592, allocations: 27.7 MB / 0.5701 GB, free: 29.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00819/1.6, allocations: 5.347 MB / 0.5753 GB, free: 25.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008006/1.608, allocations: 2.399 MB / 0.5776 GB, free: 24.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002801/1.608, allocations: 34.19 kB / 0.5777 GB, free: 24.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.266e-05/1.609, allocations: 63.73 kB / 0.5777 GB, free: 24.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=268): time 1.228e-05/1.609, allocations: 0 / 0.5777 GB, free: 24.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=320): time 0.04275/1.651, allocations: 10.37 MB / 0.5879 GB, free: 19.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/1.652, allocations: 82.2 kB / 0.5879 GB, free: 19.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009721/1.661, allocations: 3.05 MB / 0.5909 GB, free: 18.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006195/1.662, allocations: 87.09 kB / 0.591 GB, free: 18.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003135/1.665, allocations: 2.995 MB / 0.5939 GB, free: 16.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002016/1.667, allocations: 1.09 MB / 0.595 GB, free: 15.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004959/1.668, allocations: 76 kB / 0.5951 GB, free: 14.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005074/1.668, allocations: 455.2 kB / 0.5955 GB, free: 14.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005744/1.674, allocations: 1.516 MB / 0.597 GB, free: 13.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007667/1.682, allocations: 2.522 MB / 0.5994 GB, free: 10.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007686/1.689, allocations: 2.029 MB / 0.6014 GB, free: 8.625 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.984e-05/1.69, allocations: 12 kB / 0.6014 GB, free: 8.613 MB / 362.7 MB Notification: Performance of matching and sorting (n=481) (initialization): time 0.02221/1.712, allocations: 5.443 MB / 0.6067 GB, free: 3.852 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.201e-05/1.712, allocations: 23.42 kB / 0.6068 GB, free: 3.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.833e-05/1.712, allocations: 32 kB / 0.6068 GB, free: 3.801 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00348/1.715, allocations: 0.9687 MB / 0.6077 GB, free: 2.957 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004421/1.72, allocations: 0.7771 MB / 0.6085 GB, free: 2.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02406/1.744, allocations: 15.13 MB / 0.6233 GB, free: 3.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004182/1.748, allocations: 163.7 kB / 0.6234 GB, free: 3.492 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006938/1.749, allocations: 159.1 kB / 0.6236 GB, free: 3.344 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 144 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (407): * Single equations (assignments): 399 * 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: 6 * 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: 6 {(4,93.8%) 20,(1,100.0%) 1,(1,100.0%) 5,(4,93.8%) 20,(1,100.0%) 1,(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008421/1.75, allocations: 333.5 kB / 0.6239 GB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001068/1.751, allocations: 407 kB / 0.6243 GB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2517/2.002, allocations: 5.056 MB / 0.6292 GB, free: 51.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.106e-05/2.003, allocations: 29.03 kB / 0.6293 GB, free: 51.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.624e-05/2.003, allocations: 17.88 kB / 0.6293 GB, free: 51.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.704e-05/2.003, allocations: 15.14 kB / 0.6293 GB, free: 51.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04668/2.049, allocations: 13.15 MB / 0.6421 GB, free: 50.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-05/2.049, allocations: 6 kB / 0.6421 GB, free: 50.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005187/2.055, allocations: 467 kB / 0.6426 GB, free: 50.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004091/2.059, allocations: 1.105 MB / 0.6437 GB, free: 50.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004048/2.059, allocations: 73.66 kB / 0.6437 GB, free: 50.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02327/2.083, allocations: 18.21 MB / 0.6615 GB, free: 41.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.135e-05/2.083, allocations: 13.17 kB / 0.6615 GB, free: 41.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01382/2.096, allocations: 8.017 MB / 0.6693 GB, free: 39.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002515/2.099, allocations: 0.8368 MB / 0.6702 GB, free: 39.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001018/2.1, allocations: 75.81 kB / 0.6702 GB, free: 39.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002863/2.103, allocations: 149 kB / 0.6704 GB, free: 39.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005932/2.104, allocations: 251.7 kB / 0.6706 GB, free: 39.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002838/2.104, allocations: 96.47 kB / 0.6707 GB, free: 39.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004399/2.108, allocations: 2.319 MB / 0.673 GB, free: 38.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.99e-07/2.108, allocations: 0 / 0.673 GB, free: 38.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006188/2.114, allocations: 1.27 MB / 0.6742 GB, free: 38.85 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 14 (vfController3.x,smpmM.inertiaRotor.w,smpmM.stator.port_n.Phi.re,smpmM.stator.port_n.Phi.im,smpmM.stator.strayReluctance.Phi.re,smpmM.stator.strayReluctance.Phi.im,smpm3.inertiaRotor.w,smpm3.stator.port_n.Phi.re,smpm3.stator.port_n.Phi.im,smpm3.stator.strayReluctance.Phi.re,smpm3.stator.strayReluctance.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 (240): * Single equations (assignments): 233 * 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 {(4,93.8%) 18,(1,100.0%) 4,(4,93.8%) 18,(4,93.8%) 32,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001222/2.116, allocations: 0.666 MB / 0.6749 GB, free: 38.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009872/2.126, allocations: 5.031 MB / 0.6798 GB, free: 37.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/2.126, allocations: 3.344 kB / 0.6798 GB, free: 37.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006906/2.133, allocations: 3.24 MB / 0.6829 GB, free: 36.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006558/2.139, allocations: 1.034 MB / 0.684 GB, free: 36.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02436/2.164, allocations: 10.54 MB / 0.6943 GB, free: 33.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006414/2.17, allocations: 4.451 MB / 0.6986 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003896/2.174, allocations: 0.79 MB / 0.6994 GB, free: 31.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/2.175, allocations: 261.6 kB / 0.6996 GB, free: 31.59 MB / 378.7 MB Notification: Performance of SimCode: time 2.018e-06/2.175, allocations: 3.875 kB / 0.6996 GB, free: 31.59 MB / 378.7 MB Notification: Performance of Templates: time 0.1469/2.322, allocations: 64 MB / 0.7621 GB, free: 13.34 MB / 394.7 MB