Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.045/2.045, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.211e-05/4.25e-05, allocations: 5.406 kB / 292.8 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1371, allocations: 50.41 MB / 343.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5042/0.6414, allocations: 126.4 MB / 469.5 MB, free: 264 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/0.6418, allocations: 87.45 kB / 469.6 MB, free: 220 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2492/0.891, allocations: 55.59 MB / 0.5129 GB, free: 12.22 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.8911, allocations: 0 / 0.5129 GB, free: 12.22 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000287/0.8914, allocations: 68 kB / 0.513 GB, free: 12.16 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.009626/0.901, allocations: 2.589 MB / 0.5155 GB, free: 9.508 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.9011, allocations: 8.031 kB / 0.5155 GB, free: 9.5 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001291/0.9024, allocations: 341.7 kB / 0.5158 GB, free: 9.156 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002543/0.905, allocations: 432 kB / 0.5162 GB, free: 8.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006085/0.9111, allocations: 1.746 MB / 0.5179 GB, free: 6.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002495/0.9114, allocations: 176.8 kB / 0.5181 GB, free: 6.754 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009017/0.9123, allocations: 243.8 kB / 0.5183 GB, free: 6.516 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009235/0.9215, allocations: 2.936 MB / 0.5212 GB, free: 3.422 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001209/0.9217, allocations: 15.84 kB / 0.5212 GB, free: 3.406 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004469/0.9222, allocations: 100 kB / 0.5213 GB, free: 3.309 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001783/0.9224, allocations: 96.59 kB / 0.5214 GB, free: 3.211 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008069/0.9305, allocations: 2.332 MB / 0.5237 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3183/1.249, allocations: 10.29 MB / 0.5337 GB, free: 101.3 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006461/1.255, allocations: 2.689 MB / 0.5364 GB, free: 100.3 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002768/1.258, allocations: 1.108 MB / 0.5374 GB, free: 100.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005457/1.259, allocations: 139.4 kB / 0.5376 GB, free: 100.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/1.259, allocations: 52.58 kB / 0.5376 GB, free: 100.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=152): time 5.661e-06/1.259, allocations: 3.844 kB / 0.5376 GB, free: 100.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=175): time 0.02845/1.287, allocations: 7.354 MB / 0.5448 GB, free: 99.31 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.254e-05/1.287, allocations: 176 kB / 0.545 GB, free: 99.12 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003638/1.291, allocations: 1.61 MB / 0.5466 GB, free: 98.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003993/1.291, allocations: 60.7 kB / 0.5466 GB, free: 98.87 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009306/1.292, allocations: 1.161 MB / 0.5477 GB, free: 98.51 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007448/1.293, allocations: 0.5887 MB / 0.5483 GB, free: 98.21 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/1.293, allocations: 41.5 kB / 0.5484 GB, free: 98.21 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/1.293, allocations: 381.9 kB / 0.5487 GB, free: 97.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002055/1.296, allocations: 0.8906 MB / 0.5496 GB, free: 97.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002219/1.298, allocations: 1.315 MB / 0.5509 GB, free: 97.43 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002315/1.3, allocations: 1.089 MB / 0.5519 GB, free: 97.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/1.3, allocations: 6.75 kB / 0.552 GB, free: 97.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.008089/1.308, allocations: 3.228 MB / 0.5551 GB, free: 96.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009991/1.309, allocations: 4.896 MB / 0.5599 GB, free: 91.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.222e-05/1.309, allocations: 14.86 kB / 0.5599 GB, free: 91.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003963/1.313, allocations: 0.9545 MB / 0.5608 GB, free: 91.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002708/1.316, allocations: 376.9 kB / 0.5612 GB, free: 91.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01898/1.335, allocations: 11.97 MB / 0.5729 GB, free: 83.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003008/1.338, allocations: 112.9 kB / 0.573 GB, free: 83.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004511/1.339, allocations: 75.34 kB / 0.5731 GB, free: 83.33 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/1.339, allocations: 6.375 kB / 0.5731 GB, free: 83.33 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00815/1.347, allocations: 3.018 MB / 0.576 GB, free: 82.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.46e-05/1.347, allocations: 20.09 kB / 0.576 GB, free: 82.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003809/1.351, allocations: 0.9661 MB / 0.577 GB, free: 82.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002666/1.354, allocations: 366.9 kB / 0.5773 GB, free: 82.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01873/1.372, allocations: 11.95 MB / 0.589 GB, free: 73.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002787/1.375, allocations: 103.8 kB / 0.5891 GB, free: 73.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003358/1.375, allocations: 76.11 kB / 0.5892 GB, free: 73.91 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.0005869/1.376, allocations: 224.7 kB / 0.5894 GB, free: 73.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006954/1.377, allocations: 217.4 kB / 0.5896 GB, free: 73.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007415/1.384, allocations: 2.922 MB / 0.5924 GB, free: 72.48 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.056e-05/1.384, allocations: 21.59 kB / 0.5925 GB, free: 72.47 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/1.384, allocations: 3.281 kB / 0.5925 GB, free: 72.47 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-05/1.384, allocations: 13.48 kB / 0.5925 GB, free: 72.47 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01587/1.4, allocations: 5.848 MB / 0.5982 GB, free: 70.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/1.4, allocations: 3.281 kB / 0.5982 GB, free: 70.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001965/1.402, allocations: 224.8 kB / 0.5984 GB, free: 70.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00425/1.407, allocations: 1.025 MB / 0.5994 GB, free: 69.81 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000236/1.407, allocations: 44.22 kB / 0.5994 GB, free: 69.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02059/1.427, allocations: 13.68 MB / 0.6128 GB, free: 60.21 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.427, allocations: 7.453 kB / 0.6128 GB, free: 60.21 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01127/1.439, allocations: 4.406 MB / 0.6171 GB, free: 57.42 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002256/1.441, allocations: 494.8 kB / 0.6176 GB, free: 56.97 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008426/1.442, allocations: 43.56 kB / 0.6176 GB, free: 56.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002331/1.444, allocations: 101.2 kB / 0.6177 GB, free: 56.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004888/1.445, allocations: 139.3 kB / 0.6179 GB, free: 56.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000154/1.445, allocations: 46.95 kB / 0.6179 GB, free: 56.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002675/1.448, allocations: 1.237 MB / 0.6191 GB, free: 55.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.22e-07/1.448, allocations: 0 / 0.6191 GB, free: 55.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006174/1.454, allocations: 1.195 MB / 0.6203 GB, free: 54.39 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.01135/1.465, allocations: 5.741 MB / 0.6259 GB, free: 49.17 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0124/1.478, allocations: 5.309 MB / 0.6311 GB, free: 44.21 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/1.478, allocations: 4 kB / 0.6311 GB, free: 44.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005569/1.483, allocations: 2.041 MB / 0.6331 GB, free: 42.33 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004654/1.488, allocations: 0.5228 MB / 0.6336 GB, free: 41.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01596/1.504, allocations: 5.392 MB / 0.6388 GB, free: 37.22 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002053/1.506, allocations: 2.049 MB / 0.6408 GB, free: 35.59 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003896/1.51, allocations: 0.6997 MB / 0.6415 GB, free: 35.14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001732/1.512, allocations: 0.9633 MB / 0.6425 GB, free: 34.25 MB / 442.7 MB Notification: Performance of SimCode: time 1.263e-06/1.512, allocations: 4 kB / 0.6425 GB, free: 34.25 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5272/2.039, allocations: 69.25 MB / 0.7101 GB, free: 107.7 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/2.039, allocations: 222.2 kB / 0.7103 GB, free: 107.4 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.504/7.543, allocations: 0 / 0.7103 GB, free: 107.4 MB / 458.7 MB