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.804/1.804, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.373e-05/3.392e-05, allocations: 4 kB / 225.1 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2616, allocations: 38.77 MB / 263.9 MB, free: 9.82 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.166/0.4276, allocations: 92.72 MB / 356.6 MB, free: 12.95 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003304/0.428, allocations: 83.95 kB / 356.7 MB, free: 12.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3845/0.8126, allocations: 40.29 MB / 397 MB, free: 76.87 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.8126, allocations: 0 / 397 MB, free: 76.87 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001824/0.8128, allocations: 51.88 kB / 397 MB, free: 76.82 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.006347/0.8192, allocations: 1.928 MB / 398.9 MB, free: 74.85 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.8192, allocations: 16.03 kB / 399 MB, free: 74.83 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007552/0.82, allocations: 269.7 kB / 399.2 MB, free: 74.56 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.8211, allocations: 249.3 kB / 399.5 MB, free: 74.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003598/0.8247, allocations: 1.289 MB / 400.8 MB, free: 73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/0.8249, allocations: 131.6 kB / 400.9 MB, free: 72.87 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004776/0.8254, allocations: 180.2 kB / 401.1 MB, free: 72.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005479/0.8309, allocations: 2.263 MB / 403.3 MB, free: 70.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.74e-05/0.831, allocations: 7.906 kB / 403.3 MB, free: 70.35 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002636/0.8312, allocations: 79.89 kB / 403.4 MB, free: 70.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001091/0.8314, allocations: 79.5 kB / 403.5 MB, free: 70.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0047/0.8361, allocations: 1.756 MB / 405.2 MB, free: 68.44 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01608/0.8522, allocations: 7.131 MB / 412.4 MB, free: 61.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003328/0.8556, allocations: 1.261 MB / 413.6 MB, free: 59.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002415/0.8581, allocations: 0.6976 MB / 414.3 MB, free: 59.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004927/0.8586, allocations: 129.8 kB / 414.5 MB, free: 59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.8587, allocations: 47.28 kB / 414.5 MB, free: 58.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=90): time 5.891e-06/0.8587, allocations: 0 / 414.5 MB, free: 58.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=113): time 0.02288/0.8816, allocations: 5.953 MB / 420.5 MB, free: 52.94 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.8817, allocations: 64.36 kB / 420.5 MB, free: 52.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001937/0.8836, allocations: 1.007 MB / 421.5 MB, free: 51.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001799/0.8838, allocations: 41.7 kB / 421.6 MB, free: 51.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005931/0.8844, allocations: 0.8573 MB / 422.4 MB, free: 50.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003671/0.8848, allocations: 390.1 kB / 422.8 MB, free: 50.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.8849, allocations: 24 kB / 422.8 MB, free: 50.53 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.885, allocations: 357.9 kB / 423.2 MB, free: 50.17 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/0.8864, allocations: 0.6351 MB / 423.8 MB, free: 49.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.888, allocations: 0.928 MB / 424.7 MB, free: 48.49 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001655/0.8897, allocations: 0.7856 MB / 425.5 MB, free: 47.7 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.8897, allocations: 4 kB / 425.5 MB, free: 47.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005765/0.8955, allocations: 2.304 MB / 427.8 MB, free: 45.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.8955, allocations: 16.03 kB / 427.9 MB, free: 45.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/0.8956, allocations: 8 kB / 427.9 MB, free: 45.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002502/0.8981, allocations: 0.6256 MB / 428.5 MB, free: 44.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001972/0.9001, allocations: 279.6 kB / 428.8 MB, free: 44.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/0.9103, allocations: 6.306 MB / 435.1 MB, free: 37.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/0.9122, allocations: 87.97 kB / 435.2 MB, free: 37.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/0.9124, allocations: 52 kB / 435.2 MB, free: 37.73 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.0003523/0.9128, allocations: 184.6 kB / 435.4 MB, free: 37.54 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00032/0.9131, allocations: 138.3 kB / 435.5 MB, free: 37.4 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005638/0.9187, allocations: 2.177 MB / 437.7 MB, free: 35.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.9188, allocations: 12 kB / 437.7 MB, free: 35.19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.9188, allocations: 7.984 kB / 437.7 MB, free: 35.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.105e-05/0.9189, allocations: 7.984 kB / 437.7 MB, free: 35.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/0.9301, allocations: 4.322 MB / 442 MB, free: 30.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.03e-05/0.9302, allocations: 4 kB / 442.1 MB, free: 30.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001469/0.9317, allocations: 176.1 kB / 442.2 MB, free: 30.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003247/0.9349, allocations: 0.7298 MB / 443 MB, free: 29.86 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002594/0.9352, allocations: 31.98 kB / 443 MB, free: 29.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01253/0.9478, allocations: 8.045 MB / 451 MB, free: 21.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.9478, allocations: 4 kB / 451 MB, free: 21.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00785/0.9557, allocations: 3.26 MB / 454.3 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001455/0.9572, allocations: 355.3 kB / 454.6 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000457/0.9577, allocations: 39.92 kB / 454.7 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001927/0.9596, allocations: 83.91 kB / 454.8 MB, free: 17.53 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000445/0.9601, allocations: 100.8 kB / 454.9 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000157/0.9603, allocations: 32 kB / 454.9 MB, free: 17.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002143/0.9624, allocations: 0.773 MB / 455.7 MB, free: 16.61 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.71e-07/0.9625, allocations: 0 / 455.7 MB, free: 16.61 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003209/0.9657, allocations: 479.9 kB / 456.1 MB, free: 16.14 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.01133/0.9771, allocations: 4.746 MB / 460.9 MB, free: 11.31 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.007001/0.9841, allocations: 2.175 MB / 463.1 MB, free: 9.074 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/0.9842, allocations: 0 / 463.1 MB, free: 9.074 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005156/0.9893, allocations: 1.492 MB / 464.5 MB, free: 7.531 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003556/0.9929, allocations: 352.2 kB / 464.9 MB, free: 7.184 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01357/1.007, allocations: 3.73 MB / 468.6 MB, free: 3.367 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002321/1.009, allocations: 1.677 MB / 470.3 MB, free: 1.656 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.002185/1.011, allocations: 291.9 kB / 470.6 MB, free: 1.367 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001926/1.013, allocations: 0.6711 MB / 471.3 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of SimCode: time 1.733e-06/1.013, allocations: 0 / 471.3 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3767/1.39, allocations: 39.23 MB / 0.4985 GB, free: 98.05 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/1.39, allocations: 208.4 kB / 0.4987 GB, free: 97.82 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.809/5.199, allocations: 0 / 0.4987 GB, free: 97.82 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