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.809/1.809, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.786e-05/2.778e-05, allocations: 0 / 225.1 MB, free: 2.605 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3315, allocations: 38.76 MB / 263.9 MB, free: 9.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5935/0.9251, allocations: 115.8 MB / 379.7 MB, free: 48.69 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004026/0.9255, allocations: 89 kB / 379.8 MB, free: 48.69 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2358/1.161, allocations: 55.61 MB / 435.4 MB, free: 30.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.934e-06/1.161, allocations: 0 / 435.4 MB, free: 30.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002872/1.162, allocations: 67.94 kB / 435.4 MB, free: 30.27 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.00858/1.17, allocations: 2.566 MB / 438 MB, free: 27.81 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/1.17, allocations: 19.97 kB / 438 MB, free: 27.79 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001061/1.171, allocations: 341 kB / 438.4 MB, free: 27.6 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002222/1.174, allocations: 424.5 kB / 438.8 MB, free: 27.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0055/1.179, allocations: 1.727 MB / 440.5 MB, free: 25.83 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/1.179, allocations: 176.4 kB / 440.7 MB, free: 25.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006784/1.18, allocations: 252.8 kB / 440.9 MB, free: 25.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007325/1.187, allocations: 2.905 MB / 443.8 MB, free: 22.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001032/1.188, allocations: 11.91 kB / 443.8 MB, free: 22.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003646/1.188, allocations: 104 kB / 443.9 MB, free: 22.47 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001182/1.188, allocations: 100.5 kB / 444 MB, free: 22.37 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006734/1.195, allocations: 2.32 MB / 446.4 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02364/1.219, allocations: 10.08 MB / 456.4 MB, free: 9.656 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004506/1.223, allocations: 2.686 MB / 459.1 MB, free: 6.789 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002178/1.225, allocations: 1.12 MB / 460.2 MB, free: 5.676 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004352/1.226, allocations: 134.4 kB / 460.4 MB, free: 5.527 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/1.226, allocations: 59.77 kB / 460.4 MB, free: 5.457 MB / 314.7 MB Notification: Performance of pre-optimization done (n=151): time 3.707e-06/1.226, allocations: 0 / 460.4 MB, free: 5.457 MB / 314.7 MB Notification: Performance of matching and sorting (n=174): time 0.02665/1.252, allocations: 7.308 MB / 467.7 MB, free: 14.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/1.253, allocations: 201.9 kB / 467.9 MB, free: 13.85 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003901/1.257, allocations: 1.577 MB / 469.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004372/1.257, allocations: 57.7 kB / 469.6 MB, free: 12.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001109/1.258, allocations: 1.07 MB / 470.6 MB, free: 11.08 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008962/1.259, allocations: 0.5814 MB / 471.2 MB, free: 10.49 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/1.259, allocations: 36 kB / 471.3 MB, free: 10.46 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000232/1.26, allocations: 394.8 kB / 471.6 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002345/1.262, allocations: 0.8786 MB / 472.5 MB, free: 9.184 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002795/1.265, allocations: 1.309 MB / 473.8 MB, free: 7.695 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002962/1.268, allocations: 1.083 MB / 474.9 MB, free: 6.613 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-05/1.268, allocations: 4 kB / 474.9 MB, free: 6.609 MB / 330.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.009047/1.277, allocations: 3.081 MB / 478 MB, free: 3.504 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/1.277, allocations: 16.2 kB / 478 MB, free: 3.488 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.595e-05/1.277, allocations: 16 kB / 478 MB, free: 3.473 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004282/1.281, allocations: 0.9642 MB / 479 MB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002837/1.284, allocations: 363.4 kB / 479.4 MB, free: 2.137 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0229/1.307, allocations: 11.96 MB / 491.3 MB, free: 5.629 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002839/1.31, allocations: 115.9 kB / 491.4 MB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002428/1.31, allocations: 76.56 kB / 491.5 MB, free: 5.441 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.0005256/1.311, allocations: 212.5 kB / 491.7 MB, free: 5.227 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000533/1.311, allocations: 225.4 kB / 491.9 MB, free: 5.004 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008108/1.319, allocations: 2.917 MB / 494.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.302e-05/1.319, allocations: 16 kB / 494.9 MB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/1.319, allocations: 8 kB / 494.9 MB, free: 2.035 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.608e-05/1.319, allocations: 7.969 kB / 494.9 MB, free: 2.027 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01621/1.336, allocations: 5.837 MB / 0.489 GB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.611e-05/1.336, allocations: 0 / 0.489 GB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002028/1.338, allocations: 223.9 kB / 0.4892 GB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004601/1.342, allocations: 1.019 MB / 0.4902 GB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000201/1.343, allocations: 44.17 kB / 0.4902 GB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2861/1.629, allocations: 13.66 MB / 0.5036 GB, free: 84.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.629, allocations: 2.25 kB / 0.5036 GB, free: 84.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009711/1.639, allocations: 4.354 MB / 0.5078 GB, free: 84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001719/1.64, allocations: 494.2 kB / 0.5083 GB, free: 83.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005092/1.641, allocations: 40.08 kB / 0.5083 GB, free: 83.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002119/1.643, allocations: 110 kB / 0.5084 GB, free: 83.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004793/1.643, allocations: 140.5 kB / 0.5086 GB, free: 83.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/1.644, allocations: 44.78 kB / 0.5086 GB, free: 83.9 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002536/1.646, allocations: 1.21 MB / 0.5098 GB, free: 83.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.02e-07/1.646, allocations: 4.656 kB / 0.5098 GB, free: 83.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003813/1.65, allocations: 0.7429 MB / 0.5105 GB, free: 83.74 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.0108/1.661, allocations: 5.696 MB / 0.5161 GB, free: 82.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006897/1.668, allocations: 3.033 MB / 0.5191 GB, free: 81.61 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/1.668, allocations: 2.656 kB / 0.5191 GB, free: 81.61 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004755/1.673, allocations: 2.04 MB / 0.521 GB, free: 81.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004132/1.677, allocations: 0.5204 MB / 0.5216 GB, free: 81.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/1.692, allocations: 5.286 MB / 0.5267 GB, free: 79.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002407/1.695, allocations: 1.994 MB / 0.5287 GB, free: 79.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002313/1.697, allocations: 0.9757 MB / 0.5296 GB, free: 79.18 MB / 362.7 MB Notification: Performance of SimCode: time 1.693e-06/1.697, allocations: 3 kB / 0.5296 GB, free: 79.18 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.133/5.829, allocations: 101.5 MB / 0.6287 GB, free: 4.305 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