Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.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.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpmM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Inverter") Notification: Performance of loadModel(Modelica): time 1.976/1.976, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.653e-05/2.676e-05, allocations: 0 / 292.2 MB, free: 8.293 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09076/0.09081, allocations: 50.41 MB / 342.6 MB, free: 5.859 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4235/0.5144, allocations: 131.7 MB / 474.2 MB, free: 11.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/0.5147, allocations: 100.4 kB / 474.3 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7458/1.261, allocations: 124.4 MB / 0.5847 GB, free: 97.35 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.08e-06/1.261, allocations: 0 / 0.5847 GB, free: 97.35 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004532/1.261, allocations: 144.7 kB / 0.5849 GB, free: 97.32 MB / 442.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.01527/1.276, allocations: 5.119 MB / 0.5899 GB, free: 94.93 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/1.276, allocations: 10.7 kB / 0.5899 GB, free: 94.93 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008266/1.285, allocations: 1.012 MB / 0.5909 GB, free: 94.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01833/1.303, allocations: 4.599 MB / 0.5954 GB, free: 92.28 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004018/1.304, allocations: 402.8 kB / 0.5957 GB, free: 92.1 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001695/1.305, allocations: 0.5268 MB / 0.5963 GB, free: 91.93 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01643/1.322, allocations: 6.757 MB / 0.6029 GB, free: 88.69 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002484/1.322, allocations: 11.91 kB / 0.6029 GB, free: 88.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001465/1.323, allocations: 227 kB / 0.6031 GB, free: 88.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002648/1.324, allocations: 250.6 kB / 0.6033 GB, free: 88.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01381/1.338, allocations: 5.347 MB / 0.6085 GB, free: 82.88 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04347/1.381, allocations: 22.53 MB / 0.6305 GB, free: 59.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008413/1.39, allocations: 8.244 MB / 0.6386 GB, free: 50.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004667/1.394, allocations: 2.105 MB / 0.6407 GB, free: 48.71 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01364/1.408, allocations: 6.313 MB / 0.6468 GB, free: 42.34 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/1.408, allocations: 56.56 kB / 0.6469 GB, free: 42.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=227): time 6.202e-06/1.408, allocations: 4 kB / 0.6469 GB, free: 42.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=254): time 0.02569/1.434, allocations: 10.08 MB / 0.6567 GB, free: 32.13 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/1.434, allocations: 77.41 kB / 0.6568 GB, free: 32.04 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005434/1.439, allocations: 2.733 MB / 0.6595 GB, free: 29.31 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004426/1.44, allocations: 69.7 kB / 0.6595 GB, free: 29.24 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001615/1.441, allocations: 2.479 MB / 0.662 GB, free: 26.74 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009024/1.442, allocations: 0.8772 MB / 0.6628 GB, free: 25.87 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002531/1.443, allocations: 68 kB / 0.6629 GB, free: 25.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001978/1.443, allocations: 436.8 kB / 0.6633 GB, free: 25.37 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002551/1.445, allocations: 1.326 MB / 0.6646 GB, free: 24.04 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003024/1.448, allocations: 2.271 MB / 0.6668 GB, free: 21.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003249/1.452, allocations: 1.741 MB / 0.6685 GB, free: 19.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.276e-05/1.452, allocations: 15.98 kB / 0.6685 GB, free: 19.56 MB / 442.7 MB Notification: Performance of matching and sorting (n=415) (initialization): time 0.009732/1.461, allocations: 4.674 MB / 0.6731 GB, free: 14.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.229e-05/1.462, allocations: 16 kB / 0.6731 GB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-05/1.462, allocations: 35.98 kB / 0.6731 GB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00216/1.464, allocations: 0.726 MB / 0.6738 GB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003683/1.467, allocations: 0.7527 MB / 0.6746 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01134/1.479, allocations: 9.763 MB / 0.6841 GB, free: 2.961 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003622/1.482, allocations: 199.7 kB / 0.6843 GB, free: 2.766 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004719/1.483, allocations: 140 kB / 0.6844 GB, free: 2.629 MB / 442.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.0006393/1.484, allocations: 315.9 kB / 0.6847 GB, free: 2.312 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007853/1.484, allocations: 351.6 kB / 0.6851 GB, free: 1.965 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2768/1.761, allocations: 4.212 MB / 0.6892 GB, free: 86.57 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.811e-05/1.761, allocations: 25.41 kB / 0.6892 GB, free: 86.57 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.048e-05/1.761, allocations: 14.09 kB / 0.6892 GB, free: 86.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-05/1.761, allocations: 13.19 kB / 0.6892 GB, free: 86.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02151/1.783, allocations: 9.191 MB / 0.6982 GB, free: 85.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.898e-05/1.783, allocations: 3.688 kB / 0.6982 GB, free: 85.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002875/1.786, allocations: 414.6 kB / 0.6986 GB, free: 85.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003924/1.79, allocations: 0.957 MB / 0.6995 GB, free: 85.69 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004156/1.79, allocations: 66.2 kB / 0.6996 GB, free: 85.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02042/1.811, allocations: 15.95 MB / 0.7152 GB, free: 76.65 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.464e-06/1.811, allocations: 7.469 kB / 0.7152 GB, free: 76.65 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01192/1.823, allocations: 6.369 MB / 0.7214 GB, free: 75.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002195/1.825, allocations: 0.7204 MB / 0.7221 GB, free: 75.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006386/1.826, allocations: 62.61 kB / 0.7222 GB, free: 75.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002343/1.828, allocations: 158.8 kB / 0.7223 GB, free: 75.41 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005218/1.829, allocations: 198.3 kB / 0.7225 GB, free: 75.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002528/1.829, allocations: 68.42 kB / 0.7226 GB, free: 75.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003979/1.833, allocations: 2.06 MB / 0.7246 GB, free: 75.05 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.09e-07/1.833, allocations: 3.406 kB / 0.7246 GB, free: 75.05 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004921/1.838, allocations: 1.094 MB / 0.7257 GB, free: 74.93 MB / 442.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.00107/1.839, allocations: 0.6345 MB / 0.7263 GB, free: 74.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007544/1.846, allocations: 4.045 MB / 0.7302 GB, free: 72.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.306e-06/1.846, allocations: 2.438 kB / 0.7302 GB, free: 72.98 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005343/1.852, allocations: 2.709 MB / 0.7329 GB, free: 71.57 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004634/1.856, allocations: 0.8774 MB / 0.7337 GB, free: 71.34 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01713/1.874, allocations: 8.237 MB / 0.7418 GB, free: 67.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004428/1.878, allocations: 3.522 MB / 0.7452 GB, free: 66.61 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00402/1.882, allocations: 0.7993 MB / 0.746 GB, free: 66.51 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009908/1.883, allocations: 247.6 kB / 0.7462 GB, free: 66.49 MB / 442.7 MB Notification: Performance of SimCode: time 1.701e-06/1.883, allocations: 0 / 0.7462 GB, free: 66.49 MB / 442.7 MB Notification: Performance of Templates: time 0.1316/2.015, allocations: 54.34 MB / 0.7993 GB, free: 36.16 MB / 442.7 MB