Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.594/2.594, allocations: 195 MB / 202.9 MB, free: 6.715 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.097e-05/3.118e-05, allocations: 3.312 kB / 249.8 MB, free: 5.285 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1069, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5722/0.6792, allocations: 120.1 MB / 414.4 MB, free: 2.297 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003501/0.6796, allocations: 85.95 kB / 414.5 MB, free: 2.254 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2926/0.9723, allocations: 54.57 MB / 469.1 MB, free: 2.586 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.9723, allocations: 4 kB / 469.1 MB, free: 2.582 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004343/0.9728, allocations: 63.94 kB / 469.1 MB, free: 2.52 MB / 362.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.0115/0.9843, allocations: 2.557 MB / 471.7 MB, free: 15.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.997e-05/0.9844, allocations: 8.031 kB / 471.7 MB, free: 15.89 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001368/0.9858, allocations: 241.5 kB / 471.9 MB, free: 15.65 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003255/0.989, allocations: 436.3 kB / 472.4 MB, free: 15.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007549/0.9966, allocations: 1.707 MB / 474.1 MB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/0.9969, allocations: 104.7 kB / 474.2 MB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001093/0.998, allocations: 143.9 kB / 474.3 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009255/1.007, allocations: 2.212 MB / 476.5 MB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01087/1.018, allocations: 2.598 MB / 479.1 MB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001441/1.018, allocations: 11.89 kB / 479.1 MB, free: 8.227 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004208/1.019, allocations: 0 / 479.1 MB, free: 8.227 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001989/1.019, allocations: 104.5 kB / 479.2 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03442/1.054, allocations: 9.621 MB / 488.9 MB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006443/1.06, allocations: 2.65 MB / 491.5 MB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003328/1.063, allocations: 1.081 MB / 492.6 MB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005802/1.064, allocations: 138.4 kB / 492.7 MB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.889e-05/1.064, allocations: 55.83 kB / 492.8 MB, free: 10.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=151): time 5.259e-06/1.064, allocations: 0 / 492.8 MB, free: 10.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=174): time 0.02382/1.088, allocations: 5.743 MB / 498.5 MB, free: 4.297 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/1.088, allocations: 172.2 kB / 498.7 MB, free: 4.094 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003885/1.092, allocations: 1.315 MB / 0.4883 GB, free: 2.777 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004816/1.093, allocations: 25.7 kB / 0.4883 GB, free: 2.746 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001457/1.094, allocations: 1.144 MB / 0.4894 GB, free: 1.586 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001028/1.095, allocations: 0.5697 MB / 0.49 GB, free: 1.008 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/1.095, allocations: 0 / 0.49 GB, free: 1.008 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002574/1.096, allocations: 377.9 kB / 0.4904 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3186/1.414, allocations: 0.8396 MB / 0.4912 GB, free: 88.71 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003547/1.418, allocations: 1.267 MB / 0.4924 GB, free: 88.26 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003309/1.421, allocations: 1.038 MB / 0.4934 GB, free: 88.24 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.51e-05/1.421, allocations: 6.406 kB / 0.4934 GB, free: 88.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.01101/1.432, allocations: 3.029 MB / 0.4964 GB, free: 88.12 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001113/1.433, allocations: 4.65 MB / 0.5009 GB, free: 83.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.803e-05/1.434, allocations: 14.59 kB / 0.5009 GB, free: 83.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004952/1.439, allocations: 0.9459 MB / 0.5019 GB, free: 83.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003416/1.442, allocations: 364.1 kB / 0.5022 GB, free: 83.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0238/1.466, allocations: 11.55 MB / 0.5135 GB, free: 78.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003129/1.469, allocations: 70.06 kB / 0.5136 GB, free: 78.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005143/1.47, allocations: 75.11 kB / 0.5136 GB, free: 78.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/1.47, allocations: 7.281 kB / 0.5136 GB, free: 78.09 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008924/1.479, allocations: 2.795 MB / 0.5164 GB, free: 77.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.603e-05/1.479, allocations: 14.91 kB / 0.5164 GB, free: 77.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004402/1.483, allocations: 0.9412 MB / 0.5173 GB, free: 77.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003177/1.486, allocations: 358.4 kB / 0.5176 GB, free: 77.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02204/1.508, allocations: 11.55 MB / 0.5289 GB, free: 72.83 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002922/1.511, allocations: 61.02 kB / 0.529 GB, free: 72.83 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003743/1.512, allocations: 79.3 kB / 0.5291 GB, free: 72.83 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (189): * Single equations (assignments): 182 * 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.000739/1.513, allocations: 156.6 kB / 0.5292 GB, free: 72.72 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007694/1.513, allocations: 198.9 kB / 0.5294 GB, free: 72.62 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008418/1.522, allocations: 2.736 MB / 0.5321 GB, free: 72.44 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.967e-05/1.522, allocations: 19.53 kB / 0.5321 GB, free: 72.44 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-05/1.522, allocations: 6.469 kB / 0.5321 GB, free: 72.44 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.222e-05/1.522, allocations: 8.391 kB / 0.5321 GB, free: 72.44 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01752/1.54, allocations: 5.362 MB / 0.5373 GB, free: 70.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.299e-05/1.54, allocations: 3.531 kB / 0.5373 GB, free: 70.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002409/1.542, allocations: 225.5 kB / 0.5376 GB, free: 70.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005292/1.547, allocations: 1.014 MB / 0.5385 GB, free: 70.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000386/1.548, allocations: 16.67 kB / 0.5386 GB, free: 70.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02433/1.572, allocations: 13.18 MB / 0.5514 GB, free: 61.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-05/1.572, allocations: 11.69 kB / 0.5514 GB, free: 61.08 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01176/1.584, allocations: 4.175 MB / 0.5555 GB, free: 59.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001943/1.586, allocations: 466.5 kB / 0.556 GB, free: 58.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006217/1.587, allocations: 15.73 kB / 0.556 GB, free: 58.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002608/1.589, allocations: 75.88 kB / 0.5561 GB, free: 58.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006662/1.59, allocations: 143.8 kB / 0.5562 GB, free: 58.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002104/1.59, allocations: 48.22 kB / 0.5562 GB, free: 58.89 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002522/1.593, allocations: 0.9842 MB / 0.5572 GB, free: 58.47 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.423e-06/1.593, allocations: 0 / 0.5572 GB, free: 58.47 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006859/1.6, allocations: 1.029 MB / 0.5582 GB, free: 58.46 MB / 394.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 (114): * Single equations (assignments): 109 * 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,75.0%) 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.01266/1.612, allocations: 5.525 MB / 0.5636 GB, free: 55.55 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01422/1.627, allocations: 5.157 MB / 0.5686 GB, free: 52.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/1.627, allocations: 2.688 kB / 0.5686 GB, free: 52.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00562/1.632, allocations: 2.008 MB / 0.5706 GB, free: 51.86 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004314/1.637, allocations: 414.6 kB / 0.571 GB, free: 51.61 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01781/1.655, allocations: 5.122 MB / 0.576 GB, free: 47.2 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002904/1.657, allocations: 2.036 MB / 0.578 GB, free: 45.58 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004766/1.662, allocations: 0.6375 MB / 0.5786 GB, free: 45.17 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002318/1.665, allocations: 0.9463 MB / 0.5795 GB, free: 44.3 MB / 394.7 MB Notification: Performance of SimCode: time 1.673e-06/1.665, allocations: 4 kB / 0.5795 GB, free: 44.29 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2576/1.922, allocations: 61.86 MB / 0.6399 GB, free: 8.137 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003978/1.923, allocations: 184.1 kB / 0.6401 GB, free: 7.941 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.649/8.572, allocations: 0 / 0.6401 GB, free: 7.941 MB / 410.7 MB