Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w|smrE.idq_rr.1.|smrE.idq_rr.2.|smrE.idq_sr.1.|smrE.idq_sr.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|vfController.x",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter") Notification: Performance of loadModel(Modelica): time 1.862/1.862, allocations: 194.9 MB / 210.6 MB, free: 8.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.787e-05/2.754e-05, allocations: 3.906 kB / 258.8 MB, free: 7.852 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2945, allocations: 44.5 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter): time 0.02661/0.3212, allocations: 15.85 MB / 319.2 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01384/0.3351, allocations: 5.148 MB / 324.3 MB, free: 8.527 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003897/0.339, allocations: 155.5 kB / 324.5 MB, free: 8.375 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00408/0.3431, allocations: 0.9165 MB / 325.4 MB, free: 7.453 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00757/0.3508, allocations: 1.514 MB / 326.9 MB, free: 5.934 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004214/0.355, allocations: 0.8079 MB / 327.7 MB, free: 5.125 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008888/0.364, allocations: 3.108 MB / 330.8 MB, free: 2.012 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006249/0.3703, allocations: 2.748 MB / 333.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00383/0.3741, allocations: 1.531 MB / 335.1 MB, free: 13.7 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004858/0.3791, allocations: 2.067 MB / 337.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002701/0.3818, allocations: 415.6 kB / 337.6 MB, free: 11.22 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001508/0.3834, allocations: 200 kB / 337.8 MB, free: 11.02 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002317/0.3857, allocations: 1.168 MB / 338.9 MB, free: 9.852 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002102/0.3879, allocations: 468 kB / 339.4 MB, free: 9.395 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01276/0.4007, allocations: 8.263 MB / 347.7 MB, free: 1.109 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.4007, allocations: 8 kB / 347.7 MB, free: 1.102 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.4007, allocations: 0 / 347.7 MB, free: 1.102 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002983/0.401, allocations: 0 / 347.7 MB, free: 1.102 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1340 * Number of variables: 1340 Notification: Performance of Generate backend data structure: time 0.01914/0.4202, allocations: 5.101 MB / 352.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.4203, allocations: 12.03 kB / 352.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00779/0.4281, allocations: 1.008 MB / 353.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009545/0.4377, allocations: 3.197 MB / 357 MB, free: 7.625 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005217/0.4382, allocations: 382.2 kB / 357.4 MB, free: 7.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001856/0.4401, allocations: 0.5037 MB / 357.9 MB, free: 6.746 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0216/0.4617, allocations: 6.653 MB / 364.5 MB, free: 24 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002786/0.4621, allocations: 7.906 kB / 364.5 MB, free: 16 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001572/0.4637, allocations: 219.9 kB / 364.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003859/0.4641, allocations: 242.2 kB / 365 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02036/0.4845, allocations: 5.673 MB / 370.6 MB, free: 9.879 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0631/0.5477, allocations: 21.02 MB / 391.7 MB, free: 4.359 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02134/0.5691, allocations: 8.472 MB / 400.1 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01713/0.5863, allocations: 4.903 MB / 405 MB, free: 5.891 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.149e-05/0.5864, allocations: 52.56 kB / 405.1 MB, free: 5.828 MB / 346.7 MB Notification: Performance of pre-optimization done (n=214): time 5.149e-06/0.5864, allocations: 4 kB / 405.1 MB, free: 5.824 MB / 346.7 MB Notification: Performance of matching and sorting (n=236): time 0.04398/0.6304, allocations: 11.73 MB / 416.8 MB, free: 9.875 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.34e-05/0.6305, allocations: 73.41 kB / 416.9 MB, free: 9.793 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00628/0.6368, allocations: 2.477 MB / 419.4 MB, free: 7.309 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004717/0.6373, allocations: 65.69 kB / 419.4 MB, free: 7.238 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0025/0.6398, allocations: 2.322 MB / 421.8 MB, free: 4.891 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001242/0.6411, allocations: 0.8087 MB / 422.6 MB, free: 4.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002844/0.6414, allocations: 60 kB / 422.6 MB, free: 4.012 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002822/0.6417, allocations: 428.2 kB / 423 MB, free: 3.586 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003977/0.6457, allocations: 1.322 MB / 424.4 MB, free: 2.262 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2582/0.904, allocations: 2.182 MB / 426.5 MB, free: 99.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00559/0.9096, allocations: 1.701 MB / 428.2 MB, free: 99.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.002e-05/0.9097, allocations: 7.375 kB / 428.3 MB, free: 99.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=381) (initialization): time 0.01255/0.9223, allocations: 4.601 MB / 432.9 MB, free: 97.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.609e-05/0.9224, allocations: 18.47 kB / 432.9 MB, free: 97.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.186e-05/0.9224, allocations: 27.5 kB / 432.9 MB, free: 97.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002528/0.925, allocations: 0.6755 MB / 433.6 MB, free: 97.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005017/0.93, allocations: 0.698 MB / 434.3 MB, free: 97.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01371/0.9438, allocations: 9.541 MB / 443.8 MB, free: 90.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003803/0.9477, allocations: 187 kB / 444 MB, free: 90.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005721/0.9483, allocations: 123.9 kB / 444.1 MB, free: 90.14 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 123 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (348): * Single equations (assignments): 342 * 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,75.0%) 19,(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003818/0.9521, allocations: 1.505 MB / 445.6 MB, free: 89.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008947/0.953, allocations: 323.9 kB / 445.9 MB, free: 89.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01113/0.9642, allocations: 4.096 MB / 450 MB, free: 87.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.76e-05/0.9642, allocations: 26.53 kB / 450.1 MB, free: 87.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-05/0.9643, allocations: 9.125 kB / 450.1 MB, free: 87.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.026e-05/0.9643, allocations: 9.75 kB / 450.1 MB, free: 87.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02206/0.9864, allocations: 8.812 MB / 458.9 MB, free: 78.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.628e-05/0.9865, allocations: 4.25 kB / 458.9 MB, free: 78.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003336/0.9898, allocations: 399.9 kB / 459.3 MB, free: 78.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003672/0.9935, allocations: 0.875 MB / 460.2 MB, free: 77.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004358/0.994, allocations: 63.97 kB / 460.2 MB, free: 77.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02057/1.015, allocations: 15.44 MB / 475.7 MB, free: 61.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.327e-06/1.015, allocations: 11.92 kB / 475.7 MB, free: 61.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01504/1.03, allocations: 6.166 MB / 481.8 MB, free: 55.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002244/1.032, allocations: 0.661 MB / 482.5 MB, free: 54.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001199/1.033, allocations: 59.94 kB / 482.6 MB, free: 54.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003442/1.037, allocations: 143.9 kB / 482.7 MB, free: 54.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007413/1.038, allocations: 178.7 kB / 482.9 MB, free: 53.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002801/1.038, allocations: 71.97 kB / 482.9 MB, free: 53.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004434/1.042, allocations: 1.872 MB / 484.8 MB, free: 52.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.102e-06/1.042, allocations: 0 / 484.8 MB, free: 52.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004902/1.047, allocations: 0.9565 MB / 485.8 MB, free: 51.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (vfController.x,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,smrE.inertiaRotor.w,smrE.idq_sr[1],smrE.idq_sr[2],smrE.idq_dr[1],smrE.idq_dr[2],loadInertiaM.phi,loadInertiaE.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (188): * Single equations (assignments): 181 * 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%) 19,(1,100.0%) 5,(1,100.0%) 1,(2,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008653/1.048, allocations: 212 kB / 486 MB, free: 50.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01022/1.058, allocations: 4.071 MB / 490.1 MB, free: 46.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/1.058, allocations: 4.125 kB / 490.1 MB, free: 46.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006923/1.065, allocations: 2.727 MB / 492.8 MB, free: 43.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005921/1.071, allocations: 0.7739 MB / 493.6 MB, free: 43.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02555/1.097, allocations: 11.42 MB / 0.4931 GB, free: 31.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005623/1.103, allocations: 3.391 MB / 0.4965 GB, free: 28.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.004577/1.107, allocations: 0.746 MB / 0.4972 GB, free: 27.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001331/1.109, allocations: 215.4 kB / 0.4974 GB, free: 27.25 MB / 362.7 MB Notification: Performance of SimCode: time 1.193e-06/1.109, allocations: 0 / 0.4974 GB, free: 27.25 MB / 362.7 MB Notification: Performance of Templates: time 0.1238/1.233, allocations: 44.62 MB / 0.541 GB, free: 14.61 MB / 394.7 MB