Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.014/2.014, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.874e-05/3.885e-05, allocations: 1.875 kB / 292.2 MB, free: 8.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1169, allocations: 50.4 MB / 342.6 MB, free: 5.781 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4923/0.6093, allocations: 102.6 MB / 445.3 MB, free: 7.848 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003379/0.6097, allocations: 89.06 kB / 445.4 MB, free: 7.801 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1788/0.7885, allocations: 40.3 MB / 485.7 MB, free: 3.414 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.7886, allocations: 4 kB / 485.7 MB, free: 3.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002104/0.7888, allocations: 51.88 kB / 485.7 MB, free: 3.359 MB / 394.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.007281/0.7961, allocations: 1.941 MB / 487.7 MB, free: 1.367 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.7962, allocations: 8.031 kB / 487.7 MB, free: 1.359 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009545/0.7971, allocations: 265.8 kB / 487.9 MB, free: 1.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.7983, allocations: 253.6 kB / 488.2 MB, free: 0.8398 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004714/0.8031, allocations: 1.359 MB / 489.6 MB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002049/0.8033, allocations: 135.6 kB / 489.7 MB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007326/0.8041, allocations: 180 kB / 489.9 MB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007077/0.8112, allocations: 2.259 MB / 492.1 MB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.87e-05/0.8113, allocations: 11.98 kB / 492.1 MB, free: 12.77 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003004/0.8116, allocations: 72 kB / 492.2 MB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001485/0.8118, allocations: 87.52 kB / 492.3 MB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006021/0.8178, allocations: 1.756 MB / 494 MB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02069/0.8386, allocations: 7.171 MB / 0.4895 GB, free: 3.492 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003015/0.8416, allocations: 1.252 MB / 0.4907 GB, free: 2.176 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001907/0.8436, allocations: 0.6936 MB / 0.4914 GB, free: 1.484 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004112/0.844, allocations: 141.8 kB / 0.4915 GB, free: 1.324 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.8441, allocations: 51.27 kB / 0.4916 GB, free: 1.266 MB / 410.7 MB Notification: Performance of pre-optimization done (n=90): time 3.787e-06/0.8441, allocations: 0 / 0.4916 GB, free: 1.266 MB / 410.7 MB Notification: Performance of matching and sorting (n=114): time 0.02559/0.8697, allocations: 5.961 MB / 0.4974 GB, free: 11.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.8698, allocations: 64.41 kB / 0.4974 GB, free: 11.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002536/0.8724, allocations: 1.042 MB / 0.4985 GB, free: 10.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003211/0.8727, allocations: 45.7 kB / 0.4985 GB, free: 10.06 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009257/0.8737, allocations: 0.8575 MB / 0.4993 GB, free: 9.188 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006308/0.8743, allocations: 402.2 kB / 0.4997 GB, free: 8.789 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.8745, allocations: 24 kB / 0.4997 GB, free: 8.766 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.8747, allocations: 357.9 kB / 0.5001 GB, free: 8.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001721/0.8764, allocations: 0.6351 MB / 0.5007 GB, free: 7.773 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001981/0.8784, allocations: 0.9282 MB / 0.5016 GB, free: 6.719 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002048/0.8805, allocations: 0.7856 MB / 0.5024 GB, free: 5.934 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.8806, allocations: 0 / 0.5024 GB, free: 5.934 MB / 426.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.009307/0.8899, allocations: 2.327 MB / 0.5046 GB, free: 3.586 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.98e-05/0.89, allocations: 11.95 kB / 0.5047 GB, free: 3.574 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.492e-05/0.8901, allocations: 11.94 kB / 0.5047 GB, free: 3.562 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004727/0.8948, allocations: 0.6341 MB / 0.5053 GB, free: 2.922 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003231/0.8981, allocations: 283.6 kB / 0.5056 GB, free: 2.645 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01266/0.9108, allocations: 6.306 MB / 0.5117 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/0.9128, allocations: 95.88 kB / 0.5118 GB, free: 11.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002462/0.9131, allocations: 55.98 kB / 0.5119 GB, free: 11.93 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 130 * 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.0003916/0.9135, allocations: 168.7 kB / 0.512 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004751/0.914, allocations: 138.4 kB / 0.5122 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006655/0.9207, allocations: 2.193 MB / 0.5143 GB, free: 9.398 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.518e-05/0.9208, allocations: 12 kB / 0.5143 GB, free: 9.387 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/0.9208, allocations: 4 kB / 0.5143 GB, free: 9.383 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.344e-05/0.9208, allocations: 7.969 kB / 0.5143 GB, free: 9.375 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01303/0.9339, allocations: 4.371 MB / 0.5186 GB, free: 4.902 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.179e-05/0.9339, allocations: 4 kB / 0.5186 GB, free: 4.898 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001578/0.9355, allocations: 175.8 kB / 0.5188 GB, free: 4.727 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003542/0.9391, allocations: 0.7174 MB / 0.5195 GB, free: 4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002453/0.9394, allocations: 35.97 kB / 0.5195 GB, free: 3.965 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.302/1.241, allocations: 8.008 MB / 0.5273 GB, free: 119.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/1.241, allocations: 11.38 kB / 0.5273 GB, free: 119.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008795/1.25, allocations: 3.279 MB / 0.5305 GB, free: 119.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/1.252, allocations: 355.2 kB / 0.5309 GB, free: 119.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004843/1.252, allocations: 32.06 kB / 0.5309 GB, free: 119.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001861/1.254, allocations: 81.86 kB / 0.531 GB, free: 119.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004992/1.255, allocations: 103.7 kB / 0.5311 GB, free: 119.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/1.255, allocations: 36.08 kB / 0.5311 GB, free: 119.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002075/1.257, allocations: 0.7976 MB / 0.5319 GB, free: 119.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.032e-06/1.257, allocations: 0 / 0.5319 GB, free: 119.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002715/1.26, allocations: 481.7 kB / 0.5323 GB, free: 119.3 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (85): * Single equations (assignments): 81 * 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 {(5,84.0%) 23,(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.009892/1.27, allocations: 4.851 MB / 0.5371 GB, free: 117.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006181/1.276, allocations: 2.17 MB / 0.5392 GB, free: 117 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/1.276, allocations: 0.9844 kB / 0.5392 GB, free: 117 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004456/1.28, allocations: 1.475 MB / 0.5406 GB, free: 116.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003299/1.284, allocations: 350.9 kB / 0.541 GB, free: 116.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01196/1.296, allocations: 3.785 MB / 0.5447 GB, free: 115.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002684/1.298, allocations: 1.684 MB / 0.5463 GB, free: 114.9 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002472/1.301, allocations: 296.5 kB / 0.5466 GB, free: 114.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002335/1.303, allocations: 0.6843 MB / 0.5473 GB, free: 114.9 MB / 442.7 MB Notification: Performance of SimCode: time 1.903e-06/1.303, allocations: 0 / 0.5473 GB, free: 114.9 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.207/1.51, allocations: 39.74 MB / 0.5861 GB, free: 102.4 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002282/1.511, allocations: 194.9 kB / 0.5863 GB, free: 102.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.913/5.424, allocations: 4 kB / 0.5863 GB, free: 102.2 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat does not exist to compare? outputFormat=mat