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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMPM_Inverter_Polyphase") Notification: Performance of loadModel(Modelica): time 1.871/1.871, allocations: 225.8 MB / 238.9 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.729e-05/2.732e-05, allocations: 4 kB / 292.2 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1149, allocations: 50.41 MB / 342.6 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4519/0.5668, allocations: 119.7 MB / 462.3 MB, free: 7.152 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/0.5671, allocations: 100.6 kB / 462.4 MB, free: 7.098 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8548/1.422, allocations: 169.8 MB / 0.6174 GB, free: 73.96 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.378e-06/1.422, allocations: 0 / 0.6174 GB, free: 73.96 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005284/1.423, allocations: 179.7 kB / 0.6176 GB, free: 73.79 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.02258/1.445, allocations: 6.707 MB / 0.6241 GB, free: 67 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/1.445, allocations: 8.031 kB / 0.6241 GB, free: 66.99 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/1.456, allocations: 1.603 MB / 0.6257 GB, free: 65.38 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01623/1.473, allocations: 5.944 MB / 0.6315 GB, free: 59.36 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005127/1.473, allocations: 0.5455 MB / 0.632 GB, free: 58.81 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002144/1.475, allocations: 0.7068 MB / 0.6327 GB, free: 58.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02169/1.497, allocations: 9.267 MB / 0.6418 GB, free: 48.62 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001979/1.497, allocations: 11.84 kB / 0.6418 GB, free: 48.61 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001034/1.498, allocations: 308 kB / 0.6421 GB, free: 48.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003213/1.499, allocations: 342.7 kB / 0.6424 GB, free: 47.97 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01901/1.518, allocations: 7.46 MB / 0.6497 GB, free: 40.5 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06081/1.579, allocations: 30.63 MB / 0.6796 GB, free: 9.148 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.29/1.869, allocations: 15.99 MB / 0.6952 GB, free: 56.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007253/1.876, allocations: 3.057 MB / 0.6982 GB, free: 56.77 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02708/1.903, allocations: 8.251 MB / 0.7063 GB, free: 55.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.465e-05/1.903, allocations: 74.45 kB / 0.7063 GB, free: 55.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=286): time 1.249e-05/1.903, allocations: 0 / 0.7063 GB, free: 55.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=294): time 0.03252/1.936, allocations: 8.447 MB / 0.7146 GB, free: 54.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.42e-05/1.936, allocations: 86.22 kB / 0.7147 GB, free: 54.29 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009863/1.946, allocations: 3.193 MB / 0.7178 GB, free: 54.04 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006144/1.946, allocations: 79.67 kB / 0.7179 GB, free: 54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003246/1.95, allocations: 3.178 MB / 0.721 GB, free: 52.63 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001531/1.951, allocations: 1.014 MB / 0.722 GB, free: 51.98 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004493/1.952, allocations: 75.12 kB / 0.722 GB, free: 51.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003436/1.952, allocations: 450.5 kB / 0.7225 GB, free: 51.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005232/1.957, allocations: 1.414 MB / 0.7238 GB, free: 51.67 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006261/1.964, allocations: 2.5 MB / 0.7263 GB, free: 50.39 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006238/1.97, allocations: 1.911 MB / 0.7281 GB, free: 50.33 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.087e-05/1.97, allocations: 7.438 kB / 0.7282 GB, free: 50.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=477) (initialization): time 0.01044/1.981, allocations: 4.787 MB / 0.7328 GB, free: 49.85 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.4e-05/1.981, allocations: 21.59 kB / 0.7329 GB, free: 49.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.422e-05/1.981, allocations: 35.06 kB / 0.7329 GB, free: 49.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/1.982, allocations: 399.3 kB / 0.7333 GB, free: 49.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004232/1.986, allocations: 0.8654 MB / 0.7341 GB, free: 49.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006951/1.993, allocations: 7.336 MB / 0.7413 GB, free: 44.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004063/1.997, allocations: 188.1 kB / 0.7415 GB, free: 44.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004509/1.998, allocations: 160.6 kB / 0.7416 GB, free: 44.61 MB / 442.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.0007219/1.998, allocations: 330.3 kB / 0.7419 GB, free: 44.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008052/1.999, allocations: 397.9 kB / 0.7423 GB, free: 44.28 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009423/2.009, allocations: 4.403 MB / 0.7466 GB, free: 43.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.626e-05/2.009, allocations: 30.69 kB / 0.7466 GB, free: 43.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.111e-05/2.009, allocations: 15.92 kB / 0.7466 GB, free: 43.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.501e-05/2.009, allocations: 15.05 kB / 0.7467 GB, free: 43.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02312/2.032, allocations: 10.43 MB / 0.7568 GB, free: 39.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-05/2.032, allocations: 2.906 kB / 0.7569 GB, free: 39.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003929/2.036, allocations: 458.8 kB / 0.7573 GB, free: 39.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00493/2.041, allocations: 0.8781 MB / 0.7581 GB, free: 39.06 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006556/2.042, allocations: 74.59 kB / 0.7582 GB, free: 39.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02552/2.067, allocations: 16.28 MB / 0.7741 GB, free: 26.13 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.507e-06/2.067, allocations: 8.031 kB / 0.7741 GB, free: 26.13 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01248/2.08, allocations: 6.712 MB / 0.7807 GB, free: 22.63 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002554/2.082, allocations: 0.8224 MB / 0.7815 GB, free: 22.08 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009853/2.083, allocations: 66.75 kB / 0.7815 GB, free: 22.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002775/2.086, allocations: 158.9 kB / 0.7817 GB, free: 22 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005349/2.087, allocations: 216.8 kB / 0.7819 GB, free: 21.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000271/2.087, allocations: 86.25 kB / 0.782 GB, free: 21.94 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004808/2.092, allocations: 2.409 MB / 0.7843 GB, free: 21 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.5e-07/2.092, allocations: 2.812 kB / 0.7843 GB, free: 21 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005807/2.098, allocations: 1.279 MB / 0.7856 GB, free: 20.87 MB / 442.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.001207/2.099, allocations: 0.7418 MB / 0.7863 GB, free: 20.58 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007738/2.107, allocations: 4.133 MB / 0.7903 GB, free: 18.69 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.76e-06/2.107, allocations: 3.531 kB / 0.7904 GB, free: 18.69 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005121/2.112, allocations: 2.859 MB / 0.7931 GB, free: 17.09 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006105/2.118, allocations: 1.027 MB / 0.7941 GB, free: 16.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02245/2.14, allocations: 10.26 MB / 0.8042 GB, free: 8.645 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00516/2.146, allocations: 4.467 MB / 0.8085 GB, free: 5.297 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004364/2.15, allocations: 0.8949 MB / 0.8094 GB, free: 4.68 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/2.151, allocations: 276.9 kB / 0.8097 GB, free: 4.422 MB / 442.7 MB Notification: Performance of SimCode: time 2.012e-06/2.151, allocations: 0 / 0.8097 GB, free: 4.422 MB / 442.7 MB Notification: Performance of Templates: time 0.4314/2.582, allocations: 60.97 MB / 0.8692 GB, free: 97.95 MB / 474.7 MB