Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.837/1.837, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.214e-05/4.255e-05, allocations: 8 kB / 255.4 MB, free: 3.105 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1001, allocations: 44.51 MB / 299.9 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4623/0.5625, allocations: 120.7 MB / 420.6 MB, free: 4.957 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/0.5629, allocations: 85.89 kB / 420.7 MB, free: 4.945 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2667/0.8296, allocations: 55.02 MB / 475.7 MB, free: 9.031 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.8296, allocations: 0 / 475.7 MB, free: 9.031 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004887/0.8301, allocations: 63.94 kB / 475.8 MB, free: 8.969 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.03347/0.8636, allocations: 2.554 MB / 478.3 MB, free: 6.355 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.08e-05/0.8637, allocations: 8.031 kB / 478.3 MB, free: 6.348 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001789/0.8655, allocations: 341.5 kB / 478.7 MB, free: 6.004 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003139/0.8687, allocations: 432.3 kB / 479.1 MB, free: 5.578 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01091/0.8797, allocations: 1.703 MB / 480.8 MB, free: 3.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003714/0.8801, allocations: 180.7 kB / 481 MB, free: 3.641 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00184/0.882, allocations: 243.9 kB / 481.2 MB, free: 3.402 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01054/0.8926, allocations: 2.936 MB / 484.2 MB, free: 312 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000126/0.8927, allocations: 7.906 kB / 484.2 MB, free: 304 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004393/0.8932, allocations: 104 kB / 484.3 MB, free: 200 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001619/0.8934, allocations: 92.55 kB / 484.4 MB, free: 104 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008298/0.9017, allocations: 2.357 MB / 486.7 MB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02999/0.9317, allocations: 10.08 MB / 496.8 MB, free: 3.336 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005985/0.9378, allocations: 2.713 MB / 499.5 MB, free: 456 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00287/0.9407, allocations: 1.105 MB / 0.4889 GB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005416/0.9413, allocations: 146.3 kB / 0.489 GB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.729e-05/0.9414, allocations: 51.88 kB / 0.4891 GB, free: 15.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=151): time 4.118e-06/0.9414, allocations: 0 / 0.4891 GB, free: 15.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=174): time 0.03026/0.9717, allocations: 7.316 MB / 0.4962 GB, free: 7.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.9718, allocations: 172.2 kB / 0.4964 GB, free: 7.543 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004291/0.9761, allocations: 1.585 MB / 0.4979 GB, free: 5.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004509/0.9766, allocations: 53.7 kB / 0.498 GB, free: 5.852 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001221/0.9779, allocations: 1.067 MB / 0.499 GB, free: 4.773 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001046/0.9789, allocations: 0.5892 MB / 0.4996 GB, free: 4.176 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/0.9792, allocations: 44 kB / 0.4996 GB, free: 4.133 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002558/0.9795, allocations: 390.7 kB / 0.5 GB, free: 3.742 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002551/0.982, allocations: 0.8786 MB / 0.5009 GB, free: 2.863 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003136/0.9852, allocations: 1.312 MB / 0.5021 GB, free: 1.387 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003069/0.9883, allocations: 1.079 MB / 0.5032 GB, free: 316 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.93e-05/0.9884, allocations: 7.938 kB / 0.5032 GB, free: 308 kB / 394.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.009741/0.9982, allocations: 3.108 MB / 0.5062 GB, free: 13.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001914/1, allocations: 4.537 MB / 0.5107 GB, free: 8.277 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.915e-05/1, allocations: 15.98 kB / 0.5107 GB, free: 8.262 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004533/1.005, allocations: 0.9525 MB / 0.5116 GB, free: 7.293 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002997/1.008, allocations: 371.4 kB / 0.512 GB, free: 6.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2908/1.299, allocations: 11.95 MB / 0.5236 GB, free: 95.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003405/1.302, allocations: 114.5 kB / 0.5237 GB, free: 95.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005438/1.303, allocations: 74.16 kB / 0.5238 GB, free: 95.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/1.303, allocations: 6.969 kB / 0.5238 GB, free: 95.81 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01253/1.315, allocations: 3.03 MB / 0.5268 GB, free: 95.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000105/1.316, allocations: 17.09 kB / 0.5268 GB, free: 95.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005597/1.321, allocations: 0.9529 MB / 0.5277 GB, free: 95.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003998/1.325, allocations: 357.5 kB / 0.5281 GB, free: 95.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02882/1.354, allocations: 12.08 MB / 0.5399 GB, free: 90.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002337/1.356, allocations: 105.7 kB / 0.54 GB, free: 90.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000339/1.357, allocations: 69.77 kB / 0.54 GB, free: 90.37 MB / 410.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.000796/1.358, allocations: 223.2 kB / 0.5402 GB, free: 90.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009384/1.359, allocations: 213.7 kB / 0.5404 GB, free: 90.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01098/1.37, allocations: 2.923 MB / 0.5433 GB, free: 90.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.119e-05/1.37, allocations: 19.38 kB / 0.5433 GB, free: 90.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.168e-05/1.37, allocations: 3.875 kB / 0.5433 GB, free: 90.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-05/1.37, allocations: 7.594 kB / 0.5433 GB, free: 90.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01835/1.388, allocations: 5.827 MB / 0.549 GB, free: 89.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.992e-05/1.388, allocations: 3.906 kB / 0.549 GB, free: 89.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002041/1.39, allocations: 226 kB / 0.5492 GB, free: 89.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00445/1.395, allocations: 1.028 MB / 0.5502 GB, free: 89.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003797/1.395, allocations: 41.53 kB / 0.5503 GB, free: 89.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02124/1.416, allocations: 13.65 MB / 0.5636 GB, free: 80.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/1.417, allocations: 6.062 kB / 0.5636 GB, free: 80.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0098/1.426, allocations: 4.355 MB / 0.5679 GB, free: 78.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001652/1.428, allocations: 494.4 kB / 0.5684 GB, free: 78.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000491/1.429, allocations: 39.11 kB / 0.5684 GB, free: 78.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002129/1.431, allocations: 108.8 kB / 0.5685 GB, free: 78.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005259/1.431, allocations: 151.6 kB / 0.5686 GB, free: 78.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00016/1.431, allocations: 37.16 kB / 0.5687 GB, free: 78.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002537/1.434, allocations: 1.217 MB / 0.5699 GB, free: 77.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.02e-07/1.434, allocations: 1.219 kB / 0.5699 GB, free: 77.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005482/1.439, allocations: 1.183 MB / 0.571 GB, free: 77.64 MB / 410.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.01087/1.45, allocations: 5.684 MB / 0.5766 GB, free: 74.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01212/1.463, allocations: 5.383 MB / 0.5818 GB, free: 72.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-05/1.463, allocations: 2.719 kB / 0.5818 GB, free: 72.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004836/1.467, allocations: 2.089 MB / 0.5839 GB, free: 70.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004265/1.472, allocations: 0.523 MB / 0.5844 GB, free: 70.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01561/1.487, allocations: 5.32 MB / 0.5896 GB, free: 68.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002024/1.49, allocations: 2.012 MB / 0.5915 GB, free: 67.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001941/1.492, allocations: 0.9778 MB / 0.5925 GB, free: 67.04 MB / 410.7 MB Notification: Performance of SimCode: time 1.282e-06/1.492, allocations: 0 / 0.5925 GB, free: 67.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.534/6.025, allocations: 102.3 MB / 0.6924 GB, free: 92.88 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier_res.mat does not exist to compare? outputFormat=mat