Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.916/1.916, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.465e-05/3.49e-05, allocations: 7.984 kB / 255.4 MB, free: 3.113 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09324/0.09331, allocations: 44.51 MB / 299.9 MB, free: 6.543 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4226/0.516, allocations: 97.78 MB / 397.7 MB, free: 12.68 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/0.5164, allocations: 88.03 kB / 397.8 MB, free: 12.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1604/0.6767, allocations: 40.22 MB / 438 MB, free: 11.17 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.6768, allocations: 0 / 438 MB, free: 11.17 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002048/0.677, allocations: 55.88 kB / 438.1 MB, free: 11.12 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.007269/0.6843, allocations: 1.933 MB / 440 MB, free: 9.258 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.6844, allocations: 8.031 kB / 440 MB, free: 9.25 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000895/0.6853, allocations: 265.8 kB / 440.3 MB, free: 9.094 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.6866, allocations: 253.2 kB / 440.5 MB, free: 8.844 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004477/0.6911, allocations: 1.331 MB / 441.9 MB, free: 7.812 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/0.6913, allocations: 131.3 kB / 442 MB, free: 7.738 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006185/0.6919, allocations: 184 kB / 442.2 MB, free: 7.617 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006751/0.6987, allocations: 2.288 MB / 444.5 MB, free: 6.047 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.509e-05/0.6988, allocations: 11.84 kB / 444.5 MB, free: 6.035 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002791/0.6991, allocations: 78.72 kB / 444.5 MB, free: 6.016 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001516/0.6993, allocations: 83.2 kB / 444.6 MB, free: 5.938 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006001/0.7053, allocations: 1.789 MB / 446.4 MB, free: 4.816 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02142/0.7268, allocations: 7.167 MB / 453.6 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003148/0.73, allocations: 1.268 MB / 454.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002001/0.732, allocations: 0.6897 MB / 455.5 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004467/0.7325, allocations: 137.5 kB / 455.7 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.7326, allocations: 47.34 kB / 455.7 MB, free: 11.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=90): time 3.306e-06/0.7326, allocations: 0 / 455.7 MB, free: 11.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=113): time 0.02562/0.7582, allocations: 5.956 MB / 461.7 MB, free: 5.645 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.68e-05/0.7584, allocations: 64.41 kB / 461.7 MB, free: 5.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002572/0.7609, allocations: 1.022 MB / 462.8 MB, free: 4.535 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002915/0.7613, allocations: 45.7 kB / 462.8 MB, free: 4.484 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008218/0.7621, allocations: 0.8397 MB / 463.6 MB, free: 3.637 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006229/0.7628, allocations: 393.1 kB / 464 MB, free: 3.254 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.7629, allocations: 24 kB / 464 MB, free: 3.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002056/0.7631, allocations: 366.8 kB / 464.4 MB, free: 2.863 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/0.7648, allocations: 0.6351 MB / 465 MB, free: 2.227 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002049/0.7669, allocations: 0.9346 MB / 466 MB, free: 1.168 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00212/0.7691, allocations: 0.7856 MB / 466.8 MB, free: 388 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.7691, allocations: 0 / 466.8 MB, free: 388 kB / 346.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.006807/0.7759, allocations: 2.252 MB / 469 MB, free: 14.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.809e-05/0.776, allocations: 8 kB / 469 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.403e-05/0.7761, allocations: 12 kB / 469 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002858/0.7789, allocations: 0.6336 MB / 469.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002209/0.7812, allocations: 279.6 kB / 469.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01577/0.797, allocations: 6.307 MB / 476.2 MB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002629/0.7997, allocations: 91.97 kB / 476.3 MB, free: 6.508 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003227/0.8001, allocations: 55.98 kB / 476.4 MB, free: 6.453 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.0005592/0.8006, allocations: 176.6 kB / 476.6 MB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006435/0.8013, allocations: 134.3 kB / 476.7 MB, free: 6.141 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009745/0.8111, allocations: 2.192 MB / 478.9 MB, free: 3.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.617e-05/0.8111, allocations: 12 kB / 478.9 MB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.095e-05/0.8112, allocations: 8 kB / 478.9 MB, free: 3.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-05/0.8112, allocations: 3.984 kB / 478.9 MB, free: 3.906 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03346/0.8447, allocations: 4.347 MB / 483.3 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.447e-05/0.8448, allocations: 4.344 kB / 483.3 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001585/0.8464, allocations: 179.7 kB / 483.4 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003605/0.85, allocations: 0.7253 MB / 484.2 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002823/0.8503, allocations: 35.94 kB / 484.2 MB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01914/0.8695, allocations: 8.041 MB / 492.2 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/0.8695, allocations: 7.938 kB / 492.2 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01256/0.8821, allocations: 3.252 MB / 495.5 MB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001645/0.8838, allocations: 363.2 kB / 495.9 MB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004495/0.8843, allocations: 32.11 kB / 495.9 MB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002134/0.8864, allocations: 83.92 kB / 496 MB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000512/0.887, allocations: 96.81 kB / 496.1 MB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001825/0.8872, allocations: 35.98 kB / 496.1 MB, free: 2.098 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002704/0.8899, allocations: 0.7964 MB / 496.9 MB, free: 1.293 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.92e-07/0.8899, allocations: 0 / 496.9 MB, free: 1.293 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003489/0.8934, allocations: 475.9 kB / 497.4 MB, free: 0.8281 MB / 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.01372/0.9072, allocations: 4.746 MB / 0.4903 GB, free: 11.99 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008293/0.9155, allocations: 2.216 MB / 0.4925 GB, free: 9.715 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.485e-05/0.9156, allocations: 0 / 0.4925 GB, free: 9.715 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005958/0.9216, allocations: 1.542 MB / 0.494 GB, free: 8.109 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003936/0.9256, allocations: 341.5 kB / 0.4943 GB, free: 7.773 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01482/0.9404, allocations: 3.777 MB / 0.498 GB, free: 3.906 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002089/0.9426, allocations: 1.677 MB / 0.4997 GB, free: 2.195 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001669/0.9443, allocations: 0.6867 MB / 0.5003 GB, free: 1.508 MB / 394.7 MB Notification: Performance of SimCode: time 1.603e-06/0.9443, allocations: 0 / 0.5003 GB, free: 1.508 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.762/4.706, allocations: 67.04 MB / 0.5658 GB, free: 102.6 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat does not exist to compare? outputFormat=mat