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.is.1.|smr3.is.2.|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.is.1.|smrM.is.2.|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.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") Notification: Performance of loadModel(Modelica): time 1.907/1.907, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.228e-05/3.247e-05, allocations: 4 kB / 269.4 MB, free: 6.395 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08422/0.08428, allocations: 47.57 MB / 316.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.441/0.5253, allocations: 113.3 MB / 430.2 MB, free: 7.391 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.5256, allocations: 82.52 kB / 430.3 MB, free: 7.352 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.771/1.297, allocations: 159.4 MB / 0.5758 GB, free: 79.22 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.279e-06/1.297, allocations: 0 / 0.5758 GB, free: 79.22 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005424/1.297, allocations: 172.8 kB / 0.576 GB, free: 79.19 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: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.02235/1.32, allocations: 6.425 MB / 0.5823 GB, free: 76.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/1.32, allocations: 7.875 kB / 0.5823 GB, free: 76.65 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01063/1.33, allocations: 1.516 MB / 0.5837 GB, free: 76.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01586/1.346, allocations: 5.748 MB / 0.5894 GB, free: 73.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000516/1.347, allocations: 0.5131 MB / 0.5899 GB, free: 73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002305/1.349, allocations: 0.6823 MB / 0.5905 GB, free: 72.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02277/1.372, allocations: 8.964 MB / 0.5993 GB, free: 68.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002304/1.372, allocations: 7.594 kB / 0.5993 GB, free: 68.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001544/1.374, allocations: 295.6 kB / 0.5996 GB, free: 68.35 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003/1.374, allocations: 329.5 kB / 0.5999 GB, free: 68.31 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01898/1.393, allocations: 7.243 MB / 0.607 GB, free: 63 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05688/1.45, allocations: 28.86 MB / 0.6351 GB, free: 36.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01433/1.464, allocations: 16.38 MB / 0.6511 GB, free: 17.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005408/1.47, allocations: 2.865 MB / 0.6539 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01561/1.485, allocations: 7.72 MB / 0.6615 GB, free: 7.188 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/1.486, allocations: 76.5 kB / 0.6615 GB, free: 7.105 MB / 426.7 MB Notification: Performance of pre-optimization done (n=254): time 6.115e-06/1.486, allocations: 0 / 0.6615 GB, free: 7.105 MB / 426.7 MB Notification: Performance of matching and sorting (n=260): time 0.2693/1.755, allocations: 7.736 MB / 0.6691 GB, free: 71.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/1.755, allocations: 78.83 kB / 0.6692 GB, free: 71.58 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006298/1.761, allocations: 2.92 MB / 0.672 GB, free: 71.35 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004251/1.762, allocations: 70.8 kB / 0.6721 GB, free: 71.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002259/1.764, allocations: 3.041 MB / 0.6751 GB, free: 70.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009886/1.765, allocations: 0.8976 MB / 0.6759 GB, free: 70.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002628/1.765, allocations: 70.16 kB / 0.676 GB, free: 70.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002658/1.766, allocations: 441.3 kB / 0.6764 GB, free: 70.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002857/1.768, allocations: 1.296 MB / 0.6777 GB, free: 70.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003359/1.772, allocations: 2.3 MB / 0.6799 GB, free: 68.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003645/1.775, allocations: 1.751 MB / 0.6816 GB, free: 68.85 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.06e-05/1.776, allocations: 9.312 kB / 0.6817 GB, free: 68.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.009194/1.785, allocations: 4.405 MB / 0.686 GB, free: 68.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.739e-05/1.785, allocations: 22 kB / 0.686 GB, free: 68.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.515e-05/1.785, allocations: 29.69 kB / 0.686 GB, free: 68.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/1.786, allocations: 396.1 kB / 0.6864 GB, free: 68.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003626/1.79, allocations: 0.7977 MB / 0.6872 GB, free: 68.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006502/1.796, allocations: 7.312 MB / 0.6943 GB, free: 63.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003525/1.8, allocations: 164.5 kB / 0.6945 GB, free: 63.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004567/1.8, allocations: 151 kB / 0.6946 GB, free: 63.14 MB / 426.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 (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.000663/1.801, allocations: 313.2 kB / 0.6949 GB, free: 63.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006914/1.802, allocations: 367.2 kB / 0.6953 GB, free: 62.83 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008135/1.81, allocations: 4.045 MB / 0.6992 GB, free: 62.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-05/1.81, allocations: 24.06 kB / 0.6992 GB, free: 62.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.745e-05/1.81, allocations: 11.25 kB / 0.6992 GB, free: 62.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.37e-05/1.81, allocations: 17.48 kB / 0.6993 GB, free: 62.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02033/1.83, allocations: 9.65 MB / 0.7087 GB, free: 61.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/1.83, allocations: 9.281 kB / 0.7087 GB, free: 61.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002307/1.833, allocations: 405 kB / 0.7091 GB, free: 61.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002703/1.835, allocations: 0.8469 MB / 0.7099 GB, free: 61.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003074/1.836, allocations: 77.59 kB / 0.71 GB, free: 61.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01741/1.853, allocations: 15.97 MB / 0.7256 GB, free: 48.39 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.289e-06/1.853, allocations: 6 kB / 0.7256 GB, free: 48.39 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0107/1.864, allocations: 6.111 MB / 0.7315 GB, free: 45.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00216/1.866, allocations: 0.7353 MB / 0.7323 GB, free: 44.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007899/1.867, allocations: 65.84 kB / 0.7323 GB, free: 44.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002304/1.869, allocations: 144.8 kB / 0.7325 GB, free: 44.63 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005337/1.87, allocations: 207.5 kB / 0.7327 GB, free: 44.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002622/1.87, allocations: 76.83 kB / 0.7327 GB, free: 44.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004387/1.874, allocations: 2.21 MB / 0.7349 GB, free: 43.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.09e-06/1.874, allocations: 0 / 0.7349 GB, free: 43.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005273/1.88, allocations: 1.19 MB / 0.7361 GB, free: 43.58 MB / 426.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 (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.001077/1.881, allocations: 0.6342 MB / 0.7367 GB, free: 43.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007194/1.888, allocations: 3.826 MB / 0.7404 GB, free: 41.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.333e-06/1.888, allocations: 3.875 kB / 0.7404 GB, free: 41.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004789/1.893, allocations: 2.679 MB / 0.743 GB, free: 39.99 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004563/1.898, allocations: 0.9261 MB / 0.7439 GB, free: 39.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02056/1.918, allocations: 9.929 MB / 0.7536 GB, free: 35.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004983/1.923, allocations: 4.343 MB / 0.7579 GB, free: 33.94 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00391/1.927, allocations: 0.8219 MB / 0.7587 GB, free: 33.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008981/1.928, allocations: 255.4 kB / 0.7589 GB, free: 33.82 MB / 426.7 MB Notification: Performance of SimCode: time 1.683e-06/1.928, allocations: 4 kB / 0.7589 GB, free: 33.81 MB / 426.7 MB Notification: Performance of Templates: time 0.1299/2.058, allocations: 55.14 MB / 0.8128 GB, free: 14.61 MB / 442.7 MB