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.is.1.|smpm3.is.2.|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.is.1.|smpmM.is.2.|smpmM.is.3.|smpmM.is.4.|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.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter_MultiPhase") Notification: Performance of loadModel(Modelica): time 1.897/1.897, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.334e-05/4.348e-05, allocations: 4 kB / 269.4 MB, free: 6.391 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1216, allocations: 47.57 MB / 316.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3892/0.5108, allocations: 117.1 MB / 434.1 MB, free: 3.629 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.5112, allocations: 85.95 kB / 434.2 MB, free: 3.586 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8142/1.325, allocations: 169.3 MB / 0.5893 GB, free: 77.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.323e-06/1.325, allocations: 3.938 kB / 0.5893 GB, free: 77.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005818/1.326, allocations: 177.2 kB / 0.5895 GB, free: 77.76 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.02315/1.349, allocations: 6.681 MB / 0.596 GB, free: 74.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/1.349, allocations: 7.344 kB / 0.596 GB, free: 74.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01177/1.361, allocations: 1.607 MB / 0.5976 GB, free: 74.17 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0176/1.379, allocations: 5.941 MB / 0.6034 GB, free: 70.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004897/1.379, allocations: 0.534 MB / 0.6039 GB, free: 70.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001916/1.381, allocations: 0.7143 MB / 0.6046 GB, free: 69.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02103/1.402, allocations: 9.284 MB / 0.6137 GB, free: 60.17 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001996/1.402, allocations: 11.89 kB / 0.6137 GB, free: 60.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001032/1.403, allocations: 307.1 kB / 0.614 GB, free: 59.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003017/1.404, allocations: 342.6 kB / 0.6143 GB, free: 59.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01818/1.422, allocations: 7.456 MB / 0.6216 GB, free: 52.06 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06106/1.483, allocations: 30.65 MB / 0.6515 GB, free: 20.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01483/1.498, allocations: 15.97 MB / 0.6671 GB, free: 3.266 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0057/1.504, allocations: 3.058 MB / 0.6701 GB, free: 200 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2979/1.802, allocations: 8.165 MB / 0.6781 GB, free: 72.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.097e-05/1.802, allocations: 66.64 kB / 0.6782 GB, free: 72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=284): time 7.805e-06/1.802, allocations: 3.219 kB / 0.6782 GB, free: 72 MB / 426.7 MB Notification: Performance of matching and sorting (n=292): time 0.0202/1.822, allocations: 8.402 MB / 0.6864 GB, free: 70.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/1.822, allocations: 81.92 kB / 0.6864 GB, free: 70.47 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007149/1.829, allocations: 3.193 MB / 0.6896 GB, free: 70.22 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005192/1.83, allocations: 74.36 kB / 0.6896 GB, free: 70.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002215/1.832, allocations: 3.192 MB / 0.6927 GB, free: 68.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00103/1.833, allocations: 1 MB / 0.6937 GB, free: 68.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003065/1.833, allocations: 75.98 kB / 0.6938 GB, free: 68.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000231/1.834, allocations: 455.3 kB / 0.6942 GB, free: 67.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00307/1.837, allocations: 1.407 MB / 0.6956 GB, free: 67.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003683/1.84, allocations: 2.506 MB / 0.698 GB, free: 66.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004006/1.844, allocations: 1.89 MB / 0.6999 GB, free: 66.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.969e-05/1.845, allocations: 9.75 kB / 0.6999 GB, free: 66.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=477) (initialization): time 0.01077/1.855, allocations: 4.762 MB / 0.7046 GB, free: 65.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.856e-05/1.855, allocations: 23.97 kB / 0.7046 GB, free: 65.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.864e-05/1.855, allocations: 37.62 kB / 0.7046 GB, free: 65.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001257/1.857, allocations: 409.8 kB / 0.705 GB, free: 65.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004845/1.862, allocations: 0.8762 MB / 0.7059 GB, free: 65.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007213/1.869, allocations: 7.322 MB / 0.713 GB, free: 60.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004127/1.873, allocations: 187.7 kB / 0.7132 GB, free: 60.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006037/1.874, allocations: 159.2 kB / 0.7133 GB, free: 60.7 MB / 426.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 (452): * Single equations (assignments): 446 * 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,88.9%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008393/1.874, allocations: 339.4 kB / 0.7137 GB, free: 60.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001024/1.876, allocations: 401.9 kB / 0.714 GB, free: 60.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009773/1.885, allocations: 4.362 MB / 0.7183 GB, free: 59.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.751e-05/1.885, allocations: 32.95 kB / 0.7183 GB, free: 59.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.107e-05/1.885, allocations: 12.69 kB / 0.7184 GB, free: 59.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-05/1.885, allocations: 18 kB / 0.7184 GB, free: 59.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02277/1.908, allocations: 10.4 MB / 0.7285 GB, free: 54.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.741e-05/1.908, allocations: 3.75 kB / 0.7285 GB, free: 54.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002588/1.911, allocations: 454.1 kB / 0.729 GB, free: 54.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002801/1.914, allocations: 0.8772 MB / 0.7298 GB, free: 54.58 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000322/1.914, allocations: 73.69 kB / 0.7299 GB, free: 54.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01983/1.934, allocations: 16.26 MB / 0.7458 GB, free: 41.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.109e-06/1.934, allocations: 9.875 kB / 0.7458 GB, free: 41.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01296/1.947, allocations: 6.748 MB / 0.7524 GB, free: 38.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002513/1.95, allocations: 0.8169 MB / 0.7532 GB, free: 37.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007521/1.95, allocations: 64.66 kB / 0.7532 GB, free: 37.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002449/1.953, allocations: 163.8 kB / 0.7534 GB, free: 37.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005391/1.953, allocations: 217.3 kB / 0.7536 GB, free: 37.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002828/1.954, allocations: 87.59 kB / 0.7537 GB, free: 37.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004795/1.958, allocations: 2.417 MB / 0.756 GB, free: 36.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.65e-07/1.958, allocations: 0 / 0.756 GB, free: 36.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006149/1.965, allocations: 1.274 MB / 0.7573 GB, free: 36.32 MB / 426.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 (222): * Single equations (assignments): 215 * 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.001178/1.966, allocations: 0.7215 MB / 0.758 GB, free: 36.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0078/1.974, allocations: 4.115 MB / 0.762 GB, free: 34.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.245e-06/1.974, allocations: 3.844 kB / 0.762 GB, free: 34.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005772/1.979, allocations: 2.851 MB / 0.7648 GB, free: 32.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006523/1.986, allocations: 1.032 MB / 0.7658 GB, free: 32.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02419/2.01, allocations: 10.3 MB / 0.7758 GB, free: 23.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006765/2.017, allocations: 4.467 MB / 0.7802 GB, free: 20.16 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004672/2.022, allocations: 0.8988 MB / 0.7811 GB, free: 19.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/2.023, allocations: 276.7 kB / 0.7813 GB, free: 19.28 MB / 426.7 MB Notification: Performance of SimCode: time 2.149e-06/2.023, allocations: 0 / 0.7813 GB, free: 19.28 MB / 426.7 MB Notification: Performance of Templates: time 0.1558/2.179, allocations: 60.8 MB / 0.8407 GB, free: 3.473 MB / 458.7 MB