Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.962/1.962, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.023e-05/2.031e-05, allocations: 0 / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2952, allocations: 44.49 MB / 294.2 MB, free: 14.46 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1701/0.4653, allocations: 97.12 MB / 391.3 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003255/0.4657, allocations: 83.95 kB / 391.4 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4079/0.8736, allocations: 39.69 MB / 431.1 MB, free: 92.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.8736, allocations: 0 / 431.1 MB, free: 92.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001627/0.8738, allocations: 51.22 kB / 431.2 MB, free: 92.38 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.005872/0.8797, allocations: 1.937 MB / 433.1 MB, free: 91.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.8798, allocations: 11.05 kB / 433.1 MB, free: 91.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.8809, allocations: 252.2 kB / 433.4 MB, free: 91.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003694/0.8846, allocations: 1.338 MB / 434.7 MB, free: 91.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.347e-05/0.8847, allocations: 54.84 kB / 434.8 MB, free: 91.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003516/0.8851, allocations: 113.3 kB / 434.9 MB, free: 91.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004016/0.8891, allocations: 1.691 MB / 436.6 MB, free: 91.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004321/0.8935, allocations: 2.034 MB / 438.6 MB, free: 90.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.866e-05/0.8936, allocations: 4 kB / 438.6 MB, free: 90.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002156/0.8938, allocations: 7.312 kB / 438.6 MB, free: 90.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001106/0.8939, allocations: 84.59 kB / 438.7 MB, free: 90.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01433/0.9083, allocations: 6.807 MB / 445.5 MB, free: 88.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002103/0.9104, allocations: 1.236 MB / 446.7 MB, free: 87.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/0.9118, allocations: 0.6646 MB / 447.4 MB, free: 87.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000355/0.9121, allocations: 137.5 kB / 447.5 MB, free: 87.6 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.9122, allocations: 43.12 kB / 447.6 MB, free: 87.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=90): time 3.306e-06/0.9122, allocations: 0 / 447.6 MB, free: 87.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=113): time 0.01275/0.9249, allocations: 4.566 MB / 452.1 MB, free: 85.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.925, allocations: 63.41 kB / 452.2 MB, free: 85.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/0.9265, allocations: 0.8432 MB / 453 MB, free: 85.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001107/0.9266, allocations: 32.98 kB / 453.1 MB, free: 85.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005376/0.9272, allocations: 0.864 MB / 453.9 MB, free: 84.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003195/0.9275, allocations: 380.9 kB / 454.3 MB, free: 84.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.9276, allocations: 0 / 454.3 MB, free: 84.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.9278, allocations: 362 kB / 454.7 MB, free: 83.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.929, allocations: 0.6079 MB / 455.3 MB, free: 83.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/0.9303, allocations: 0.9098 MB / 456.2 MB, free: 83.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.9318, allocations: 0.7611 MB / 456.9 MB, free: 82.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.9318, allocations: 3.531 kB / 456.9 MB, free: 82.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005208/0.9371, allocations: 2.194 MB / 459.1 MB, free: 82.03 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.9371, allocations: 16.97 kB / 459.2 MB, free: 82.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/0.9371, allocations: 10.19 kB / 459.2 MB, free: 82.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002386/0.9395, allocations: 0.6281 MB / 459.8 MB, free: 81.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001835/0.9414, allocations: 281.2 kB / 460.1 MB, free: 81.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009353/0.9507, allocations: 6.046 MB / 466.1 MB, free: 77.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/0.9525, allocations: 64.19 kB / 466.2 MB, free: 77.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/0.9526, allocations: 57.98 kB / 466.2 MB, free: 77.88 MB / 362.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.000309/0.953, allocations: 132.5 kB / 466.4 MB, free: 77.75 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004602/0.9576, allocations: 1.932 MB / 468.3 MB, free: 76.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000273/0.9579, allocations: 126.4 kB / 468.4 MB, free: 76.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004989/0.9629, allocations: 2.077 MB / 470.5 MB, free: 74.28 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.9629, allocations: 8 kB / 470.5 MB, free: 74.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.9629, allocations: 8 kB / 470.5 MB, free: 74.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/0.9629, allocations: 3.469 kB / 470.5 MB, free: 74.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009301/0.9723, allocations: 4.015 MB / 474.5 MB, free: 70.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.9723, allocations: 0 / 474.5 MB, free: 70.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/0.9737, allocations: 180.3 kB / 474.7 MB, free: 70.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002914/0.9766, allocations: 0.7137 MB / 475.4 MB, free: 70.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/0.9767, allocations: 21.58 kB / 475.4 MB, free: 70.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01118/0.9879, allocations: 7.724 MB / 483.2 MB, free: 62.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/0.988, allocations: 6.469 kB / 483.2 MB, free: 62.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006462/0.9944, allocations: 3.157 MB / 486.3 MB, free: 59.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000876/0.9953, allocations: 336.3 kB / 486.7 MB, free: 59.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003082/0.9957, allocations: 15.94 kB / 486.7 MB, free: 59.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/0.997, allocations: 71.84 kB / 486.7 MB, free: 59.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003309/0.9973, allocations: 89.19 kB / 486.8 MB, free: 59.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/0.9975, allocations: 35.98 kB / 486.9 MB, free: 59.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001126/0.9986, allocations: 0.6355 MB / 487.5 MB, free: 58.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.9986, allocations: 4 kB / 487.5 MB, free: 58.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001805/1, allocations: 408 kB / 487.9 MB, free: 58.4 MB / 362.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.006976/1.007, allocations: 4.633 MB / 492.5 MB, free: 53.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004374/1.012, allocations: 2.12 MB / 494.7 MB, free: 51.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/1.012, allocations: 7.938 kB / 494.7 MB, free: 51.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003296/1.015, allocations: 1.475 MB / 496.1 MB, free: 49.97 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002242/1.017, allocations: 268.1 kB / 496.4 MB, free: 49.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008229/1.026, allocations: 3.632 MB / 0.4883 GB, free: 46.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001482/1.027, allocations: 1.689 MB / 0.49 GB, free: 44.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001336/1.029, allocations: 277.4 kB / 0.4902 GB, free: 44.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/1.03, allocations: 0.6789 MB / 0.4909 GB, free: 43.38 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/1.03, allocations: 0 / 0.4909 GB, free: 43.38 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09716/1.127, allocations: 33.51 MB / 0.5236 GB, free: 10 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002239/1.127, allocations: 175.3 kB / 0.5238 GB, free: 9.812 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.545/4.672, allocations: 0 / 0.5238 GB, free: 9.812 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat does not exist to compare? outputFormat=mat