Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.624/1.624, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.921e-05/2.924e-05, allocations: 4 kB / 225.1 MB, free: 2.688 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2515, allocations: 38.76 MB / 263.8 MB, free: 9.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1564/0.4079, allocations: 92.72 MB / 356.5 MB, free: 13 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/0.4082, allocations: 83.95 kB / 356.6 MB, free: 12.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3685/0.7768, allocations: 40.28 MB / 396.9 MB, free: 76.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.7768, allocations: 4 kB / 396.9 MB, free: 76.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001433/0.777, allocations: 43.94 kB / 397 MB, free: 76.79 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.005059/0.7821, allocations: 1.935 MB / 398.9 MB, free: 74.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.7821, allocations: 8.031 kB / 398.9 MB, free: 74.8 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004538/0.7826, allocations: 269.5 kB / 399.2 MB, free: 74.53 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008765/0.7835, allocations: 249.3 kB / 399.4 MB, free: 74.28 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003052/0.7865, allocations: 1.288 MB / 400.7 MB, free: 72.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.7867, allocations: 135.6 kB / 400.8 MB, free: 72.83 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003654/0.787, allocations: 180.2 kB / 401 MB, free: 72.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004833/0.7919, allocations: 2.286 MB / 403.3 MB, free: 70.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-05/0.792, allocations: 15.78 kB / 403.3 MB, free: 70.28 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002526/0.7922, allocations: 72 kB / 403.4 MB, free: 70.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/0.7924, allocations: 83.5 kB / 403.5 MB, free: 70.13 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004195/0.7966, allocations: 1.779 MB / 405.2 MB, free: 68.35 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01449/0.8111, allocations: 7.134 MB / 412.4 MB, free: 61.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002307/0.8134, allocations: 1.27 MB / 413.6 MB, free: 59.74 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/0.8149, allocations: 0.6898 MB / 414.3 MB, free: 59.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003516/0.8153, allocations: 141.5 kB / 414.5 MB, free: 58.9 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.8153, allocations: 39.34 kB / 414.5 MB, free: 58.85 MB / 314.7 MB Notification: Performance of pre-optimization done (n=90): time 3.566e-06/0.8153, allocations: 0 / 414.5 MB, free: 58.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=113): time 0.02126/0.8366, allocations: 5.953 MB / 420.5 MB, free: 52.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.8366, allocations: 68.36 kB / 420.5 MB, free: 52.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/0.8385, allocations: 0.9987 MB / 421.5 MB, free: 51.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.8386, allocations: 49.7 kB / 421.6 MB, free: 51.7 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004874/0.8391, allocations: 0.8276 MB / 422.4 MB, free: 50.86 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000322/0.8394, allocations: 396.2 kB / 422.8 MB, free: 50.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.8396, allocations: 32 kB / 422.8 MB, free: 50.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.8397, allocations: 358.8 kB / 423.2 MB, free: 50.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/0.8411, allocations: 0.6351 MB / 423.8 MB, free: 49.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/0.8426, allocations: 0.9346 MB / 424.7 MB, free: 48.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/0.8442, allocations: 0.7817 MB / 425.5 MB, free: 47.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.8442, allocations: 4 kB / 425.5 MB, free: 47.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005449/0.8497, allocations: 2.246 MB / 427.8 MB, free: 45.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.8497, allocations: 8 kB / 427.8 MB, free: 45.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.8497, allocations: 8 kB / 427.8 MB, free: 45.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002519/0.8523, allocations: 0.6375 MB / 428.4 MB, free: 44.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0019/0.8542, allocations: 283.6 kB / 428.7 MB, free: 44.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009886/0.8641, allocations: 6.302 MB / 435 MB, free: 37.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/0.8659, allocations: 91.97 kB / 435.1 MB, free: 37.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.8661, allocations: 55.98 kB / 435.2 MB, free: 37.68 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.0003164/0.8664, allocations: 176.6 kB / 435.3 MB, free: 37.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002854/0.8667, allocations: 142.3 kB / 435.5 MB, free: 37.37 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005463/0.8722, allocations: 2.188 MB / 437.7 MB, free: 35.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.8722, allocations: 12 kB / 437.7 MB, free: 35.15 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.8722, allocations: 4 kB / 437.7 MB, free: 35.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.8722, allocations: 3.984 kB / 437.7 MB, free: 35.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009967/0.8822, allocations: 4.333 MB / 442 MB, free: 30.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.8823, allocations: 0 / 442 MB, free: 30.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001378/0.8837, allocations: 175.8 kB / 442.2 MB, free: 30.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003055/0.8867, allocations: 0.7331 MB / 442.9 MB, free: 29.81 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/0.8869, allocations: 31.92 kB / 442.9 MB, free: 29.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01204/0.8989, allocations: 8.047 MB / 451 MB, free: 21.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.8989, allocations: 4.188 kB / 451 MB, free: 21.33 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006952/0.9059, allocations: 3.258 MB / 454.2 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008993/0.9068, allocations: 351.3 kB / 454.6 MB, free: 17.6 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002851/0.9071, allocations: 35.98 kB / 454.6 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/0.9085, allocations: 83.91 kB / 454.7 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000337/0.9089, allocations: 104.8 kB / 454.8 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/0.909, allocations: 32 kB / 454.8 MB, free: 17.34 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001425/0.9104, allocations: 0.773 MB / 455.6 MB, free: 16.56 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.9104, allocations: 4 kB / 455.6 MB, free: 16.56 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001749/0.9122, allocations: 475.9 kB / 456.1 MB, free: 16.09 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.007535/0.9197, allocations: 4.751 MB / 460.8 MB, free: 11.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004855/0.9246, allocations: 2.204 MB / 463 MB, free: 8.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.9247, allocations: 0 / 463 MB, free: 8.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003497/0.9282, allocations: 1.535 MB / 464.6 MB, free: 7.379 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002453/0.9306, allocations: 350.8 kB / 464.9 MB, free: 7.035 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008065/0.9387, allocations: 3.754 MB / 468.7 MB, free: 3.199 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001403/0.9402, allocations: 1.673 MB / 470.3 MB, free: 1.488 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00127/0.9414, allocations: 0.675 MB / 471 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of SimCode: time 1.563e-06/0.9415, allocations: 4 kB / 471 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.703/4.644, allocations: 66.49 MB / 0.5249 GB, free: 87.19 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat does not exist to compare? outputFormat=mat