Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,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.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase") Notification: Performance of loadModel(Modelica): time 1.9/1.9, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.764e-05/2.79e-05, allocations: 4 kB / 225 MB, free: 2.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2179, allocations: 38.77 MB / 263.8 MB, free: 9.82 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.15/0.3679, allocations: 99.32 MB / 363.1 MB, free: 6.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/0.3682, allocations: 87.95 kB / 363.2 MB, free: 6.254 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9102/1.278, allocations: 150.9 MB / 0.502 GB, free: 43.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.663e-06/1.278, allocations: 0 / 0.502 GB, free: 43.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005686/1.279, allocations: 169.7 kB / 0.5022 GB, free: 43.57 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.0227/1.302, allocations: 6.188 MB / 0.5082 GB, free: 41.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/1.302, allocations: 7.062 kB / 0.5082 GB, free: 41.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006796/1.309, allocations: 1.056 MB / 0.5093 GB, free: 41.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01293/1.322, allocations: 4.7 MB / 0.5139 GB, free: 40.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005304/1.322, allocations: 493.4 kB / 0.5143 GB, free: 40.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002327/1.325, allocations: 0.6452 MB / 0.515 GB, free: 40.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02458/1.349, allocations: 8.352 MB / 0.5231 GB, free: 39.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000307/1.349, allocations: 11.69 kB / 0.5231 GB, free: 39.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001959/1.351, allocations: 275.1 kB / 0.5234 GB, free: 39.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002829/1.352, allocations: 290.5 kB / 0.5237 GB, free: 39.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01834/1.37, allocations: 6.386 MB / 0.5299 GB, free: 39.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05783/1.428, allocations: 26.53 MB / 0.5558 GB, free: 32.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006924/1.435, allocations: 5.233 MB / 0.5609 GB, free: 28.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00469/1.44, allocations: 2.269 MB / 0.5631 GB, free: 28.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002225/1.44, allocations: 33.14 kB / 0.5632 GB, free: 28.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.172e-05/1.44, allocations: 61.28 kB / 0.5632 GB, free: 28.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=254): time 6.732e-06/1.44, allocations: 0 / 0.5632 GB, free: 28.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=300): time 0.02635/1.466, allocations: 9.797 MB / 0.5728 GB, free: 23.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/1.467, allocations: 89.03 kB / 0.5729 GB, free: 23.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006215/1.473, allocations: 2.81 MB / 0.5756 GB, free: 22.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005015/1.473, allocations: 75.92 kB / 0.5757 GB, free: 22.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00197/1.475, allocations: 2.85 MB / 0.5785 GB, free: 20.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001127/1.476, allocations: 1.021 MB / 0.5795 GB, free: 19.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003056/1.477, allocations: 74 kB / 0.5795 GB, free: 19.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000234/1.477, allocations: 444.2 kB / 0.58 GB, free: 18.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003053/1.48, allocations: 1.442 MB / 0.5814 GB, free: 18.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003935/1.484, allocations: 2.391 MB / 0.5837 GB, free: 16.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004224/1.488, allocations: 1.921 MB / 0.5856 GB, free: 15.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.648e-05/1.488, allocations: 9.781 kB / 0.5856 GB, free: 15.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=451) (initialization): time 0.01309/1.501, allocations: 5.161 MB / 0.5906 GB, free: 13.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.803e-05/1.502, allocations: 24.7 kB / 0.5907 GB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.741e-05/1.502, allocations: 29.44 kB / 0.5907 GB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003465/1.505, allocations: 0.9455 MB / 0.5916 GB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004005/1.509, allocations: 0.7267 MB / 0.5923 GB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02396/1.533, allocations: 14.73 MB / 0.6067 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003918/1.537, allocations: 155.7 kB / 0.6068 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008073/1.538, allocations: 143.7 kB / 0.607 GB, free: 14.22 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (381): * Single equations (assignments): 373 * 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: 6 * 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: 6 {(4,93.8%) 18,(1,100.0%) 1,(1,100.0%) 5,(4,93.8%) 18,(1,100.0%) 1,(3,77.8%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009726/1.539, allocations: 318.2 kB / 0.6073 GB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001089/1.54, allocations: 371.5 kB / 0.6076 GB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01243/1.553, allocations: 4.644 MB / 0.6122 GB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.886e-05/1.553, allocations: 32 kB / 0.6122 GB, free: 9.496 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-05/1.553, allocations: 12 kB / 0.6122 GB, free: 9.484 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.608e-05/1.553, allocations: 14.16 kB / 0.6122 GB, free: 9.484 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0325/1.585, allocations: 12.08 MB / 0.624 GB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-05/1.585, allocations: 8 kB / 0.624 GB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00274/1.588, allocations: 437.8 kB / 0.6245 GB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004031/1.592, allocations: 1.083 MB / 0.6255 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004776/1.593, allocations: 67.7 kB / 0.6256 GB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2641/1.857, allocations: 18.2 MB / 0.6434 GB, free: 62.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.862e-06/1.857, allocations: 11.69 kB / 0.6434 GB, free: 62.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01464/1.871, allocations: 7.515 MB / 0.6507 GB, free: 60.54 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00274/1.874, allocations: 0.7831 MB / 0.6515 GB, free: 60.45 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001168/1.876, allocations: 71.2 kB / 0.6515 GB, free: 60.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002931/1.878, allocations: 147.8 kB / 0.6517 GB, free: 60.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007154/1.879, allocations: 233.7 kB / 0.6519 GB, free: 60.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002816/1.879, allocations: 90.42 kB / 0.652 GB, free: 60.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.005057/1.885, allocations: 2.135 MB / 0.6541 GB, free: 60.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.107e-06/1.885, allocations: 0 / 0.6541 GB, free: 60.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006304/1.891, allocations: 1.208 MB / 0.6553 GB, free: 60.27 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 14 (smrM.inertiaRotor.w,smrM.stator.port_n.Phi.re,smrM.stator.port_n.Phi.im,smrM.stator.strayReluctance.Phi.re,smrM.stator.strayReluctance.Phi.im,smr3.inertiaRotor.w,smr3.stator.port_n.Phi.re,smr3.stator.port_n.Phi.im,smr3.stator.strayReluctance.Phi.re,smr3.stator.strayReluctance.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 (220): * Single equations (assignments): 213 * 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 {(4,93.8%) 18,(1,100.0%) 4,(4,93.8%) 18,(4,93.8%) 32,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001165/1.892, allocations: 0.5937 MB / 0.6558 GB, free: 60.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009704/1.902, allocations: 4.814 MB / 0.6605 GB, free: 59.22 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/1.902, allocations: 7.25 kB / 0.6605 GB, free: 59.22 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006623/1.909, allocations: 3.13 MB / 0.6636 GB, free: 58.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005917/1.914, allocations: 0.9402 MB / 0.6645 GB, free: 58.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02377/1.938, allocations: 10.08 MB / 0.6744 GB, free: 56.12 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007169/1.945, allocations: 4.332 MB / 0.6786 GB, free: 55.23 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003746/1.949, allocations: 0.7435 MB / 0.6793 GB, free: 55.14 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/1.95, allocations: 235.8 kB / 0.6795 GB, free: 55.14 MB / 394.7 MB Notification: Performance of SimCode: time 1.74e-06/1.95, allocations: 0 / 0.6795 GB, free: 55.14 MB / 394.7 MB Notification: Performance of Templates: time 0.1438/2.094, allocations: 59.13 MB / 0.7373 GB, free: 41.56 MB / 394.7 MB