Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smpmE.is.1.|smpmE.is.2.|smpmE.idq_dr.1.|smpmE.idq_rr.2.|smpmE.idq_sr.1.|smpmE.idq_sr.2.|smpmM.is.1.|smpmM.is.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.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMPM_Inverter") Notification: Performance of loadModel(Modelica): time 1.861/1.861, allocations: 205.8 MB / 218.9 MB, free: 9.355 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.528e-05/2.532e-05, allocations: 4 kB / 269.4 MB, free: 6.402 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08522/0.08527, allocations: 47.57 MB / 316.9 MB, free: 6.754 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4044/0.4897, allocations: 130.4 MB / 447.3 MB, free: 6.668 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.49, allocations: 89.08 kB / 447.4 MB, free: 6.625 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7077/1.198, allocations: 124.1 MB / 0.5581 GB, free: 88.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.329e-06/1.198, allocations: 0 / 0.5581 GB, free: 88.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004202/1.198, allocations: 143.5 kB / 0.5583 GB, free: 88.92 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01582/1.214, allocations: 5.11 MB / 0.5633 GB, free: 86.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/1.214, allocations: 11.38 kB / 0.5633 GB, free: 86.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00667/1.221, allocations: 1.011 MB / 0.5643 GB, free: 86.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01347/1.234, allocations: 4.597 MB / 0.5687 GB, free: 85.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003983/1.235, allocations: 405.2 kB / 0.5691 GB, free: 85.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001576/1.236, allocations: 0.5306 MB / 0.5696 GB, free: 85.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01617/1.252, allocations: 6.763 MB / 0.5763 GB, free: 84.33 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001736/1.253, allocations: 14.06 kB / 0.5763 GB, free: 84.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007639/1.253, allocations: 228.9 kB / 0.5765 GB, free: 84.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002502/1.254, allocations: 247.6 kB / 0.5767 GB, free: 84.13 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01402/1.268, allocations: 5.351 MB / 0.5819 GB, free: 81.96 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04331/1.311, allocations: 22.54 MB / 0.604 GB, free: 67.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008032/1.319, allocations: 8.238 MB / 0.612 GB, free: 58.63 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003937/1.323, allocations: 2.109 MB / 0.6141 GB, free: 56.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01294/1.336, allocations: 6.315 MB / 0.6202 GB, free: 51.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/1.336, allocations: 60.5 kB / 0.6203 GB, free: 51.37 MB / 426.7 MB Notification: Performance of pre-optimization done (n=227): time 5.797e-06/1.336, allocations: 4 kB / 0.6203 GB, free: 51.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=254): time 0.02485/1.361, allocations: 10.07 MB / 0.6301 GB, free: 42.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/1.361, allocations: 77.41 kB / 0.6302 GB, free: 42.01 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005031/1.366, allocations: 2.725 MB / 0.6329 GB, free: 39.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004222/1.367, allocations: 65.7 kB / 0.6329 GB, free: 39.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00159/1.368, allocations: 2.494 MB / 0.6354 GB, free: 36.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007902/1.369, allocations: 0.8786 MB / 0.6362 GB, free: 35.83 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002356/1.369, allocations: 64 kB / 0.6363 GB, free: 35.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002152/1.37, allocations: 432.8 kB / 0.6367 GB, free: 35.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002516/1.372, allocations: 1.318 MB / 0.638 GB, free: 34.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003011/1.375, allocations: 2.283 MB / 0.6402 GB, free: 31.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003223/1.378, allocations: 1.737 MB / 0.6419 GB, free: 29.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-05/1.378, allocations: 8 kB / 0.6419 GB, free: 29.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=415) (initialization): time 0.009491/1.388, allocations: 4.679 MB / 0.6465 GB, free: 24.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/1.388, allocations: 20 kB / 0.6465 GB, free: 24.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.72e-05/1.388, allocations: 28 kB / 0.6465 GB, free: 24.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002221/1.39, allocations: 0.7235 MB / 0.6472 GB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003762/1.394, allocations: 0.7589 MB / 0.648 GB, free: 23.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01139/1.406, allocations: 9.754 MB / 0.6575 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003648/1.409, allocations: 195.8 kB / 0.6577 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004755/1.41, allocations: 148 kB / 0.6578 GB, free: 12.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 139 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (378): * Single equations (assignments): 372 * 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 {(6,72.2%) 23,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006509/1.41, allocations: 303.9 kB / 0.6581 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000972/1.411, allocations: 355.6 kB / 0.6585 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008755/1.42, allocations: 4.218 MB / 0.6626 GB, free: 7.605 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.267e-05/1.42, allocations: 24 kB / 0.6626 GB, free: 7.582 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.918e-05/1.42, allocations: 15.95 kB / 0.6626 GB, free: 7.566 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-05/1.42, allocations: 11.95 kB / 0.6626 GB, free: 7.555 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2721/1.692, allocations: 9.173 MB / 0.6716 GB, free: 79.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.324e-05/1.692, allocations: 6.656 kB / 0.6716 GB, free: 79.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002994/1.695, allocations: 414.6 kB / 0.672 GB, free: 79.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003853/1.699, allocations: 0.9536 MB / 0.6729 GB, free: 79.56 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00052/1.7, allocations: 68.67 kB / 0.673 GB, free: 79.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02102/1.721, allocations: 15.93 MB / 0.6885 GB, free: 70.53 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.379e-06/1.721, allocations: 6.438 kB / 0.6885 GB, free: 70.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01236/1.733, allocations: 6.382 MB / 0.6948 GB, free: 69.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002228/1.736, allocations: 0.7167 MB / 0.6955 GB, free: 69.28 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001036/1.737, allocations: 63.38 kB / 0.6955 GB, free: 69.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002774/1.74, allocations: 163.5 kB / 0.6957 GB, free: 69.28 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006291/1.74, allocations: 185.8 kB / 0.6959 GB, free: 69.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002684/1.74, allocations: 77.83 kB / 0.6959 GB, free: 69.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004408/1.745, allocations: 2.064 MB / 0.698 GB, free: 69.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.088e-06/1.745, allocations: 0 / 0.698 GB, free: 69.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005244/1.75, allocations: 1.081 MB / 0.699 GB, free: 69.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 13 (vfController.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].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 (197): * Single equations (assignments): 190 * 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,72.2%) 23,(1,100.0%) 5,(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001177/1.751, allocations: 0.6033 MB / 0.6996 GB, free: 68.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00784/1.759, allocations: 4.052 MB / 0.7036 GB, free: 68.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.541e-06/1.759, allocations: 8.188 kB / 0.7036 GB, free: 68.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005354/1.765, allocations: 2.703 MB / 0.7062 GB, free: 67.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005295/1.77, allocations: 0.8762 MB / 0.7071 GB, free: 67.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01881/1.789, allocations: 8.267 MB / 0.7151 GB, free: 65.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004717/1.794, allocations: 3.527 MB / 0.7186 GB, free: 64.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004148/1.798, allocations: 0.7966 MB / 0.7194 GB, free: 64.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/1.799, allocations: 242 kB / 0.7196 GB, free: 64.39 MB / 426.7 MB Notification: Performance of SimCode: time 1.722e-06/1.799, allocations: 1.219 kB / 0.7196 GB, free: 64.39 MB / 426.7 MB Notification: Performance of Templates: time 0.1275/1.926, allocations: 54.23 MB / 0.7726 GB, free: 42.32 MB / 426.7 MB