Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.921/1.921, allocations: 205.8 MB / 218.9 MB, free: 9.277 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.656e-05/3.666e-05, allocations: 0 / 269.5 MB, free: 6.293 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1009, allocations: 47.57 MB / 317 MB, free: 6.637 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4584/0.5594, allocations: 108 MB / 425.1 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/0.5598, allocations: 81.08 kB / 425.1 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3255/0.8853, allocations: 79.43 MB / 0.4927 GB, free: 3.152 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.8854, allocations: 3.938 kB / 0.4927 GB, free: 3.148 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003538/0.8857, allocations: 83.81 kB / 0.4928 GB, free: 3.066 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01433/0.9001, allocations: 3.156 MB / 0.4959 GB, free: 15.85 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.9001, allocations: 8.031 kB / 0.4959 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001893/0.902, allocations: 451 kB / 0.4963 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00637/0.9085, allocations: 0.7179 MB / 0.497 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01334/0.9219, allocations: 3.288 MB / 0.5003 GB, free: 11.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000397/0.9223, allocations: 234.2 kB / 0.5005 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001375/0.9237, allocations: 315.9 kB / 0.5008 GB, free: 10.78 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01481/0.9385, allocations: 4.019 MB / 0.5047 GB, free: 6.645 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001666/0.9388, allocations: 0 / 0.5047 GB, free: 6.645 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001128/0.9399, allocations: 140 kB / 0.5048 GB, free: 6.508 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002425/0.9402, allocations: 138.3 kB / 0.505 GB, free: 6.371 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01176/0.952, allocations: 3.246 MB / 0.5081 GB, free: 3.121 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3261/1.278, allocations: 13.22 MB / 0.521 GB, free: 88.92 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01046/1.289, allocations: 6.782 MB / 0.5277 GB, free: 83.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003819/1.292, allocations: 1.319 MB / 0.529 GB, free: 83.69 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01126/1.304, allocations: 3.707 MB / 0.5326 GB, free: 83.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.341e-05/1.304, allocations: 45.94 kB / 0.5326 GB, free: 82.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=117): time 3.928e-06/1.304, allocations: 1.375 kB / 0.5326 GB, free: 82.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=120): time 0.01065/1.315, allocations: 3.817 MB / 0.5364 GB, free: 81.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/1.315, allocations: 63.91 kB / 0.5364 GB, free: 81.92 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003536/1.318, allocations: 1.471 MB / 0.5378 GB, free: 81.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003155/1.319, allocations: 48.44 kB / 0.5379 GB, free: 81.72 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001149/1.32, allocations: 1.412 MB / 0.5393 GB, free: 81.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005698/1.32, allocations: 428.3 kB / 0.5397 GB, free: 81.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/1.321, allocations: 32.56 kB / 0.5397 GB, free: 81.01 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/1.321, allocations: 367.1 kB / 0.5401 GB, free: 80.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/1.322, allocations: 0.5879 MB / 0.5406 GB, free: 80.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/1.324, allocations: 1.051 MB / 0.5417 GB, free: 80.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001984/1.326, allocations: 0.8021 MB / 0.5424 GB, free: 80.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.123e-05/1.326, allocations: 3.656 kB / 0.5425 GB, free: 80.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005839/1.332, allocations: 2.173 MB / 0.5446 GB, free: 79.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.986e-05/1.332, allocations: 16.86 kB / 0.5446 GB, free: 79.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.019e-05/1.332, allocations: 16.91 kB / 0.5446 GB, free: 79.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/1.333, allocations: 265.2 kB / 0.5449 GB, free: 79.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00273/1.336, allocations: 360 kB / 0.5452 GB, free: 79.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006703/1.343, allocations: 5.668 MB / 0.5507 GB, free: 75.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002372/1.345, allocations: 81.23 kB / 0.5508 GB, free: 75.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003635/1.346, allocations: 72.36 kB / 0.5509 GB, free: 75.89 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 174 * 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 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004209/1.346, allocations: 205.2 kB / 0.5511 GB, free: 75.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005515/1.347, allocations: 179.5 kB / 0.5513 GB, free: 75.69 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005384/1.352, allocations: 2.025 MB / 0.5532 GB, free: 75.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/1.352, allocations: 12.72 kB / 0.5532 GB, free: 75.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-05/1.352, allocations: 9.906 kB / 0.5533 GB, free: 75.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-05/1.352, allocations: 7.5 kB / 0.5533 GB, free: 75.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01244/1.365, allocations: 4.686 MB / 0.5578 GB, free: 74.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/1.365, allocations: 0 / 0.5578 GB, free: 74.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001561/1.366, allocations: 180.8 kB / 0.558 GB, free: 74.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002008/1.368, allocations: 438.8 kB / 0.5584 GB, free: 74.65 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002599/1.369, allocations: 40.06 kB / 0.5585 GB, free: 74.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01253/1.381, allocations: 10.03 MB / 0.5683 GB, free: 66.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/1.381, allocations: 3.5 kB / 0.5683 GB, free: 66.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006801/1.388, allocations: 2.962 MB / 0.5712 GB, free: 64.87 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/1.389, allocations: 406.7 kB / 0.5715 GB, free: 64.58 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006315/1.39, allocations: 33.12 kB / 0.5716 GB, free: 64.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002034/1.392, allocations: 72.94 kB / 0.5716 GB, free: 64.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004545/1.393, allocations: 96.78 kB / 0.5717 GB, free: 64.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/1.393, allocations: 38.62 kB / 0.5718 GB, free: 64.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002669/1.395, allocations: 1.129 MB / 0.5729 GB, free: 64.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.31e-07/1.396, allocations: 3.375 kB / 0.5729 GB, free: 64.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003594/1.399, allocations: 0.5713 MB / 0.5734 GB, free: 63.99 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007861/1.407, allocations: 4.277 MB / 0.5776 GB, free: 61.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004553/1.412, allocations: 1.912 MB / 0.5795 GB, free: 60.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/1.412, allocations: 0 / 0.5795 GB, free: 60.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00351/1.415, allocations: 1.428 MB / 0.5809 GB, free: 59.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003952/1.419, allocations: 483.2 kB / 0.5813 GB, free: 59.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01581/1.435, allocations: 5.221 MB / 0.5864 GB, free: 57.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003429/1.439, allocations: 2.347 MB / 0.5887 GB, free: 56.07 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002529/1.441, allocations: 376.5 kB / 0.5891 GB, free: 56.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0026/1.444, allocations: 1.098 MB / 0.5902 GB, free: 55.11 MB / 426.7 MB Notification: Performance of SimCode: time 1.783e-06/1.444, allocations: 0 / 0.5902 GB, free: 55.11 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1614/1.605, allocations: 49.81 MB / 0.6388 GB, free: 27.53 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002723/1.606, allocations: 204.2 kB / 0.639 GB, free: 27.29 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.165/5.771, allocations: 0 / 0.639 GB, free: 27.29 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter_res.mat does not exist to compare? outputFormat=mat