Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.704/1.704, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.325e-05/3.332e-05, allocations: 0 / 225.1 MB, free: 2.688 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.258, allocations: 38.77 MB / 263.9 MB, free: 9.758 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1585/0.4165, allocations: 92.72 MB / 356.6 MB, free: 12.89 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003235/0.4169, allocations: 83.95 kB / 356.7 MB, free: 12.81 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3791/0.796, allocations: 40.29 MB / 396.9 MB, free: 76.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.7961, allocations: 0 / 396.9 MB, free: 76.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001946/0.7963, allocations: 55.84 kB / 397 MB, free: 76.68 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.006537/0.8029, allocations: 1.932 MB / 398.9 MB, free: 74.7 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.8029, allocations: 11.97 kB / 398.9 MB, free: 74.69 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007145/0.8037, allocations: 269.7 kB / 399.2 MB, free: 74.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.8047, allocations: 249.3 kB / 399.4 MB, free: 74.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003484/0.8082, allocations: 1.281 MB / 400.7 MB, free: 72.87 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.8084, allocations: 139.5 kB / 400.9 MB, free: 72.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004648/0.8089, allocations: 188.2 kB / 401.1 MB, free: 72.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005409/0.8143, allocations: 2.259 MB / 403.3 MB, free: 70.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.32e-05/0.8144, allocations: 11.84 kB / 403.3 MB, free: 70.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002662/0.8147, allocations: 72 kB / 403.4 MB, free: 70.13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000112/0.8148, allocations: 87.5 kB / 403.5 MB, free: 70.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004768/0.8196, allocations: 1.752 MB / 405.2 MB, free: 68.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0166/0.8363, allocations: 7.123 MB / 412.4 MB, free: 61.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002463/0.8388, allocations: 1.265 MB / 413.6 MB, free: 59.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/0.8404, allocations: 0.6937 MB / 414.3 MB, free: 59.01 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003596/0.8408, allocations: 125.8 kB / 414.4 MB, free: 58.87 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.8409, allocations: 43.34 kB / 414.5 MB, free: 58.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=90): time 3.877e-06/0.8409, allocations: 4 kB / 414.5 MB, free: 58.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=113): time 0.02526/0.8662, allocations: 5.949 MB / 420.4 MB, free: 52.81 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.8663, allocations: 72.36 kB / 420.5 MB, free: 52.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002957/0.8692, allocations: 0.9987 MB / 421.5 MB, free: 51.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003265/0.8696, allocations: 45.7 kB / 421.5 MB, free: 51.66 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000839/0.8705, allocations: 0.836 MB / 422.4 MB, free: 50.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006799/0.8712, allocations: 389.8 kB / 422.8 MB, free: 50.44 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.8714, allocations: 24 kB / 422.8 MB, free: 50.42 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.8716, allocations: 362.8 kB / 423.1 MB, free: 50.05 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002282/0.8739, allocations: 0.6351 MB / 423.8 MB, free: 49.42 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002534/0.8764, allocations: 0.9242 MB / 424.7 MB, free: 48.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002372/0.8789, allocations: 0.7856 MB / 425.5 MB, free: 47.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-05/0.8789, allocations: 4 kB / 425.5 MB, free: 47.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00812/0.887, allocations: 2.23 MB / 427.7 MB, free: 45.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.214e-05/0.8871, allocations: 12 kB / 427.7 MB, free: 45.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.693e-05/0.8872, allocations: 8 kB / 427.7 MB, free: 45.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003756/0.8909, allocations: 0.6258 MB / 428.4 MB, free: 44.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00275/0.8938, allocations: 287.6 kB / 428.6 MB, free: 44.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01491/0.9087, allocations: 6.299 MB / 434.9 MB, free: 37.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/0.9112, allocations: 87.97 kB / 435 MB, free: 37.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002499/0.9115, allocations: 56 kB / 435.1 MB, free: 37.69 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,76.0%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004566/0.912, allocations: 186.1 kB / 435.3 MB, free: 37.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000475/0.9125, allocations: 134.3 kB / 435.4 MB, free: 37.37 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008036/0.9206, allocations: 2.185 MB / 437.6 MB, free: 35.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.338e-05/0.9207, allocations: 16 kB / 437.6 MB, free: 35.15 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-05/0.9207, allocations: 7.984 kB / 437.6 MB, free: 35.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.403e-05/0.9207, allocations: 3.984 kB / 437.6 MB, free: 35.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01666/0.9374, allocations: 4.318 MB / 441.9 MB, free: 30.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.961e-05/0.9375, allocations: 4 kB / 441.9 MB, free: 30.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002045/0.9396, allocations: 184.1 kB / 442.1 MB, free: 30.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00359/0.9432, allocations: 0.7222 MB / 442.8 MB, free: 29.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002502/0.9435, allocations: 31.98 kB / 442.9 MB, free: 29.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01263/0.9562, allocations: 8.048 MB / 450.9 MB, free: 21.35 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.904e-06/0.9563, allocations: 4 kB / 450.9 MB, free: 21.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007479/0.9638, allocations: 3.26 MB / 454.2 MB, free: 17.97 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/0.9649, allocations: 355.3 kB / 454.5 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003423/0.9653, allocations: 31.98 kB / 454.6 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/0.9668, allocations: 87.91 kB / 454.6 MB, free: 17.49 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003321/0.9672, allocations: 96.75 kB / 454.7 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/0.9673, allocations: 32 kB / 454.8 MB, free: 17.36 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001556/0.9689, allocations: 0.773 MB / 455.5 MB, free: 16.58 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.9689, allocations: 0 / 455.5 MB, free: 16.58 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002258/0.9712, allocations: 479.9 kB / 456 MB, free: 16.11 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {(7,59.2%) 21,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008393/0.9796, allocations: 4.751 MB / 460.8 MB, free: 11.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.005487/0.9852, allocations: 2.171 MB / 462.9 MB, free: 9.039 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/0.9852, allocations: 0 / 462.9 MB, free: 9.039 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004123/0.9894, allocations: 1.5 MB / 464.4 MB, free: 7.488 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003016/0.9924, allocations: 348.1 kB / 464.8 MB, free: 7.145 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/1.003, allocations: 3.752 MB / 468.5 MB, free: 3.305 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001725/1.005, allocations: 1.665 MB / 470.2 MB, free: 1.605 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001434/1.006, allocations: 0.6789 MB / 470.9 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of SimCode: time 1.834e-06/1.006, allocations: 0 / 470.9 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.774/4.781, allocations: 66.33 MB / 0.5246 GB, free: 87.39 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat does not exist to compare? outputFormat=mat