Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier") Notification: Performance of loadModel(Modelica): time 2.247/2.247, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.161e-05/3.166e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1115, allocations: 50.41 MB / 345 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier): time 0.01773/0.1293, allocations: 9.434 MB / 354.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01864/0.148, allocations: 5.752 MB / 360.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002921/0.151, allocations: 79.75 kB / 360.2 MB, free: 9.621 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00358/0.1546, allocations: 0.6099 MB / 360.9 MB, free: 9.008 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005087/0.1598, allocations: 0.7865 MB / 361.6 MB, free: 8.219 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005746/0.1656, allocations: 1.231 MB / 362.9 MB, free: 6.988 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004906/0.1705, allocations: 1.705 MB / 364.6 MB, free: 5.281 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002474/0.173, allocations: 1.085 MB / 365.7 MB, free: 4.184 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002113/0.1752, allocations: 0.8921 MB / 366.6 MB, free: 3.289 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002473/0.1777, allocations: 1.09 MB / 367.6 MB, free: 2.195 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.1793, allocations: 279.8 kB / 367.9 MB, free: 1.922 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007531/0.1801, allocations: 108 kB / 368 MB, free: 1.816 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001072/0.1812, allocations: 0.654 MB / 368.7 MB, free: 1.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.1823, allocations: 256 kB / 368.9 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006129/0.1885, allocations: 3.716 MB / 372.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1886, allocations: 0 / 372.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.1886, allocations: 0 / 372.6 MB, free: 13.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001589/0.1887, allocations: 0 / 372.6 MB, free: 13.18 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 617 * Number of variables: 617 Notification: Performance of Generate backend data structure: time 0.008328/0.1971, allocations: 2.61 MB / 375.3 MB, free: 10.51 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.1971, allocations: 12.03 kB / 375.3 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002561/0.1997, allocations: 420.1 kB / 375.7 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00509/0.2048, allocations: 1.657 MB / 377.3 MB, free: 8.375 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002199/0.2051, allocations: 180.8 kB / 377.5 MB, free: 8.195 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007932/0.2059, allocations: 239.9 kB / 377.7 MB, free: 7.961 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00911/0.2151, allocations: 3.018 MB / 380.8 MB, free: 4.824 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001135/0.2152, allocations: 11.92 kB / 380.8 MB, free: 4.812 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003588/0.2156, allocations: 99.98 kB / 380.9 MB, free: 4.715 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001704/0.2158, allocations: 100.6 kB / 381 MB, free: 4.613 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008433/0.2242, allocations: 2.528 MB / 383.5 MB, free: 2.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02705/0.2513, allocations: 10.28 MB / 393.8 MB, free: 7.477 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005623/0.257, allocations: 2.722 MB / 396.5 MB, free: 4.586 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004639/0.2575, allocations: 126.4 kB / 396.6 MB, free: 4.445 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.217e-05/0.2576, allocations: 47.88 kB / 396.7 MB, free: 4.391 MB / 330.7 MB Notification: Performance of pre-optimization done (n=149): time 4.819e-06/0.2576, allocations: 4 kB / 396.7 MB, free: 4.387 MB / 330.7 MB Notification: Performance of matching and sorting (n=166): time 0.3297/0.5874, allocations: 8.173 MB / 404.8 MB, free: 47.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.5875, allocations: 172.8 kB / 405 MB, free: 47.61 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006025/0.5936, allocations: 1.631 MB / 406.6 MB, free: 46.94 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004568/0.5941, allocations: 53.2 kB / 406.7 MB, free: 46.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001387/0.5955, allocations: 1.077 MB / 407.8 MB, free: 46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001099/0.5966, allocations: 0.5644 MB / 408.3 MB, free: 45.56 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.5969, allocations: 35.38 kB / 408.4 MB, free: 45.53 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002278/0.5971, allocations: 394.5 kB / 408.8 MB, free: 45.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003446/0.6006, allocations: 0.8604 MB / 409.6 MB, free: 44.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004423/0.6051, allocations: 1.307 MB / 410.9 MB, free: 44.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004298/0.6094, allocations: 1.05 MB / 412 MB, free: 43.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.423e-05/0.6095, allocations: 4.844 kB / 412 MB, free: 43.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=242) (initialization): time 0.01257/0.6221, allocations: 2.988 MB / 415 MB, free: 42.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001264/0.6234, allocations: 4.802 MB / 419.8 MB, free: 37.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.453e-05/0.6236, allocations: 13.86 kB / 419.8 MB, free: 37.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004131/0.6277, allocations: 0.7671 MB / 420.6 MB, free: 37.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003424/0.6312, allocations: 375.3 kB / 420.9 MB, free: 37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02343/0.6547, allocations: 11.87 MB / 432.8 MB, free: 27.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003649/0.6584, allocations: 107.6 kB / 432.9 MB, free: 27.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005194/0.659, allocations: 72.64 kB / 433 MB, free: 27.69 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.659, allocations: 4.281 kB / 433 MB, free: 27.69 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01089/0.6699, allocations: 2.884 MB / 435.8 MB, free: 25.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.531e-05/0.6701, allocations: 16.06 kB / 435.9 MB, free: 25.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0037/0.6738, allocations: 0.7444 MB / 436.6 MB, free: 24.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003755/0.6776, allocations: 359.5 kB / 437 MB, free: 24.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02441/0.7021, allocations: 11.97 MB / 448.9 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002332/0.7045, allocations: 95.97 kB / 449 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005003/0.705, allocations: 72 kB / 449.1 MB, free: 11.77 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 7 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off,voltageController.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 186 * 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.003319/0.7084, allocations: 0.723 MB / 449.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/0.7095, allocations: 213.4 kB / 450 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01113/0.7206, allocations: 2.846 MB / 452.9 MB, free: 7.938 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.433e-05/0.7207, allocations: 16 kB / 452.9 MB, free: 7.922 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.11e-05/0.7208, allocations: 4.125 kB / 452.9 MB, free: 7.918 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.176e-05/0.7208, allocations: 7.969 kB / 452.9 MB, free: 7.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02238/0.7432, allocations: 5.675 MB / 458.6 MB, free: 2.133 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.946e-05/0.7433, allocations: 4 kB / 458.6 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00259/0.746, allocations: 240.1 kB / 458.8 MB, free: 1.895 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004398/0.7504, allocations: 0.8074 MB / 459.6 MB, free: 1.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003858/0.7508, allocations: 43.94 kB / 459.7 MB, free: 1.027 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0309/0.7818, allocations: 13.36 MB / 473 MB, free: 2.871 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.526e-05/0.7818, allocations: 11.92 kB / 473 MB, free: 2.859 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01666/0.7985, allocations: 4.253 MB / 477.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002283/0.8009, allocations: 482.3 kB / 477.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001026/0.8019, allocations: 39.98 kB / 477.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00228/0.8042, allocations: 99.91 kB / 477.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005336/0.8048, allocations: 137.9 kB / 478 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/0.805, allocations: 51.98 kB / 478.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003138/0.8081, allocations: 1.25 MB / 479.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.8082, allocations: 4 kB / 479.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006045/0.8142, allocations: 1.058 MB / 480.4 MB, free: 11.24 MB / 362.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 (123): * Single equations (assignments): 117 * 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.0007708/0.815, allocations: 220.3 kB / 480.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0133/0.8284, allocations: 5.236 MB / 485.8 MB, free: 5.629 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/0.8284, allocations: 1.938 kB / 485.8 MB, free: 5.629 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005548/0.834, allocations: 2.071 MB / 487.9 MB, free: 3.477 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004409/0.8384, allocations: 0.5309 MB / 488.4 MB, free: 2.949 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01733/0.8558, allocations: 6.608 MB / 495.1 MB, free: 12.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002976/0.8589, allocations: 2.003 MB / 497.1 MB, free: 10.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000952/0.8599, allocations: 139.4 kB / 497.2 MB, free: 10.1 MB / 378.7 MB Notification: Performance of SimCode: time 1.432e-06/0.8599, allocations: 0 / 497.2 MB, free: 10.1 MB / 378.7 MB Notification: Performance of Templates: time 0.5321/1.392, allocations: 99.41 MB / 0.5826 GB, free: 135.7 MB / 442.7 MB