Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.713/1.713, allocations: 171.2 MB / 183.8 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.412e-05/3.43e-05, allocations: 4 kB / 225.1 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2569, allocations: 38.77 MB / 263.8 MB, free: 9.762 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4824/0.7393, allocations: 115.8 MB / 379.7 MB, free: 48.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/0.7397, allocations: 81.36 kB / 379.7 MB, free: 48.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2389/0.9786, allocations: 55.6 MB / 435.3 MB, free: 30.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.9787, allocations: 0 / 435.3 MB, free: 30.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004315/0.9792, allocations: 67.92 kB / 435.4 MB, free: 30.02 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.01232/0.9915, allocations: 2.58 MB / 438 MB, free: 27.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.524e-05/0.9916, allocations: 8.031 kB / 438 MB, free: 27.54 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001705/0.9933, allocations: 336.6 kB / 438.3 MB, free: 27.35 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004296/0.9977, allocations: 428.5 kB / 438.7 MB, free: 26.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009233/1.007, allocations: 1.73 MB / 440.5 MB, free: 25.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003876/1.007, allocations: 177.3 kB / 440.6 MB, free: 25.47 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001508/1.009, allocations: 239.8 kB / 440.9 MB, free: 25.31 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01029/1.019, allocations: 2.949 MB / 443.8 MB, free: 22.37 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001381/1.02, allocations: 11.84 kB / 443.8 MB, free: 22.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000707/1.02, allocations: 100 kB / 443.9 MB, free: 22.26 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001304/1.02, allocations: 100.5 kB / 444 MB, free: 22.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/1.031, allocations: 2.349 MB / 446.4 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03782/1.069, allocations: 10.08 MB / 456.5 MB, free: 9.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007137/1.076, allocations: 2.722 MB / 459.2 MB, free: 6.512 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003689/1.08, allocations: 1.104 MB / 460.3 MB, free: 5.41 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006658/1.081, allocations: 142.3 kB / 460.4 MB, free: 5.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.676e-05/1.081, allocations: 59.83 kB / 460.5 MB, free: 5.184 MB / 314.7 MB Notification: Performance of pre-optimization done (n=151): time 6.802e-06/1.081, allocations: 0 / 460.5 MB, free: 5.184 MB / 314.7 MB Notification: Performance of matching and sorting (n=174): time 0.03473/1.115, allocations: 7.31 MB / 467.8 MB, free: 13.81 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/1.116, allocations: 201.9 kB / 468 MB, free: 13.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00481/1.12, allocations: 1.581 MB / 469.6 MB, free: 11.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004716/1.121, allocations: 53.7 kB / 469.6 MB, free: 11.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00138/1.122, allocations: 1.066 MB / 470.7 MB, free: 10.81 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001152/1.124, allocations: 0.593 MB / 471.3 MB, free: 10.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/1.124, allocations: 40 kB / 471.3 MB, free: 10.17 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002743/1.124, allocations: 382.8 kB / 471.7 MB, free: 9.785 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002853/1.127, allocations: 0.8825 MB / 472.6 MB, free: 8.902 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003413/1.13, allocations: 1.325 MB / 473.9 MB, free: 7.398 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00337/1.134, allocations: 1.075 MB / 475 MB, free: 6.328 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.161e-05/1.134, allocations: 7.953 kB / 475 MB, free: 6.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.01051/1.144, allocations: 3.109 MB / 478.1 MB, free: 3.188 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.198e-05/1.145, allocations: 15.89 kB / 478.1 MB, free: 3.172 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.838e-05/1.145, allocations: 12 kB / 478.1 MB, free: 3.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004564/1.149, allocations: 0.9605 MB / 479.1 MB, free: 2.184 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002994/1.152, allocations: 367.5 kB / 479.5 MB, free: 1.824 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02506/1.177, allocations: 11.96 MB / 491.4 MB, free: 5.316 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003191/1.181, allocations: 115.9 kB / 491.5 MB, free: 5.203 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005646/1.181, allocations: 72 kB / 491.6 MB, free: 5.133 MB / 346.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.0006569/1.182, allocations: 220.5 kB / 491.8 MB, free: 4.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008641/1.183, allocations: 217.5 kB / 492 MB, free: 4.695 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01008/1.193, allocations: 2.925 MB / 495 MB, free: 1.738 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.191e-05/1.193, allocations: 16 kB / 495 MB, free: 1.723 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.111e-05/1.193, allocations: 8 kB / 495 MB, free: 1.715 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.273e-05/1.193, allocations: 7.969 kB / 495 MB, free: 1.707 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02078/1.214, allocations: 5.833 MB / 0.4891 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.739e-05/1.214, allocations: 0 / 0.4891 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002206/1.216, allocations: 224 kB / 0.4893 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005134/1.221, allocations: 1.023 MB / 0.4903 GB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004275/1.222, allocations: 43.97 kB / 0.4903 GB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2659/1.488, allocations: 13.65 MB / 0.5037 GB, free: 84.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.488, allocations: 0 / 0.5037 GB, free: 84.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009535/1.497, allocations: 4.358 MB / 0.5079 GB, free: 83.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001492/1.499, allocations: 498.3 kB / 0.5084 GB, free: 83.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004644/1.499, allocations: 41.12 kB / 0.5084 GB, free: 83.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002037/1.501, allocations: 102.5 kB / 0.5085 GB, free: 83.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004865/1.502, allocations: 142.1 kB / 0.5087 GB, free: 83.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/1.502, allocations: 47.09 kB / 0.5087 GB, free: 83.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0025/1.505, allocations: 1.213 MB / 0.5099 GB, free: 83.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.505, allocations: 0 / 0.5099 GB, free: 83.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003251/1.508, allocations: 0.7446 MB / 0.5106 GB, free: 83.42 MB / 362.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.01106/1.519, allocations: 5.702 MB / 0.5162 GB, free: 81.9 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00948/1.529, allocations: 3.108 MB / 0.5192 GB, free: 81.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-05/1.529, allocations: 0 / 0.5192 GB, free: 81.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007394/1.536, allocations: 2.093 MB / 0.5213 GB, free: 80.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005237/1.541, allocations: 0.5225 MB / 0.5218 GB, free: 80.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04814/1.589, allocations: 5.294 MB / 0.527 GB, free: 79.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002924/1.592, allocations: 1.99 MB / 0.5289 GB, free: 78.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00505/1.597, allocations: 0.9769 MB / 0.5298 GB, free: 78.76 MB / 362.7 MB Notification: Performance of SimCode: time 1.593e-06/1.598, allocations: 0 / 0.5298 GB, free: 78.76 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.007/5.605, allocations: 101.7 MB / 0.6291 GB, free: 3.227 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier_res.mat does not exist to compare? outputFormat=mat