Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter,tolerance=1e-05,outputFormat="mat",numberOfIntervals=6000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smpmE.idq_dr.1.|smpmE.idq_rr.2.|smpmE.idq_sr.1.|smpmE.idq_sr.2.|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.strayReluctance.port_p.Phi.im|smpmM.stator.strayReluctance.port_p.Phi.re|vfController.x",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter") Notification: Performance of loadModel(Modelica): time 1.716/1.716, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.864e-05/2.877e-05, allocations: 4 kB / 225 MB, free: 2.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2168, allocations: 38.77 MB / 263.8 MB, free: 9.812 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3686/0.5854, allocations: 116.8 MB / 380.6 MB, free: 52.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.5857, allocations: 88.55 kB / 380.7 MB, free: 52.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4084/0.994, allocations: 118.6 MB / 499.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.383e-06/0.9941, allocations: 0 / 499.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005471/0.9946, allocations: 147.7 kB / 499.5 MB, free: 14.79 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: 1354 * Number of variables: 1354 Notification: Performance of Generate backend data structure: time 0.01796/1.013, allocations: 4.956 MB / 0.4926 GB, free: 9.766 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/1.013, allocations: 8.031 kB / 0.4926 GB, free: 9.758 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004817/1.018, allocations: 0.7738 MB / 0.4934 GB, free: 8.977 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01112/1.029, allocations: 3.655 MB / 0.4969 GB, free: 5.246 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005416/1.029, allocations: 382.3 kB / 0.4973 GB, free: 4.871 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001894/1.031, allocations: 0.5115 MB / 0.4978 GB, free: 4.359 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2371/1.268, allocations: 6.459 MB / 0.5041 GB, free: 42.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002133/1.269, allocations: 16.44 kB / 0.5041 GB, free: 42.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009852/1.27, allocations: 217.6 kB / 0.5043 GB, free: 42.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002255/1.27, allocations: 231.6 kB / 0.5046 GB, free: 42.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01443/1.284, allocations: 4.947 MB / 0.5094 GB, free: 42.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04445/1.329, allocations: 21.08 MB / 0.53 GB, free: 37.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00549/1.334, allocations: 3.989 MB / 0.5339 GB, free: 36.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003732/1.338, allocations: 1.807 MB / 0.5356 GB, free: 36.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004168/1.338, allocations: 152.1 kB / 0.5358 GB, free: 36.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/1.339, allocations: 64.23 kB / 0.5358 GB, free: 36.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=226): time 6.522e-06/1.339, allocations: 2.656 kB / 0.5358 GB, free: 36.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=275): time 0.03471/1.373, allocations: 11.73 MB / 0.5473 GB, free: 34.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/1.373, allocations: 79.02 kB / 0.5474 GB, free: 34.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005378/1.379, allocations: 2.593 MB / 0.5499 GB, free: 34.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000489/1.379, allocations: 74.61 kB / 0.55 GB, free: 34.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00169/1.381, allocations: 2.374 MB / 0.5523 GB, free: 33.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009908/1.382, allocations: 0.9415 MB / 0.5532 GB, free: 32.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002735/1.382, allocations: 66.34 kB / 0.5533 GB, free: 32.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002252/1.383, allocations: 443.4 kB / 0.5537 GB, free: 32.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002797/1.385, allocations: 1.403 MB / 0.5551 GB, free: 32.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003318/1.389, allocations: 2.307 MB / 0.5573 GB, free: 30.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003753/1.392, allocations: 1.841 MB / 0.5591 GB, free: 29.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.269e-05/1.393, allocations: 7.406 kB / 0.5591 GB, free: 29.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=424) (initialization): time 0.0114/1.404, allocations: 5.047 MB / 0.564 GB, free: 28.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.721e-05/1.404, allocations: 23.02 kB / 0.5641 GB, free: 28.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.4e-05/1.404, allocations: 31.69 kB / 0.5641 GB, free: 28.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003166/1.407, allocations: 0.9907 MB / 0.5651 GB, free: 27.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003711/1.411, allocations: 0.7209 MB / 0.5658 GB, free: 27.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01822/1.429, allocations: 13.51 MB / 0.579 GB, free: 18.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003756/1.433, allocations: 186.1 kB / 0.5791 GB, free: 17.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006604/1.434, allocations: 143.8 kB / 0.5793 GB, free: 17.93 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 130 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (364): * Single equations (assignments): 357 * 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: 5 * 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: 5 {(6,72.2%) 23,(1,100.0%) 1,(4,93.8%) 20,(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006983/1.434, allocations: 304.9 kB / 0.5796 GB, free: 17.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008959/1.435, allocations: 348.5 kB / 0.5799 GB, free: 17.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01017/1.446, allocations: 4.531 MB / 0.5843 GB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-05/1.446, allocations: 28.31 kB / 0.5844 GB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-05/1.446, allocations: 15.06 kB / 0.5844 GB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.712e-05/1.446, allocations: 14.3 kB / 0.5844 GB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02445/1.47, allocations: 10.62 MB / 0.5947 GB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.939e-05/1.47, allocations: 3.281 kB / 0.5948 GB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00258/1.473, allocations: 431 kB / 0.5952 GB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00397/1.477, allocations: 1.069 MB / 0.5962 GB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004482/1.477, allocations: 69.69 kB / 0.5963 GB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02198/1.499, allocations: 16.91 MB / 0.6128 GB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.372e-06/1.499, allocations: 8 kB / 0.6128 GB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01463/1.514, allocations: 7.054 MB / 0.6197 GB, free: 7.125 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002651/1.517, allocations: 0.73 MB / 0.6204 GB, free: 6.449 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001059/1.518, allocations: 67.84 kB / 0.6205 GB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00269/1.521, allocations: 151.1 kB / 0.6206 GB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000637/1.521, allocations: 209 kB / 0.6208 GB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002962/1.522, allocations: 83.55 kB / 0.6209 GB, free: 6.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004829/1.526, allocations: 1.955 MB / 0.6228 GB, free: 4.293 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.77e-07/1.526, allocations: 0.7656 kB / 0.6228 GB, free: 4.293 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006008/1.532, allocations: 1.086 MB / 0.6239 GB, free: 3.215 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 13 (vfController.x,smpmM.inertiaRotor.w,smpmM.stator.port_n.Phi.re,smpmM.stator.port_n.Phi.im,smpmM.stator.strayReluctance.Phi.re,smpmM.stator.strayReluctance.Phi.im,smpmE.inertiaRotor.w,smpmE.idq_sr[1],smpmE.idq_sr[2],smpmE.idq_rr[2],smpmE.idq_dr[1],loadInertiaM.phi,loadInertiaE.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (213): * Single equations (assignments): 206 * 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 {(6,75.0%) 23,(4,93.8%) 18,(1,100.0%) 4,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001307/1.534, allocations: 0.5814 MB / 0.6244 GB, free: 2.758 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01071/1.545, allocations: 4.551 MB / 0.6289 GB, free: 14.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.319e-06/1.545, allocations: 0 / 0.6289 GB, free: 14.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0071/1.552, allocations: 2.936 MB / 0.6317 GB, free: 11.87 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005322/1.557, allocations: 0.8616 MB / 0.6326 GB, free: 11.19 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02166/1.579, allocations: 8.367 MB / 0.6407 GB, free: 3.645 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005972/1.585, allocations: 3.521 MB / 0.6442 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003778/1.589, allocations: 0.7369 MB / 0.6449 GB, free: 488 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/1.59, allocations: 227.9 kB / 0.6451 GB, free: 268 kB / 394.7 MB Notification: Performance of SimCode: time 1.797e-06/1.59, allocations: 0 / 0.6451 GB, free: 268 kB / 394.7 MB Notification: Performance of Templates: time 0.4668/2.056, allocations: 55.93 MB / 0.6997 GB, free: 63.75 MB / 394.7 MB