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 1.945/1.945, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.428e-05/3.44e-05, allocations: 8 kB / 292.1 MB, free: 8.852 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09/0.09006, allocations: 50.4 MB / 342.5 MB, free: 6.422 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4692/0.5593, allocations: 126.4 MB / 469 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.5596, allocations: 87.14 kB / 469.1 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2217/0.7812, allocations: 55.6 MB / 0.5123 GB, free: 12.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.915e-06/0.7813, allocations: 0 / 0.5123 GB, free: 12.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002483/0.7816, allocations: 64 kB / 0.5124 GB, free: 12.61 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: 617 * Number of variables: 617 Notification: Performance of Generate backend data structure: time 0.007384/0.789, allocations: 2.585 MB / 0.5149 GB, free: 9.969 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.789, allocations: 12.03 kB / 0.5149 GB, free: 9.957 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002265/0.7913, allocations: 428 kB / 0.5154 GB, free: 9.535 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005078/0.7964, allocations: 1.746 MB / 0.5171 GB, free: 7.734 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002118/0.7967, allocations: 180.8 kB / 0.5172 GB, free: 7.555 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007264/0.7974, allocations: 239.9 kB / 0.5175 GB, free: 7.32 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01495/0.8124, allocations: 2.932 MB / 0.5203 GB, free: 4.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001148/0.8125, allocations: 19.83 kB / 0.5203 GB, free: 4.211 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004234/0.813, allocations: 104 kB / 0.5204 GB, free: 4.109 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000149/0.8131, allocations: 96.59 kB / 0.5205 GB, free: 4.012 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006787/0.8199, allocations: 2.321 MB / 0.5228 GB, free: 1.684 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3106/1.131, allocations: 10.3 MB / 0.5329 GB, free: 101.4 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003982/1.135, allocations: 2.689 MB / 0.5355 GB, free: 100.4 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00201/1.137, allocations: 1.103 MB / 0.5366 GB, free: 100.4 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003447/1.137, allocations: 146.1 kB / 0.5367 GB, free: 100.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/1.137, allocations: 51.33 kB / 0.5367 GB, free: 100.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=152): time 5.164e-06/1.137, allocations: 0 / 0.5367 GB, free: 100.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=175): time 0.02125/1.158, allocations: 7.353 MB / 0.5439 GB, free: 99.44 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/1.158, allocations: 174.4 kB / 0.5441 GB, free: 99.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003114/1.162, allocations: 1.6 MB / 0.5457 GB, free: 99.03 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002339/1.162, allocations: 59.12 kB / 0.5457 GB, free: 99 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006522/1.162, allocations: 1.094 MB / 0.5468 GB, free: 98.57 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004927/1.163, allocations: 0.5831 MB / 0.5474 GB, free: 98.27 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/1.163, allocations: 44.31 kB / 0.5474 GB, free: 98.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/1.163, allocations: 388.7 kB / 0.5478 GB, free: 97.96 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/1.165, allocations: 0.8869 MB / 0.5486 GB, free: 97.96 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001988/1.167, allocations: 1.318 MB / 0.5499 GB, free: 97.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002023/1.169, allocations: 1.085 MB / 0.551 GB, free: 97.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/1.169, allocations: 6.875 kB / 0.551 GB, free: 97.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.006587/1.176, allocations: 3.094 MB / 0.554 GB, free: 97.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008945/1.177, allocations: 4.716 MB / 0.5586 GB, free: 92.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.652e-05/1.177, allocations: 19.39 kB / 0.5586 GB, free: 92.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00326/1.18, allocations: 0.9611 MB / 0.5596 GB, free: 92.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001933/1.182, allocations: 369.5 kB / 0.5599 GB, free: 92.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01638/1.198, allocations: 11.98 MB / 0.5716 GB, free: 84.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002173/1.201, allocations: 117.3 kB / 0.5717 GB, free: 84.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002333/1.201, allocations: 72.16 kB / 0.5718 GB, free: 84.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/1.201, allocations: 9.156 kB / 0.5718 GB, free: 84.02 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006429/1.207, allocations: 3.016 MB / 0.5747 GB, free: 83.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.743e-05/1.207, allocations: 18.81 kB / 0.5748 GB, free: 83.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002812/1.21, allocations: 0.954 MB / 0.5757 GB, free: 82.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/1.212, allocations: 367.5 kB / 0.576 GB, free: 82.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01594/1.228, allocations: 12.05 MB / 0.5878 GB, free: 74.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/1.229, allocations: 103.1 kB / 0.5879 GB, free: 74.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002103/1.23, allocations: 72.31 kB / 0.588 GB, free: 74.59 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (192): * Single equations (assignments): 185 * 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: 4 * 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: 1 {(6,72.2%) 27} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005079/1.23, allocations: 229.3 kB / 0.5882 GB, free: 74.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006476/1.231, allocations: 216.1 kB / 0.5884 GB, free: 74.29 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006217/1.237, allocations: 2.926 MB / 0.5913 GB, free: 73.14 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/1.237, allocations: 17.03 kB / 0.5913 GB, free: 73.14 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/1.237, allocations: 7.25 kB / 0.5913 GB, free: 73.14 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.199e-05/1.237, allocations: 7.5 kB / 0.5913 GB, free: 73.14 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01325/1.25, allocations: 5.859 MB / 0.597 GB, free: 70.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/1.25, allocations: 0 / 0.597 GB, free: 70.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001405/1.252, allocations: 222.6 kB / 0.5972 GB, free: 70.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00367/1.256, allocations: 1.032 MB / 0.5982 GB, free: 70.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002199/1.256, allocations: 42.33 kB / 0.5983 GB, free: 70.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01813/1.274, allocations: 13.67 MB / 0.6116 GB, free: 60.89 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.802e-06/1.274, allocations: 3.812 kB / 0.6116 GB, free: 60.89 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008777/1.283, allocations: 4.404 MB / 0.6159 GB, free: 58.37 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001475/1.284, allocations: 489.6 kB / 0.6164 GB, free: 57.92 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00046/1.285, allocations: 43.52 kB / 0.6164 GB, free: 57.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001644/1.286, allocations: 108.4 kB / 0.6165 GB, free: 57.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000385/1.287, allocations: 142.4 kB / 0.6167 GB, free: 57.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001607/1.287, allocations: 51.84 kB / 0.6167 GB, free: 57.67 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002306/1.289, allocations: 1.223 MB / 0.6179 GB, free: 56.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.3e-07/1.289, allocations: 0 / 0.6179 GB, free: 56.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004934/1.294, allocations: 1.195 MB / 0.6191 GB, free: 55.35 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (115): * Single equations (assignments): 110 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,72.2%) 27,(2,100.0%) 4} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007788/1.295, allocations: 385 kB / 0.6195 GB, free: 55.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009448/1.305, allocations: 5.266 MB / 0.6246 GB, free: 50.14 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.742e-06/1.305, allocations: 0 / 0.6246 GB, free: 50.14 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003707/1.308, allocations: 2.036 MB / 0.6266 GB, free: 48.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002998/1.311, allocations: 0.5327 MB / 0.6271 GB, free: 47.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/1.322, allocations: 4.738 MB / 0.6317 GB, free: 43.63 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001933/1.324, allocations: 2.032 MB / 0.6337 GB, free: 42.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007282/1.324, allocations: 131.3 kB / 0.6338 GB, free: 41.89 MB / 442.7 MB Notification: Performance of SimCode: time 1.644e-06/1.324, allocations: 3.938 kB / 0.6339 GB, free: 41.89 MB / 442.7 MB Notification: Performance of Templates: time 0.3592/1.684, allocations: 90.1 MB / 0.7218 GB, free: 109.4 MB / 458.7 MB