Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.769/1.769, allocations: 171.2 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.381e-05/2.404e-05, allocations: 4 kB / 219.6 MB, free: 6.941 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2619, allocations: 38.78 MB / 258.4 MB, free: 12.17 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4985/0.7604, allocations: 115.2 MB / 373.5 MB, free: 50.74 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/0.7607, allocations: 83.78 kB / 373.6 MB, free: 50.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2485/1.009, allocations: 54.9 MB / 428.5 MB, free: 40.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.003e-06/1.009, allocations: 0 / 428.5 MB, free: 40.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002959/1.01, allocations: 67.94 kB / 428.6 MB, free: 40.13 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: 610 * Number of variables: 610 Notification: Performance of Generate backend data structure: time 0.009202/1.019, allocations: 2.577 MB / 431.1 MB, free: 37.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/1.019, allocations: 8.031 kB / 431.1 MB, free: 37.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002703/1.022, allocations: 424.5 kB / 431.6 MB, free: 37.08 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005687/1.027, allocations: 1.733 MB / 433.3 MB, free: 35.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/1.027, allocations: 76 kB / 433.4 MB, free: 35.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008131/1.028, allocations: 143.9 kB / 433.5 MB, free: 35.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006944/1.035, allocations: 2.212 MB / 435.7 MB, free: 32.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00831/1.044, allocations: 2.607 MB / 438.3 MB, free: 30.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001363/1.044, allocations: 3.984 kB / 438.3 MB, free: 30.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005148/1.044, allocations: 4 kB / 438.3 MB, free: 30.12 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001346/1.045, allocations: 100.5 kB / 438.4 MB, free: 30.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02549/1.07, allocations: 9.627 MB / 448.1 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004725/1.075, allocations: 2.636 MB / 450.7 MB, free: 17.3 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002465/1.077, allocations: 1.088 MB / 451.8 MB, free: 16.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005028/1.078, allocations: 138.4 kB / 451.9 MB, free: 16.06 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/1.078, allocations: 51.88 kB / 452 MB, free: 16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=151): time 4.439e-06/1.078, allocations: 4 kB / 452 MB, free: 16 MB / 314.7 MB Notification: Performance of matching and sorting (n=174): time 0.01774/1.096, allocations: 5.746 MB / 457.7 MB, free: 10.2 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.264e-05/1.096, allocations: 201.9 kB / 457.9 MB, free: 9.957 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002991/1.099, allocations: 1.311 MB / 459.2 MB, free: 8.645 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004401/1.099, allocations: 25.7 kB / 459.3 MB, free: 8.613 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009905/1.1, allocations: 1.148 MB / 460.4 MB, free: 7.449 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007912/1.101, allocations: 0.5658 MB / 461 MB, free: 6.875 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/1.101, allocations: 0 / 461 MB, free: 6.875 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/1.101, allocations: 381.9 kB / 461.3 MB, free: 6.496 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001905/1.103, allocations: 0.8395 MB / 462.2 MB, free: 5.656 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002195/1.106, allocations: 1.275 MB / 463.5 MB, free: 4.203 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002502/1.108, allocations: 1.04 MB / 464.5 MB, free: 3.168 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.995e-05/1.108, allocations: 4 kB / 464.5 MB, free: 3.164 MB / 314.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.008401/1.117, allocations: 3.022 MB / 467.5 MB, free: 120 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.876e-05/1.117, allocations: 12 kB / 467.5 MB, free: 108 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.235e-05/1.117, allocations: 12.31 kB / 467.5 MB, free: 96 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004353/1.121, allocations: 0.9448 MB / 468.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002942/1.124, allocations: 371.5 kB / 468.9 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02269/1.147, allocations: 11.55 MB / 480.4 MB, free: 2.734 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002804/1.15, allocations: 71.8 kB / 480.5 MB, free: 2.664 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005444/1.15, allocations: 84.05 kB / 480.6 MB, free: 2.582 MB / 330.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.0005897/1.151, allocations: 152.5 kB / 480.7 MB, free: 2.426 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007809/1.159, allocations: 2.592 MB / 483.3 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009523/1.16, allocations: 197.7 kB / 483.5 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008422/1.168, allocations: 2.732 MB / 486.2 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-05/1.168, allocations: 16 kB / 486.2 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.759e-05/1.168, allocations: 8 kB / 486.2 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.922e-05/1.168, allocations: 7.969 kB / 486.3 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01714/1.185, allocations: 5.372 MB / 491.6 MB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.232e-05/1.186, allocations: 0 / 491.6 MB, free: 7.348 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002127/1.188, allocations: 223.9 kB / 491.8 MB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00477/1.192, allocations: 0.9998 MB / 492.8 MB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003569/1.193, allocations: 19.98 kB / 492.9 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2641/1.457, allocations: 13.19 MB / 0.4942 GB, free: 72.86 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/1.457, allocations: 3.344 kB / 0.4942 GB, free: 72.86 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009774/1.467, allocations: 4.183 MB / 0.4983 GB, free: 72.4 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001734/1.469, allocations: 475.6 kB / 0.4987 GB, free: 72.3 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008031/1.469, allocations: 15.91 kB / 0.4987 GB, free: 72.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002493/1.472, allocations: 74.67 kB / 0.4988 GB, free: 72.3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006414/1.473, allocations: 139.2 kB / 0.499 GB, free: 72.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001622/1.473, allocations: 48.34 kB / 0.499 GB, free: 72.3 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002191/1.475, allocations: 0.9839 MB / 0.5 GB, free: 72.2 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.41e-07/1.475, allocations: 0 / 0.5 GB, free: 72.2 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003792/1.479, allocations: 0.6324 MB / 0.5006 GB, free: 72.19 MB / 346.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.009978/1.489, allocations: 5.505 MB / 0.506 GB, free: 70.67 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006786/1.496, allocations: 2.971 MB / 0.5089 GB, free: 70.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/1.496, allocations: 3.062 kB / 0.5089 GB, free: 70.05 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004756/1.501, allocations: 2.005 MB / 0.5108 GB, free: 69.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003695/1.504, allocations: 411 kB / 0.5112 GB, free: 69.47 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01477/1.519, allocations: 5.075 MB / 0.5162 GB, free: 68.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002043/1.521, allocations: 2.011 MB / 0.5181 GB, free: 67.62 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002007/1.523, allocations: 336.2 kB / 0.5184 GB, free: 67.58 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001862/1.525, allocations: 0.9686 MB / 0.5194 GB, free: 67.57 MB / 346.7 MB Notification: Performance of SimCode: time 1.042e-06/1.525, allocations: 0 / 0.5194 GB, free: 67.57 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1371/1.662, allocations: 51.44 MB / 0.5696 GB, free: 39.78 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/1.663, allocations: 186.8 kB / 0.5698 GB, free: 39.57 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.486/6.148, allocations: 0 / 0.5698 GB, free: 39.57 MB / 346.7 MB