Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smr3.is.1.|smr3.is.2.|smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.is.1.|smrM.is.2.|smrM.is.3.|smrM.is.4.|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController3.x|vfControllerM.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase") Notification: Performance of loadModel(Modelica): time 1.973/1.973, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.229e-05/3.235e-05, allocations: 7.938 kB / 292.2 MB, free: 8.289 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08863/0.08868, allocations: 50.41 MB / 342.6 MB, free: 5.863 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3988/0.4875, allocations: 115.8 MB / 458.4 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/0.4878, allocations: 103.9 kB / 458.5 MB, free: 10.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7606/1.248, allocations: 159.9 MB / 0.6039 GB, free: 82.73 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.498e-06/1.248, allocations: 4 kB / 0.604 GB, free: 82.73 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004738/1.249, allocations: 172.2 kB / 0.6041 GB, free: 82.69 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: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.01868/1.268, allocations: 6.454 MB / 0.6104 GB, free: 78.68 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/1.268, allocations: 7.812 kB / 0.6104 GB, free: 78.68 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009928/1.278, allocations: 1.522 MB / 0.6119 GB, free: 77.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01494/1.293, allocations: 5.74 MB / 0.6175 GB, free: 72.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003622/1.293, allocations: 0.515 MB / 0.618 GB, free: 72.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001303/1.294, allocations: 0.678 MB / 0.6187 GB, free: 71.67 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01856/1.313, allocations: 8.955 MB / 0.6274 GB, free: 62.52 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001779/1.313, allocations: 7.906 kB / 0.6274 GB, free: 62.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009297/1.314, allocations: 291.1 kB / 0.6277 GB, free: 62.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003004/1.314, allocations: 326.2 kB / 0.628 GB, free: 61.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0176/1.332, allocations: 7.245 MB / 0.6351 GB, free: 54.66 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05241/1.384, allocations: 28.84 MB / 0.6633 GB, free: 25.43 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01398/1.398, allocations: 16.4 MB / 0.6793 GB, free: 7.148 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005275/1.404, allocations: 2.886 MB / 0.6821 GB, free: 4.25 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2868/1.691, allocations: 7.766 MB / 0.6897 GB, free: 76.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.43e-05/1.691, allocations: 64.89 kB / 0.6898 GB, free: 76.16 MB / 442.7 MB Notification: Performance of pre-optimization done (n=256): time 7.286e-06/1.691, allocations: 0 / 0.6898 GB, free: 76.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=262): time 0.01895/1.71, allocations: 7.808 MB / 0.6974 GB, free: 74.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/1.71, allocations: 79.27 kB / 0.6975 GB, free: 74.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00663/1.716, allocations: 2.914 MB / 0.7003 GB, free: 74.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004606/1.717, allocations: 71.83 kB / 0.7004 GB, free: 74.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002347/1.719, allocations: 3.034 MB / 0.7033 GB, free: 73.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001079/1.72, allocations: 0.9068 MB / 0.7042 GB, free: 72.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002621/1.721, allocations: 67.09 kB / 0.7043 GB, free: 72.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002208/1.721, allocations: 443.1 kB / 0.7047 GB, free: 72.35 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00282/1.724, allocations: 1.306 MB / 0.706 GB, free: 72.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003418/1.727, allocations: 2.302 MB / 0.7082 GB, free: 71.17 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003528/1.731, allocations: 1.763 MB / 0.7099 GB, free: 71.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.446e-05/1.731, allocations: 7.781 kB / 0.71 GB, free: 71.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.009595/1.74, allocations: 4.418 MB / 0.7143 GB, free: 70.66 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.379e-05/1.741, allocations: 19.53 kB / 0.7143 GB, free: 70.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-05/1.741, allocations: 31.09 kB / 0.7143 GB, free: 70.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/1.742, allocations: 397.3 kB / 0.7147 GB, free: 70.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003786/1.746, allocations: 0.7841 MB / 0.7155 GB, free: 70.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006904/1.752, allocations: 7.326 MB / 0.7226 GB, free: 65.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003785/1.756, allocations: 172.1 kB / 0.7228 GB, free: 65.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003391/1.757, allocations: 146.4 kB / 0.7229 GB, free: 65.42 MB / 442.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 (406): * Single equations (assignments): 400 * 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.0006713/1.757, allocations: 310.9 kB / 0.7232 GB, free: 65.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000612/1.758, allocations: 369.6 kB / 0.7236 GB, free: 65.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008549/1.767, allocations: 4.077 MB / 0.7275 GB, free: 64.63 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-05/1.767, allocations: 26.34 kB / 0.7276 GB, free: 64.63 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.828e-05/1.767, allocations: 15.84 kB / 0.7276 GB, free: 64.63 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.18e-05/1.767, allocations: 13.31 kB / 0.7276 GB, free: 64.63 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01873/1.785, allocations: 9.683 MB / 0.7371 GB, free: 62.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/1.785, allocations: 3.812 kB / 0.7371 GB, free: 62.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002523/1.788, allocations: 409.6 kB / 0.7375 GB, free: 62.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00279/1.791, allocations: 0.8491 MB / 0.7383 GB, free: 62.36 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003306/1.791, allocations: 66.62 kB / 0.7383 GB, free: 62.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01827/1.809, allocations: 16.02 MB / 0.754 GB, free: 49.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.77e-06/1.809, allocations: 5.031 kB / 0.754 GB, free: 49.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01134/1.821, allocations: 6.078 MB / 0.7599 GB, free: 46.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002193/1.823, allocations: 0.7444 MB / 0.7607 GB, free: 45.99 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006714/1.824, allocations: 62.16 kB / 0.7607 GB, free: 45.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002186/1.826, allocations: 150 kB / 0.7609 GB, free: 45.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004817/1.826, allocations: 196.2 kB / 0.761 GB, free: 45.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002407/1.827, allocations: 76.03 kB / 0.7611 GB, free: 45.86 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004511/1.831, allocations: 2.212 MB / 0.7633 GB, free: 44.99 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.225e-06/1.831, allocations: 0 / 0.7633 GB, free: 44.99 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007888/1.839, allocations: 1.185 MB / 0.7644 GB, free: 44.88 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smr3.inertiaRotor.w,smr3.stator.core.Phi.re,smr3.stator.core.Phi.im,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController3.x,vfControllerM.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (194): * Single equations (assignments): 187 * 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%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00162/1.841, allocations: 0.6639 MB / 0.7651 GB, free: 44.63 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007095/1.848, allocations: 3.84 MB / 0.7688 GB, free: 42.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.758e-06/1.848, allocations: 2.594 kB / 0.7688 GB, free: 42.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005007/1.853, allocations: 2.718 MB / 0.7715 GB, free: 41.31 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004839/1.858, allocations: 0.9104 MB / 0.7724 GB, free: 41.05 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02084/1.879, allocations: 9.825 MB / 0.782 GB, free: 36.12 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004852/1.884, allocations: 4.336 MB / 0.7862 GB, free: 32.88 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003897/1.888, allocations: 0.8333 MB / 0.787 GB, free: 32.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009162/1.889, allocations: 247.3 kB / 0.7873 GB, free: 32.07 MB / 442.7 MB Notification: Performance of SimCode: time 1.599e-06/1.889, allocations: 0 / 0.7873 GB, free: 32.07 MB / 442.7 MB Notification: Performance of Templates: time 0.1815/2.07, allocations: 55.27 MB / 0.8412 GB, free: 7.297 MB / 458.7 MB