Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smr3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smr3.stator.strayReluctance.port_p.Phi.im|smr3.stator.strayReluctance.port_p.Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smrM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smrM.stator.strayReluctance.port_p.Phi.im|smrM.stator.strayReluctance.port_p.Phi.re|vfController3.x|vfControllerM.x",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") Notification: Performance of loadModel(Modelica): time 1.84/1.84, allocations: 194.9 MB / 208 MB, free: 3.27 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.53e-05/4.543e-05, allocations: 11.98 kB / 255.4 MB, free: 2.727 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1033, allocations: 44.5 MB / 299.9 MB, free: 6.16 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3661/0.4694, allocations: 107.8 MB / 407.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/0.4697, allocations: 86.53 kB / 407.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7527/1.222, allocations: 159.2 MB / 0.5538 GB, free: 48.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.242e-06/1.222, allocations: 7.406 kB / 0.5538 GB, free: 48.78 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000533/1.223, allocations: 171.2 kB / 0.5539 GB, free: 48.76 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1849 * Number of variables: 1849 Notification: Performance of Generate backend data structure: time 0.02145/1.244, allocations: 6.398 MB / 0.5602 GB, free: 46.45 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/1.245, allocations: 10.97 kB / 0.5602 GB, free: 46.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01613/1.261, allocations: 1.514 MB / 0.5617 GB, free: 46.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01993/1.281, allocations: 5.695 MB / 0.5672 GB, free: 45.17 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007383/1.281, allocations: 0.5114 MB / 0.5677 GB, free: 45.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003211/1.285, allocations: 0.6845 MB / 0.5684 GB, free: 45.15 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02703/1.312, allocations: 8.94 MB / 0.5771 GB, free: 43.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000188/1.312, allocations: 15.59 kB / 0.5771 GB, free: 43.9 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009496/1.313, allocations: 294.2 kB / 0.5774 GB, free: 43.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003085/1.313, allocations: 318.8 kB / 0.5777 GB, free: 43.65 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01893/1.332, allocations: 7.223 MB / 0.5848 GB, free: 40.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09156/1.424, allocations: 28.78 MB / 0.6129 GB, free: 25.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02471/1.449, allocations: 16.33 MB / 0.6288 GB, free: 8.836 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009621/1.458, allocations: 2.854 MB / 0.6316 GB, free: 6.203 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03298/1.491, allocations: 7.751 MB / 0.6392 GB, free: 0 / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/1.491, allocations: 64.89 kB / 0.6392 GB, free: 15.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=251): time 1.022e-05/1.492, allocations: 3.938 kB / 0.6392 GB, free: 15.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=257): time 0.03501/1.527, allocations: 7.694 MB / 0.6468 GB, free: 8.746 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/1.527, allocations: 77.44 kB / 0.6468 GB, free: 8.656 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008383/1.535, allocations: 2.902 MB / 0.6497 GB, free: 6.039 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000481/1.536, allocations: 69.7 kB / 0.6497 GB, free: 5.965 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003023/1.539, allocations: 3.03 MB / 0.6527 GB, free: 3.266 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001264/1.54, allocations: 0.8843 MB / 0.6535 GB, free: 2.473 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002793/1.54, allocations: 68 kB / 0.6536 GB, free: 2.406 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003571/1.541, allocations: 441.2 kB / 0.654 GB, free: 2.008 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002944/1.544, allocations: 1.291 MB / 0.6553 GB, free: 0.8125 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2511/1.795, allocations: 2.422 MB / 0.6577 GB, free: 61.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003853/1.799, allocations: 1.745 MB / 0.6594 GB, free: 61.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.919e-05/1.799, allocations: 11.08 kB / 0.6594 GB, free: 61.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=428) (initialization): time 0.01028/1.809, allocations: 4.379 MB / 0.6637 GB, free: 61.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.891e-05/1.809, allocations: 19.03 kB / 0.6637 GB, free: 61.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-05/1.809, allocations: 35.31 kB / 0.6637 GB, free: 61.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/1.811, allocations: 396.1 kB / 0.6641 GB, free: 61.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004237/1.815, allocations: 0.7816 MB / 0.6648 GB, free: 61.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007666/1.822, allocations: 7.311 MB / 0.672 GB, free: 56.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003768/1.826, allocations: 159.3 kB / 0.6721 GB, free: 56.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004095/1.827, allocations: 146.8 kB / 0.6723 GB, free: 56.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 146 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (403): * Single equations (assignments): 397 * 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.0006819/1.827, allocations: 316.3 kB / 0.6726 GB, free: 56.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007313/1.828, allocations: 363.9 kB / 0.6729 GB, free: 56.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008798/1.837, allocations: 4.016 MB / 0.6768 GB, free: 55.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.209e-05/1.837, allocations: 25.69 kB / 0.6769 GB, free: 55.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.029e-05/1.837, allocations: 14.22 kB / 0.6769 GB, free: 55.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.088e-05/1.837, allocations: 10.27 kB / 0.6769 GB, free: 55.72 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02033/1.857, allocations: 9.606 MB / 0.6863 GB, free: 54.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/1.858, allocations: 2.906 kB / 0.6863 GB, free: 54.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002533/1.86, allocations: 397.2 kB / 0.6867 GB, free: 54.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003049/1.863, allocations: 0.8487 MB / 0.6875 GB, free: 54.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003324/1.864, allocations: 70.16 kB / 0.6876 GB, free: 54.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01931/1.883, allocations: 15.99 MB / 0.7032 GB, free: 45.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.883, allocations: 9.844 kB / 0.7032 GB, free: 45.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01134/1.894, allocations: 6.055 MB / 0.7091 GB, free: 44.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002315/1.897, allocations: 0.7389 MB / 0.7098 GB, free: 43.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008521/1.897, allocations: 66.73 kB / 0.7099 GB, free: 43.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002294/1.9, allocations: 144.4 kB / 0.71 GB, free: 43.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005105/1.9, allocations: 204.3 kB / 0.7102 GB, free: 43.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002562/1.901, allocations: 75.39 kB / 0.7103 GB, free: 43.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004352/1.905, allocations: 2.197 MB / 0.7124 GB, free: 42.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.009e-06/1.905, allocations: 0 / 0.7124 GB, free: 42.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005485/1.91, allocations: 1.182 MB / 0.7136 GB, free: 42.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (191): * Single equations (assignments): 184 * 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.001049/1.912, allocations: 0.6215 MB / 0.7142 GB, free: 42.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006793/1.918, allocations: 3.792 MB / 0.7179 GB, free: 40.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.813e-06/1.918, allocations: 0 / 0.7179 GB, free: 40.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004747/1.923, allocations: 2.665 MB / 0.7205 GB, free: 39.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00502/1.928, allocations: 0.9103 MB / 0.7214 GB, free: 38.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02302/1.951, allocations: 9.848 MB / 0.731 GB, free: 34.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006069/1.957, allocations: 4.327 MB / 0.7352 GB, free: 33.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004359/1.962, allocations: 0.8285 MB / 0.736 GB, free: 33.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/1.963, allocations: 245.7 kB / 0.7363 GB, free: 33.06 MB / 410.7 MB Notification: Performance of SimCode: time 1.796e-06/1.963, allocations: 0 / 0.7363 GB, free: 33.06 MB / 410.7 MB Notification: Performance of Templates: time 0.1332/2.096, allocations: 54.87 MB / 0.7898 GB, free: 5.57 MB / 410.7 MB