Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=22000,variableFilter="time|capacitor1.v|capacitor2.v|filter.x.1.|filter.x.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier") Notification: Performance of loadModel(Modelica): time 1.767/1.767, allocations: 171.1 MB / 186.3 MB, free: 1.332 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.52e-05/3.527e-05, allocations: 10.19 kB / 228.1 MB, free: 7.973 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08254/0.0826, allocations: 38.77 MB / 266.9 MB, free: 1.121 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier): time 0.01636/0.09902, allocations: 9.41 MB / 276.3 MB, free: 7.66 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01471/0.1138, allocations: 5.768 MB / 282.1 MB, free: 1.883 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00237/0.1162, allocations: 79.75 kB / 282.2 MB, free: 1.805 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002868/0.1192, allocations: 0.6021 MB / 282.8 MB, free: 1.199 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003956/0.1232, allocations: 0.7826 MB / 283.5 MB, free: 424 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005906/0.1291, allocations: 1.284 MB / 284.8 MB, free: 15.13 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005095/0.1342, allocations: 1.701 MB / 286.5 MB, free: 13.43 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002365/0.1366, allocations: 1.033 MB / 287.6 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002222/0.1389, allocations: 0.9037 MB / 288.5 MB, free: 11.47 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002584/0.1415, allocations: 1.102 MB / 289.6 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001677/0.1433, allocations: 291.7 kB / 289.8 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008188/0.1441, allocations: 112 kB / 290 MB, free: 9.973 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001382/0.1455, allocations: 0.6502 MB / 290.6 MB, free: 9.32 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001233/0.1468, allocations: 260 kB / 290.9 MB, free: 9.066 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006201/0.1531, allocations: 3.677 MB / 294.5 MB, free: 5.379 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1531, allocations: 0 / 294.5 MB, free: 5.379 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.098e-06/0.1531, allocations: 4 kB / 294.5 MB, free: 5.375 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001521/0.1533, allocations: 0 / 294.5 MB, free: 5.375 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 610 * Number of variables: 610 Notification: Performance of Generate backend data structure: time 0.008298/0.1616, allocations: 2.582 MB / 297.1 MB, free: 2.73 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.1617, allocations: 8.031 kB / 297.1 MB, free: 2.723 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002615/0.1643, allocations: 420.1 kB / 297.5 MB, free: 2.309 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005185/0.1695, allocations: 1.594 MB / 299.1 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002531/0.1698, allocations: 172.7 kB / 299.3 MB, free: 500 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009432/0.1708, allocations: 243.9 kB / 299.5 MB, free: 256 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2388/0.4097, allocations: 2.965 MB / 302.5 MB, free: 27.06 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.344e-05/0.4098, allocations: 6.828 kB / 302.5 MB, free: 27.06 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003386/0.4102, allocations: 99.27 kB / 302.6 MB, free: 26.99 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001815/0.4103, allocations: 104.9 kB / 302.7 MB, free: 26.98 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007549/0.4179, allocations: 2.497 MB / 305.2 MB, free: 26.08 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02306/0.441, allocations: 10.08 MB / 315.3 MB, free: 19.67 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004696/0.4458, allocations: 2.732 MB / 318 MB, free: 17.66 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004056/0.4462, allocations: 129.8 kB / 318.1 MB, free: 17.55 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.4463, allocations: 52.22 kB / 318.2 MB, free: 17.5 MB / 250.7 MB Notification: Performance of pre-optimization done (n=148): time 5.41e-06/0.4463, allocations: 0 / 318.2 MB, free: 17.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=165): time 0.02686/0.4732, allocations: 8.143 MB / 326.3 MB, free: 11.25 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.418e-05/0.4733, allocations: 175.5 kB / 326.5 MB, free: 11.04 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003166/0.4764, allocations: 1.6 MB / 328.1 MB, free: 9.398 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002929/0.4768, allocations: 54.86 kB / 328.2 MB, free: 9.34 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007316/0.4775, allocations: 1.06 MB / 329.2 MB, free: 8.273 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006087/0.4781, allocations: 0.5643 MB / 329.8 MB, free: 7.715 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.4783, allocations: 41.09 kB / 329.8 MB, free: 7.676 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.4784, allocations: 386.8 kB / 330.2 MB, free: 7.289 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002008/0.4805, allocations: 0.8511 MB / 331.1 MB, free: 6.438 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002257/0.4827, allocations: 1.29 MB / 332.3 MB, free: 4.973 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002333/0.4851, allocations: 1.044 MB / 333.4 MB, free: 3.934 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.4851, allocations: 4 kB / 333.4 MB, free: 3.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007199/0.4923, allocations: 2.97 MB / 336.4 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.4924, allocations: 8.938 kB / 336.4 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.124e-05/0.4925, allocations: 12 kB / 336.4 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002974/0.4955, allocations: 0.7756 MB / 337.2 MB, free: 104 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00286/0.4984, allocations: 372 kB / 337.5 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02154/0.52, allocations: 11.87 MB / 349.4 MB, free: 3.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002773/0.5228, allocations: 109.2 kB / 349.5 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004472/0.5233, allocations: 68 kB / 349.6 MB, free: 3.043 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 183 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.002343/0.5257, allocations: 0.7232 MB / 350.3 MB, free: 2.312 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008448/0.5265, allocations: 217.4 kB / 350.5 MB, free: 2.098 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00872/0.5353, allocations: 2.809 MB / 353.3 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-05/0.5353, allocations: 16 kB / 353.3 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.5353, allocations: 5.938 kB / 353.3 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.536e-05/0.5354, allocations: 11.97 kB / 353.3 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01555/0.5509, allocations: 5.631 MB / 359 MB, free: 9.465 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.935e-05/0.551, allocations: 4 kB / 359 MB, free: 9.461 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002036/0.5531, allocations: 231.7 kB / 359.2 MB, free: 9.234 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003779/0.5569, allocations: 0.816 MB / 360 MB, free: 8.402 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003545/0.5573, allocations: 43.98 kB / 360.1 MB, free: 8.359 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02391/0.5812, allocations: 13.34 MB / 373.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.197e-06/0.5813, allocations: 7.953 kB / 373.4 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01487/0.5962, allocations: 4.236 MB / 377.6 MB, free: 5.754 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004507/0.6007, allocations: 478.3 kB / 378.1 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001105/0.6019, allocations: 43.98 kB / 378.2 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003099/0.605, allocations: 99.91 kB / 378.3 MB, free: 5.125 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006462/0.6057, allocations: 137 kB / 378.4 MB, free: 4.992 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002336/0.6059, allocations: 44 kB / 378.4 MB, free: 4.949 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.01069/0.6166, allocations: 1.233 MB / 379.7 MB, free: 3.691 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.032e-06/0.6167, allocations: 0 / 379.7 MB, free: 3.691 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.01139/0.6281, allocations: 0.6433 MB / 380.3 MB, free: 3.055 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y,capacitor1.v,capacitor2.v,filter.x[1],filter.x[2]) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 116 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 16,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009051/0.6291, allocations: 215.2 kB / 380.5 MB, free: 2.844 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.02425/0.6533, allocations: 3.037 MB / 383.6 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/0.6534, allocations: 0 / 383.6 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01108/0.6645, allocations: 2.057 MB / 385.6 MB, free: 13.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004893/0.6694, allocations: 0.5227 MB / 386.1 MB, free: 13.07 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01745/0.6869, allocations: 6.533 MB / 392.7 MB, free: 6.469 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003023/0.69, allocations: 1.971 MB / 394.6 MB, free: 4.461 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/0.6911, allocations: 135.4 kB / 394.8 MB, free: 4.328 MB / 314.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6911, allocations: 0 / 394.8 MB, free: 4.328 MB / 314.7 MB Notification: Performance of Templates: time 0.3894/1.081, allocations: 97.79 MB / 492.6 MB, free: 62.56 MB / 346.7 MB