Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smpm3.is.1.|smpm3.is.2.|smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.is.1.|smpmM.is.2.|smpmM.is.3.|smpmM.is.4.|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x|vfController3.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase") Notification: Performance of loadModel(Modelica): time 1.963/1.963, allocations: 225.8 MB / 239.4 MB, free: 1.242 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.308e-05/4.328e-05, allocations: 4 kB / 292.7 MB, free: 11.44 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1272, allocations: 50.42 MB / 343.1 MB, free: 9.023 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5305/0.6578, allocations: 119.5 MB / 462.6 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/0.6581, allocations: 110.4 kB / 462.7 MB, free: 2.871 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8194/1.478, allocations: 169.8 MB / 0.6177 GB, free: 71.12 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.54e-06/1.478, allocations: 0 / 0.6177 GB, free: 71.12 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005089/1.478, allocations: 173.6 kB / 0.6178 GB, free: 71.09 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.02156/1.5, allocations: 6.706 MB / 0.6244 GB, free: 68.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/1.5, allocations: 11.72 kB / 0.6244 GB, free: 68.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01289/1.513, allocations: 1.597 MB / 0.626 GB, free: 68.24 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01736/1.53, allocations: 5.965 MB / 0.6318 GB, free: 66.69 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000523/1.531, allocations: 0.5317 MB / 0.6323 GB, free: 66.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002121/1.533, allocations: 0.7159 MB / 0.633 GB, free: 66.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02305/1.556, allocations: 9.268 MB / 0.6421 GB, free: 61.85 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002045/1.556, allocations: 7.562 kB / 0.6421 GB, free: 61.85 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001016/1.557, allocations: 313.9 kB / 0.6424 GB, free: 61.61 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003104/1.557, allocations: 346 kB / 0.6427 GB, free: 61.58 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02071/1.578, allocations: 7.449 MB / 0.65 GB, free: 58.43 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05702/1.635, allocations: 30.64 MB / 0.6799 GB, free: 33.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01452/1.65, allocations: 15.97 MB / 0.6955 GB, free: 15.91 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00582/1.656, allocations: 3.063 MB / 0.6985 GB, free: 12.85 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01622/1.672, allocations: 8.263 MB / 0.7065 GB, free: 4.531 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/1.672, allocations: 68.77 kB / 0.7066 GB, free: 4.453 MB / 442.7 MB Notification: Performance of pre-optimization done (n=286): time 6.54e-06/1.672, allocations: 0 / 0.7066 GB, free: 4.453 MB / 442.7 MB Notification: Performance of matching and sorting (n=294): time 0.01898/1.691, allocations: 8.446 MB / 0.7149 GB, free: 11.84 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.752e-05/1.691, allocations: 85.67 kB / 0.7149 GB, free: 11.74 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007768/1.699, allocations: 3.188 MB / 0.7181 GB, free: 8.578 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005593/1.7, allocations: 77.7 kB / 0.7181 GB, free: 8.496 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003381/1.703, allocations: 3.185 MB / 0.7212 GB, free: 5.285 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001456/1.704, allocations: 1.007 MB / 0.7222 GB, free: 4.289 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003058/1.705, allocations: 79.94 kB / 0.7223 GB, free: 4.211 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003726/1.705, allocations: 453.9 kB / 0.7227 GB, free: 3.762 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003375/1.709, allocations: 1.413 MB / 0.7241 GB, free: 2.348 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2852/1.994, allocations: 2.497 MB / 0.7266 GB, free: 79.26 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004742/1.998, allocations: 1.908 MB / 0.7284 GB, free: 79.21 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.362e-05/1.999, allocations: 13.06 kB / 0.7284 GB, free: 79.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=477) (initialization): time 0.01073/2.009, allocations: 4.775 MB / 0.7331 GB, free: 78.95 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.81e-05/2.009, allocations: 19.75 kB / 0.7331 GB, free: 78.95 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.736e-05/2.009, allocations: 38.09 kB / 0.7331 GB, free: 78.95 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/2.011, allocations: 408.7 kB / 0.7335 GB, free: 78.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004576/2.015, allocations: 0.8693 MB / 0.7344 GB, free: 78.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007466/2.023, allocations: 7.323 MB / 0.7415 GB, free: 73.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00412/2.027, allocations: 179.7 kB / 0.7417 GB, free: 73.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005977/2.028, allocations: 162.6 kB / 0.7419 GB, free: 73.77 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 158 * 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,77.8%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001153/2.029, allocations: 337.5 kB / 0.7422 GB, free: 73.66 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001539/2.03, allocations: 405.3 kB / 0.7426 GB, free: 73.66 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0127/2.043, allocations: 4.403 MB / 0.7469 GB, free: 73.21 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.089e-05/2.043, allocations: 32.12 kB / 0.7469 GB, free: 73.21 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.472e-05/2.043, allocations: 16.14 kB / 0.7469 GB, free: 73.21 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.532e-05/2.043, allocations: 15.66 kB / 0.7469 GB, free: 73.21 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02173/2.065, allocations: 10.42 MB / 0.7571 GB, free: 72.31 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/2.065, allocations: 7.062 kB / 0.7571 GB, free: 72.31 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002547/2.068, allocations: 453.8 kB / 0.7575 GB, free: 72.31 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002972/2.071, allocations: 0.8862 MB / 0.7584 GB, free: 72.25 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003212/2.071, allocations: 78.06 kB / 0.7585 GB, free: 72.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01971/2.091, allocations: 16.27 MB / 0.7744 GB, free: 63.13 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.679e-06/2.091, allocations: 6.469 kB / 0.7744 GB, free: 63.13 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0126/2.103, allocations: 6.725 MB / 0.7809 GB, free: 60.15 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002342/2.106, allocations: 0.8143 MB / 0.7817 GB, free: 59.61 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009638/2.107, allocations: 70.22 kB / 0.7818 GB, free: 59.56 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002571/2.109, allocations: 153.8 kB / 0.782 GB, free: 59.52 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005485/2.11, allocations: 223.5 kB / 0.7822 GB, free: 59.49 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002704/2.11, allocations: 89.2 kB / 0.7823 GB, free: 59.47 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004755/2.115, allocations: 2.411 MB / 0.7846 GB, free: 58.53 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.77e-07/2.115, allocations: 0 / 0.7846 GB, free: 58.53 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005694/2.121, allocations: 1.279 MB / 0.7859 GB, free: 58.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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.001227/2.122, allocations: 0.7551 MB / 0.7866 GB, free: 58.17 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007837/2.13, allocations: 4.13 MB / 0.7906 GB, free: 56.29 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.541e-06/2.13, allocations: 3.812 kB / 0.7906 GB, free: 56.29 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005135/2.135, allocations: 2.85 MB / 0.7934 GB, free: 54.67 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005351/2.14, allocations: 1.031 MB / 0.7944 GB, free: 54.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02314/2.164, allocations: 10.27 MB / 0.8044 GB, free: 49.99 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006157/2.17, allocations: 4.474 MB / 0.8088 GB, free: 48.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007473/2.177, allocations: 0.8949 MB / 0.8097 GB, free: 48.29 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002033/2.179, allocations: 279.1 kB / 0.81 GB, free: 48.26 MB / 458.7 MB Notification: Performance of SimCode: time 2.203e-06/2.179, allocations: 0 / 0.81 GB, free: 48.26 MB / 458.7 MB Notification: Performance of Templates: time 0.1725/2.352, allocations: 60.97 MB / 0.8695 GB, free: 14.23 MB / 458.7 MB