Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.629/1.629, allocations: 171.3 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.005e-05/2.005e-05, allocations: 4 kB / 219.6 MB, free: 6.941 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2535, allocations: 38.77 MB / 258.4 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1548/0.4084, allocations: 92.06 MB / 350.4 MB, free: 1.668 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/0.4088, allocations: 83.95 kB / 350.5 MB, free: 1.586 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4114/0.8202, allocations: 39.76 MB / 390.2 MB, free: 82.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.8203, allocations: 0 / 390.2 MB, free: 82.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001967/0.8205, allocations: 51.22 kB / 390.3 MB, free: 82.95 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.007202/0.8277, allocations: 1.927 MB / 392.2 MB, free: 81.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.8278, allocations: 7.906 kB / 392.2 MB, free: 81.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/0.8291, allocations: 253.2 kB / 392.5 MB, free: 81.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003835/0.833, allocations: 1.292 MB / 393.8 MB, free: 80.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.8332, allocations: 56.22 kB / 393.8 MB, free: 80.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005839/0.8338, allocations: 111.2 kB / 393.9 MB, free: 80.63 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004694/0.8385, allocations: 1.684 MB / 395.6 MB, free: 78.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005193/0.8437, allocations: 2.026 MB / 397.6 MB, free: 76.87 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.336e-05/0.8438, allocations: 4 kB / 397.6 MB, free: 76.87 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002172/0.8441, allocations: 0 / 397.6 MB, free: 76.87 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/0.8442, allocations: 79.5 kB / 397.7 MB, free: 76.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01481/0.859, allocations: 6.792 MB / 404.5 MB, free: 69.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/0.8611, allocations: 1.229 MB / 405.7 MB, free: 68.58 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/0.8625, allocations: 0.6598 MB / 406.4 MB, free: 67.92 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003407/0.8628, allocations: 137.7 kB / 406.5 MB, free: 67.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.8629, allocations: 47.28 kB / 406.6 MB, free: 67.72 MB / 314.7 MB Notification: Performance of pre-optimization done (n=90): time 3.156e-06/0.8629, allocations: 0 / 406.6 MB, free: 67.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=113): time 0.01259/0.8755, allocations: 4.57 MB / 411.2 MB, free: 63.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.8756, allocations: 64.72 kB / 411.2 MB, free: 63.01 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.877, allocations: 0.8195 MB / 412 MB, free: 62.17 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.8771, allocations: 25.7 kB / 412.1 MB, free: 62.14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000547/0.8776, allocations: 0.8644 MB / 412.9 MB, free: 61.26 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003266/0.878, allocations: 382.4 kB / 413.3 MB, free: 60.88 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.8781, allocations: 0 / 413.3 MB, free: 60.88 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.8782, allocations: 353.9 kB / 413.6 MB, free: 60.53 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.8794, allocations: 0.6117 MB / 414.3 MB, free: 59.92 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/0.8808, allocations: 0.9011 MB / 415.2 MB, free: 58.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/0.8823, allocations: 0.7635 MB / 415.9 MB, free: 58.13 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/0.8823, allocations: 0 / 415.9 MB, free: 58.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005122/0.8874, allocations: 2.198 MB / 418.1 MB, free: 55.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.8875, allocations: 12 kB / 418.1 MB, free: 55.9 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.8875, allocations: 8 kB / 418.1 MB, free: 55.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002387/0.8899, allocations: 0.6223 MB / 418.8 MB, free: 55.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001821/0.8918, allocations: 283.6 kB / 419 MB, free: 54.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009199/0.901, allocations: 6.032 MB / 425.1 MB, free: 48.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.9026, allocations: 71.81 kB / 425.1 MB, free: 48.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/0.9027, allocations: 56 kB / 425.2 MB, free: 48.59 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.0003004/0.903, allocations: 132.7 kB / 425.3 MB, free: 48.46 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004571/0.9076, allocations: 1.931 MB / 427.3 MB, free: 46.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002575/0.9079, allocations: 130.4 kB / 427.4 MB, free: 46.38 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005027/0.9129, allocations: 2.07 MB / 429.5 MB, free: 44.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.913, allocations: 15.98 kB / 429.5 MB, free: 44.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.913, allocations: 8 kB / 429.5 MB, free: 44.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.913, allocations: 3.984 kB / 429.5 MB, free: 44.26 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009506/0.9225, allocations: 3.988 MB / 433.5 MB, free: 40.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.9226, allocations: 4 kB / 433.5 MB, free: 40.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001344/0.924, allocations: 179.7 kB / 433.7 MB, free: 40.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002988/0.927, allocations: 0.7222 MB / 434.4 MB, free: 39.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001517/0.9271, allocations: 15.98 kB / 434.4 MB, free: 39.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01181/0.939, allocations: 7.715 MB / 442.1 MB, free: 31.21 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/0.939, allocations: 12.05 kB / 442.1 MB, free: 31.2 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006471/0.9455, allocations: 3.152 MB / 445.3 MB, free: 27.93 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008858/0.9464, allocations: 347.4 kB / 445.6 MB, free: 27.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003155/0.9467, allocations: 11.98 kB / 445.6 MB, free: 27.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/0.948, allocations: 63.92 kB / 445.7 MB, free: 27.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003397/0.9484, allocations: 93.17 kB / 445.8 MB, free: 27.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/0.9485, allocations: 43.98 kB / 445.8 MB, free: 27.37 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001074/0.9496, allocations: 0.6082 MB / 446.4 MB, free: 26.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.9496, allocations: 7.875 kB / 446.4 MB, free: 26.74 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001812/0.9514, allocations: 411.9 kB / 446.8 MB, free: 26.34 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.006969/0.9584, allocations: 4.638 MB / 451.5 MB, free: 21.61 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00454/0.963, allocations: 2.118 MB / 453.6 MB, free: 19.42 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.004e-06/0.963, allocations: 0.75 kB / 453.6 MB, free: 19.42 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003437/0.9665, allocations: 1.484 MB / 455.1 MB, free: 17.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002253/0.9688, allocations: 264 kB / 455.3 MB, free: 17.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008143/0.9769, allocations: 3.597 MB / 458.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00146/0.9784, allocations: 1.689 MB / 460.6 MB, free: 12.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001342/0.9798, allocations: 279 kB / 460.9 MB, free: 11.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/0.9809, allocations: 0.6711 MB / 461.6 MB, free: 11.28 MB / 314.7 MB Notification: Performance of SimCode: time 1.022e-06/0.981, allocations: 0 / 461.6 MB, free: 11.28 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.104/1.085, allocations: 33.13 MB / 494.7 MB, free: 10.12 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002826/1.085, allocations: 175.3 kB / 494.9 MB, free: 9.93 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.366/4.452, allocations: 0 / 494.9 MB, free: 9.93 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat does not exist to compare? outputFormat=mat