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.719/1.719, allocations: 171.2 MB / 183.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.464e-05/3.499e-05, allocations: 4 kB / 225.1 MB, free: 2.125 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2548, allocations: 38.76 MB / 263.9 MB, free: 9.793 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1618/0.4167, allocations: 92.72 MB / 356.6 MB, free: 12.93 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/0.417, allocations: 83.95 kB / 356.7 MB, free: 12.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.392/0.8091, allocations: 40.29 MB / 396.9 MB, free: 76.85 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.093e-06/0.8091, allocations: 4 kB / 396.9 MB, free: 76.85 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002026/0.8093, allocations: 47.94 kB / 397 MB, free: 76.8 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.006704/0.816, allocations: 1.937 MB / 398.9 MB, free: 74.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.8161, allocations: 8.031 kB / 398.9 MB, free: 74.81 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001029/0.8171, allocations: 269.7 kB / 399.2 MB, free: 74.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001508/0.8187, allocations: 249.3 kB / 399.4 MB, free: 74.3 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004147/0.8229, allocations: 1.284 MB / 400.7 MB, free: 72.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001708/0.8231, allocations: 131.6 kB / 400.9 MB, free: 72.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008109/0.8239, allocations: 192.1 kB / 401 MB, free: 72.67 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00689/0.8308, allocations: 2.278 MB / 403.3 MB, free: 70.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001053/0.831, allocations: 7.844 kB / 403.3 MB, free: 70.31 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003794/0.8314, allocations: 83.98 kB / 403.4 MB, free: 70.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/0.8315, allocations: 79.5 kB / 403.5 MB, free: 70.15 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005799/0.8373, allocations: 1.775 MB / 405.3 MB, free: 68.37 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01951/0.8569, allocations: 7.126 MB / 412.4 MB, free: 61.12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002871/0.8598, allocations: 1.278 MB / 413.7 MB, free: 59.76 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00179/0.8617, allocations: 0.6937 MB / 414.4 MB, free: 59.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004137/0.8621, allocations: 133.5 kB / 414.5 MB, free: 58.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.8622, allocations: 47.34 kB / 414.5 MB, free: 58.87 MB / 314.7 MB Notification: Performance of pre-optimization done (n=90): time 3.737e-06/0.8622, allocations: 0 / 414.5 MB, free: 58.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=113): time 0.02396/0.8862, allocations: 5.957 MB / 420.5 MB, free: 52.86 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.8862, allocations: 68.36 kB / 420.6 MB, free: 52.78 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002111/0.8884, allocations: 0.9948 MB / 421.6 MB, free: 51.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002849/0.8887, allocations: 49.64 kB / 421.6 MB, free: 51.71 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006445/0.8894, allocations: 0.8534 MB / 422.5 MB, free: 50.85 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005211/0.8899, allocations: 394 kB / 422.8 MB, free: 50.47 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.89, allocations: 28 kB / 422.9 MB, free: 50.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.8902, allocations: 357.9 kB / 423.2 MB, free: 50.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/0.8918, allocations: 0.6351 MB / 423.9 MB, free: 49.46 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001834/0.8937, allocations: 0.9346 MB / 424.8 MB, free: 48.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001936/0.8956, allocations: 0.7817 MB / 425.6 MB, free: 47.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.469e-05/0.8957, allocations: 4 kB / 425.6 MB, free: 47.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.006583/0.9023, allocations: 2.335 MB / 427.9 MB, free: 45.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/0.9024, allocations: 8 kB / 427.9 MB, free: 45.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/0.9024, allocations: 8 kB / 427.9 MB, free: 45.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002763/0.9052, allocations: 0.6297 MB / 428.6 MB, free: 44.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002166/0.9074, allocations: 283.6 kB / 428.8 MB, free: 44.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0109/0.9184, allocations: 6.299 MB / 435.1 MB, free: 37.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/0.9203, allocations: 95.97 kB / 435.2 MB, free: 37.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000309/0.9207, allocations: 51.98 kB / 435.3 MB, free: 37.61 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.0003637/0.9211, allocations: 181.3 kB / 435.5 MB, free: 37.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004495/0.9215, allocations: 138.3 kB / 435.6 MB, free: 37.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006194/0.9277, allocations: 2.181 MB / 437.8 MB, free: 35.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.029e-05/0.9278, allocations: 11.98 kB / 437.8 MB, free: 35.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/0.9278, allocations: 8 kB / 437.8 MB, free: 35.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.04e-05/0.9279, allocations: 3.984 kB / 437.8 MB, free: 35.06 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01202/0.9399, allocations: 4.329 MB / 442.1 MB, free: 30.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.077e-05/0.94, allocations: 4.344 kB / 442.1 MB, free: 30.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001527/0.9415, allocations: 183.8 kB / 442.3 MB, free: 30.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003444/0.945, allocations: 0.7213 MB / 443 MB, free: 29.74 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00027/0.9453, allocations: 36.11 kB / 443.1 MB, free: 29.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0131/0.9584, allocations: 8.041 MB / 451.1 MB, free: 21.27 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.9585, allocations: 4 kB / 451.1 MB, free: 21.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007775/0.9663, allocations: 3.256 MB / 454.4 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/0.9676, allocations: 359.3 kB / 454.7 MB, free: 17.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004918/0.9681, allocations: 27.98 kB / 454.7 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001773/0.9699, allocations: 87.91 kB / 454.8 MB, free: 17.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004571/0.9704, allocations: 100.8 kB / 454.9 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/0.9706, allocations: 32 kB / 455 MB, free: 17.28 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001718/0.9723, allocations: 0.773 MB / 455.7 MB, free: 16.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.82e-07/0.9723, allocations: 3.938 kB / 455.7 MB, free: 16.49 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00237/0.9747, allocations: 483.9 kB / 456.2 MB, free: 16.02 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.00886/0.9836, allocations: 4.744 MB / 460.9 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.005492/0.9891, allocations: 2.209 MB / 463.2 MB, free: 8.902 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/0.9892, allocations: 0 / 463.2 MB, free: 8.902 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004056/0.9933, allocations: 1.537 MB / 464.7 MB, free: 7.301 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002991/0.9963, allocations: 343.6 kB / 465 MB, free: 6.965 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/1.007, allocations: 3.74 MB / 468.8 MB, free: 3.145 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001598/1.008, allocations: 1.681 MB / 470.5 MB, free: 1.426 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001646/1.01, allocations: 299.8 kB / 470.7 MB, free: 1.129 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001484/1.011, allocations: 0.675 MB / 471.4 MB, free: 464 kB / 314.7 MB Notification: Performance of SimCode: time 1.363e-06/1.011, allocations: 0 / 471.4 MB, free: 464 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3453/1.357, allocations: 39.41 MB / 0.4989 GB, free: 98.33 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/1.357, allocations: 213.9 kB / 0.4991 GB, free: 98.1 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.005/5.362, allocations: 0 / 0.4991 GB, free: 98.1 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