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.91/1.91, allocations: 194.9 MB / 208 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.657e-05/4.675e-05, allocations: 5.406 kB / 255.5 MB, free: 2.598 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1309, allocations: 44.5 MB / 300 MB, free: 6.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4562/0.5872, allocations: 97.8 MB / 397.8 MB, free: 12.23 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/0.5875, allocations: 87.7 kB / 397.9 MB, free: 12.23 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2024/0.79, allocations: 40.22 MB / 438.1 MB, free: 10.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.08e-06/0.79, allocations: 0 / 438.1 MB, free: 10.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001725/0.7902, allocations: 50.84 kB / 438.1 MB, free: 10.32 MB / 330.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.00689/0.7971, allocations: 1.927 MB / 440.1 MB, free: 8.469 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.7972, allocations: 8.031 kB / 440.1 MB, free: 8.461 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008271/0.798, allocations: 263.7 kB / 440.3 MB, free: 8.305 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.7992, allocations: 257.2 kB / 440.6 MB, free: 8.051 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004146/0.8034, allocations: 1.331 MB / 441.9 MB, free: 7.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/0.8036, allocations: 133.3 kB / 442 MB, free: 6.945 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005037/0.8041, allocations: 186.6 kB / 442.2 MB, free: 6.824 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006355/0.8105, allocations: 2.269 MB / 444.5 MB, free: 5.273 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.801e-05/0.8106, allocations: 3.906 kB / 444.5 MB, free: 5.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002759/0.8109, allocations: 78.62 kB / 444.6 MB, free: 5.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001412/0.811, allocations: 82.58 kB / 444.7 MB, free: 5.172 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00542/0.8165, allocations: 1.76 MB / 446.4 MB, free: 4.078 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02004/0.8365, allocations: 7.175 MB / 453.6 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002971/0.8396, allocations: 1.255 MB / 454.8 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001833/0.8414, allocations: 0.6936 MB / 455.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003911/0.8418, allocations: 137.6 kB / 455.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.8419, allocations: 43.28 kB / 455.7 MB, free: 11.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=90): time 3.356e-06/0.8419, allocations: 0 / 455.7 MB, free: 11.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=113): time 0.02454/0.8665, allocations: 5.95 MB / 461.7 MB, free: 5.191 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.8666, allocations: 68.39 kB / 461.7 MB, free: 5.113 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002443/0.869, allocations: 1.026 MB / 462.8 MB, free: 4.074 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002609/0.8693, allocations: 53.64 kB / 462.8 MB, free: 4.016 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008602/0.8702, allocations: 0.8573 MB / 463.7 MB, free: 3.148 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005382/0.8707, allocations: 394.1 kB / 464.1 MB, free: 2.766 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.8709, allocations: 28 kB / 464.1 MB, free: 2.738 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.8711, allocations: 353.9 kB / 464.4 MB, free: 2.387 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001658/0.8727, allocations: 0.6351 MB / 465.1 MB, free: 1.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001923/0.8747, allocations: 0.9281 MB / 466 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001978/0.8767, allocations: 0.7894 MB / 466.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.8767, allocations: 0 / 466.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.006733/0.8835, allocations: 2.304 MB / 469.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/0.8836, allocations: 12.25 kB / 469.1 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.488e-05/0.8836, allocations: 8 kB / 469.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002795/0.8864, allocations: 0.6295 MB / 469.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002134/0.8886, allocations: 287.6 kB / 470 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01233/0.9009, allocations: 6.311 MB / 476.3 MB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/0.9028, allocations: 95.89 kB / 476.4 MB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/0.9031, allocations: 48 kB / 476.5 MB, free: 5.922 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.0003983/0.9035, allocations: 188.6 kB / 476.6 MB, free: 5.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004213/0.9039, allocations: 134.3 kB / 476.8 MB, free: 5.598 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00647/0.9104, allocations: 2.173 MB / 479 MB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.288e-05/0.9104, allocations: 12 kB / 479 MB, free: 3.387 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.778e-05/0.9105, allocations: 11.98 kB / 479 MB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.151e-05/0.9105, allocations: 7.984 kB / 479 MB, free: 3.367 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01308/0.9236, allocations: 4.345 MB / 483.3 MB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/0.9237, allocations: 4 kB / 483.3 MB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001496/0.9252, allocations: 167.8 kB / 483.5 MB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003482/0.9287, allocations: 0.7334 MB / 484.2 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001704/0.9289, allocations: 35.94 kB / 484.3 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01487/0.9438, allocations: 8.022 MB / 492.3 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.9438, allocations: 4 kB / 492.3 MB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008489/0.9523, allocations: 3.26 MB / 495.6 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/0.9535, allocations: 363.2 kB / 495.9 MB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003294/0.9539, allocations: 27.98 kB / 495.9 MB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001521/0.9554, allocations: 79.92 kB / 496 MB, free: 1.727 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003964/0.9558, allocations: 104.8 kB / 496.1 MB, free: 1.621 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001351/0.956, allocations: 40.11 kB / 496.2 MB, free: 1.582 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001891/0.9579, allocations: 0.7886 MB / 496.9 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.9579, allocations: 0 / 496.9 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002559/0.9605, allocations: 483.9 kB / 497.4 MB, free: 320 kB / 378.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.009686/0.9702, allocations: 4.742 MB / 0.4904 GB, free: 11.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006022/0.9763, allocations: 2.163 MB / 0.4925 GB, free: 9.258 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/0.9763, allocations: 7.938 kB / 0.4925 GB, free: 9.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004464/0.9808, allocations: 1.499 MB / 0.494 GB, free: 7.699 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003046/0.9839, allocations: 358.3 kB / 0.4943 GB, free: 7.348 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/0.995, allocations: 3.742 MB / 0.498 GB, free: 3.516 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002131/0.9972, allocations: 1.685 MB / 0.4996 GB, free: 1.797 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001694/0.9989, allocations: 292.1 kB / 0.4999 GB, free: 1.508 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00153/1, allocations: 0.6828 MB / 0.5006 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of SimCode: time 1.363e-06/1, allocations: 0 / 0.5006 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4265/1.427, allocations: 39.67 MB / 0.5393 GB, free: 110.5 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002439/1.427, allocations: 211.4 kB / 0.5395 GB, free: 110.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.76/5.188, allocations: 0 / 0.5395 GB, free: 110.3 MB / 410.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