Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.988/1.988, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.895e-05/2.901e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3012, allocations: 44.49 MB / 294.2 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2534/0.5547, allocations: 120 MB / 414.3 MB, free: 9.715 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/0.5551, allocations: 83.95 kB / 414.3 MB, free: 9.633 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4519/1.007, allocations: 54.32 MB / 468.7 MB, free: 82.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.375e-06/1.007, allocations: 0 / 468.7 MB, free: 82.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002701/1.007, allocations: 63.94 kB / 468.7 MB, free: 82.22 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.008516/1.016, allocations: 2.55 MB / 471.3 MB, free: 79.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/1.016, allocations: 12.03 kB / 471.3 MB, free: 79.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002805/1.019, allocations: 432 kB / 471.7 MB, free: 79.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005879/1.025, allocations: 1.709 MB / 473.4 MB, free: 77.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-05/1.025, allocations: 79.95 kB / 473.5 MB, free: 77.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005522/1.025, allocations: 143.9 kB / 473.6 MB, free: 77.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006408/1.032, allocations: 2.216 MB / 475.8 MB, free: 75.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007135/1.039, allocations: 2.591 MB / 478.4 MB, free: 72.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001081/1.039, allocations: 7.844 kB / 478.4 MB, free: 72.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000307/1.039, allocations: 4 kB / 478.5 MB, free: 72.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001258/1.04, allocations: 100.5 kB / 478.5 MB, free: 72.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02386/1.064, allocations: 9.627 MB / 488.2 MB, free: 62.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004375/1.068, allocations: 2.638 MB / 490.8 MB, free: 59.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002249/1.07, allocations: 1.085 MB / 491.9 MB, free: 58.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000446/1.071, allocations: 145.9 kB / 492 MB, free: 58.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/1.071, allocations: 43.88 kB / 492.1 MB, free: 58.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=151): time 5.24e-06/1.071, allocations: 4 kB / 492.1 MB, free: 58.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=174): time 0.01789/1.089, allocations: 5.741 MB / 497.8 MB, free: 52.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/1.089, allocations: 180.2 kB / 498 MB, free: 52.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002675/1.091, allocations: 1.311 MB / 499.3 MB, free: 50.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003248/1.092, allocations: 25.7 kB / 499.3 MB, free: 50.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008169/1.093, allocations: 1.144 MB / 0.4888 GB, free: 49.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005792/1.093, allocations: 0.561 MB / 0.4893 GB, free: 49.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/1.093, allocations: 0 / 0.4893 GB, free: 49.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/1.094, allocations: 389.8 kB / 0.4897 GB, free: 48.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/1.095, allocations: 0.8434 MB / 0.4905 GB, free: 47.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001981/1.097, allocations: 1.269 MB / 0.4917 GB, free: 46.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002198/1.1, allocations: 1.036 MB / 0.4928 GB, free: 45.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.286e-05/1.1, allocations: 4 kB / 0.4928 GB, free: 45.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.007808/1.107, allocations: 3.022 MB / 0.4957 GB, free: 42.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000978/1.108, allocations: 4.655 MB / 0.5003 GB, free: 37.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.226e-05/1.109, allocations: 16 kB / 0.5003 GB, free: 37.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003898/1.112, allocations: 0.9447 MB / 0.5012 GB, free: 36.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002793/1.115, allocations: 367.4 kB / 0.5015 GB, free: 35.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0181/1.133, allocations: 11.56 MB / 0.5128 GB, free: 23.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002704/1.136, allocations: 75.84 kB / 0.5129 GB, free: 23.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004708/1.137, allocations: 72.06 kB / 0.513 GB, free: 23.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/1.137, allocations: 4 kB / 0.513 GB, free: 23.79 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007082/1.144, allocations: 2.788 MB / 0.5157 GB, free: 20.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.694e-05/1.144, allocations: 15.94 kB / 0.5157 GB, free: 20.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003555/1.147, allocations: 0.9533 MB / 0.5166 GB, free: 20 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002551/1.15, allocations: 359.5 kB / 0.517 GB, free: 19.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01773/1.168, allocations: 11.55 MB / 0.5283 GB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002544/1.17, allocations: 63.89 kB / 0.5283 GB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000418/1.171, allocations: 68 kB / 0.5284 GB, free: 7.516 MB / 362.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.0005374/1.171, allocations: 152.3 kB / 0.5285 GB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006488/1.178, allocations: 2.603 MB / 0.5311 GB, free: 4.738 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008775/1.179, allocations: 197.6 kB / 0.5313 GB, free: 4.543 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007346/1.186, allocations: 2.728 MB / 0.5339 GB, free: 1.781 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/1.186, allocations: 16 kB / 0.5339 GB, free: 1.766 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/1.186, allocations: 8.188 kB / 0.5339 GB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-05/1.186, allocations: 11.92 kB / 0.534 GB, free: 1.746 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01567/1.202, allocations: 5.364 MB / 0.5392 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/1.202, allocations: 0 / 0.5392 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002066/1.204, allocations: 223.7 kB / 0.5394 GB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004728/1.209, allocations: 1.008 MB / 0.5404 GB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003763/1.209, allocations: 15.98 kB / 0.5404 GB, free: 11.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02384/1.233, allocations: 13.19 MB / 0.5533 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.089e-05/1.233, allocations: 4 kB / 0.5533 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01116/1.244, allocations: 4.183 MB / 0.5574 GB, free: 9.008 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001834/1.246, allocations: 467.1 kB / 0.5578 GB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007579/1.247, allocations: 15.98 kB / 0.5578 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002177/1.249, allocations: 71.91 kB / 0.5579 GB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005784/1.25, allocations: 149.7 kB / 0.5581 GB, free: 8.301 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001718/1.25, allocations: 44 kB / 0.5581 GB, free: 8.258 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002382/1.252, allocations: 0.9865 MB / 0.5591 GB, free: 7.277 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.252, allocations: 3.938 kB / 0.5591 GB, free: 7.273 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006402/1.259, allocations: 1.031 MB / 0.5601 GB, free: 6.242 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.01244/1.271, allocations: 5.526 MB / 0.5655 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.2838/1.555, allocations: 5.15 MB / 0.5705 GB, free: 103.6 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/1.555, allocations: 1.156 kB / 0.5705 GB, free: 103.6 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005145/1.56, allocations: 2.004 MB / 0.5724 GB, free: 103 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004487/1.565, allocations: 412.8 kB / 0.5728 GB, free: 103 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01599/1.581, allocations: 5.134 MB / 0.5779 GB, free: 102 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002433/1.583, allocations: 2.032 MB / 0.5798 GB, free: 101.2 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003767/1.587, allocations: 0.6339 MB / 0.5805 GB, free: 101.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001784/1.589, allocations: 0.9511 MB / 0.5814 GB, free: 101.2 MB / 394.7 MB Notification: Performance of SimCode: time 1.452e-06/1.589, allocations: 0 / 0.5814 GB, free: 101.2 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2017/1.791, allocations: 59.38 MB / 0.6394 GB, free: 65.27 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/1.791, allocations: 176.7 kB / 0.6395 GB, free: 65.08 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.283/7.074, allocations: 0 / 0.6395 GB, free: 65.08 MB / 394.7 MB