Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.088/2.088, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.963e-05/2.966e-05, allocations: 0 / 292.8 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1314, allocations: 50.4 MB / 343.2 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4761/0.6076, allocations: 102.7 MB / 445.8 MB, free: 7.457 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003697/0.608, allocations: 87.77 kB / 445.9 MB, free: 7.414 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1724/0.7804, allocations: 40.3 MB / 486.2 MB, free: 3.312 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.7805, allocations: 3.938 kB / 486.2 MB, free: 3.309 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001955/0.7807, allocations: 55.86 kB / 486.3 MB, free: 3.254 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.007136/0.7878, allocations: 1.937 MB / 488.2 MB, free: 1.266 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.912e-05/0.7879, allocations: 11.97 kB / 488.2 MB, free: 1.254 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001124/0.7891, allocations: 269.8 kB / 488.5 MB, free: 0.9805 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001449/0.7906, allocations: 253.6 kB / 488.7 MB, free: 0.7305 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004997/0.7956, allocations: 1.359 MB / 490.1 MB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001982/0.7958, allocations: 135.6 kB / 490.2 MB, free: 15.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007665/0.7966, allocations: 180 kB / 490.4 MB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006936/0.8036, allocations: 2.27 MB / 492.7 MB, free: 12.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.654e-05/0.8037, allocations: 0 / 492.7 MB, free: 12.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000325/0.804, allocations: 80 kB / 492.8 MB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000143/0.8042, allocations: 75.52 kB / 492.8 MB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005869/0.8101, allocations: 1.76 MB / 494.6 MB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0201/0.8302, allocations: 7.171 MB / 0.49 GB, free: 3.387 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00301/0.8333, allocations: 1.26 MB / 0.4912 GB, free: 2.062 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001824/0.8352, allocations: 0.6975 MB / 0.4919 GB, free: 1.367 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004238/0.8357, allocations: 133.8 kB / 0.492 GB, free: 1.215 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.8357, allocations: 51.28 kB / 0.4921 GB, free: 1.156 MB / 410.7 MB Notification: Performance of pre-optimization done (n=90): time 3.777e-06/0.8358, allocations: 0 / 0.4921 GB, free: 1.156 MB / 410.7 MB Notification: Performance of matching and sorting (n=114): time 0.02487/0.8606, allocations: 5.961 MB / 0.4979 GB, free: 11.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.8607, allocations: 68.34 kB / 0.498 GB, free: 11.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002508/0.8633, allocations: 1.034 MB / 0.499 GB, free: 9.996 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000284/0.8636, allocations: 45.7 kB / 0.499 GB, free: 9.945 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008834/0.8645, allocations: 0.8575 MB / 0.4999 GB, free: 9.074 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006284/0.8651, allocations: 398.2 kB / 0.5002 GB, free: 8.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.8653, allocations: 28 kB / 0.5003 GB, free: 8.652 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.8655, allocations: 357.9 kB / 0.5006 GB, free: 8.297 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001647/0.8671, allocations: 0.6351 MB / 0.5012 GB, free: 7.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001896/0.869, allocations: 0.9243 MB / 0.5021 GB, free: 6.609 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001943/0.871, allocations: 0.7895 MB / 0.5029 GB, free: 5.816 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/0.871, allocations: 4 kB / 0.5029 GB, free: 5.812 MB / 426.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006812/0.8779, allocations: 2.315 MB / 0.5052 GB, free: 3.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/0.8779, allocations: 17.36 kB / 0.5052 GB, free: 3.465 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.73e-05/0.878, allocations: 12 kB / 0.5052 GB, free: 3.453 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00284/0.8808, allocations: 0.6352 MB / 0.5058 GB, free: 2.809 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00224/0.8831, allocations: 283.6 kB / 0.5061 GB, free: 2.531 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01235/0.8955, allocations: 6.305 MB / 0.5122 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001985/0.8975, allocations: 95.88 kB / 0.5123 GB, free: 11.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002019/0.8977, allocations: 51.98 kB / 0.5124 GB, free: 11.82 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.0003905/0.8981, allocations: 176.7 kB / 0.5126 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004197/0.8986, allocations: 138.4 kB / 0.5127 GB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006496/0.9051, allocations: 2.189 MB / 0.5148 GB, free: 9.289 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/0.9051, allocations: 12 kB / 0.5148 GB, free: 9.277 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/0.9052, allocations: 8 kB / 0.5148 GB, free: 9.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.963e-05/0.9052, allocations: 7.969 kB / 0.5149 GB, free: 9.262 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/0.9181, allocations: 4.367 MB / 0.5191 GB, free: 4.789 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.826e-05/0.9182, allocations: 4 kB / 0.5191 GB, free: 4.785 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001614/0.9198, allocations: 176.3 kB / 0.5193 GB, free: 4.613 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003465/0.9233, allocations: 0.7171 MB / 0.52 GB, free: 3.887 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002297/0.9236, allocations: 35.98 kB / 0.52 GB, free: 3.852 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3132/1.237, allocations: 8.01 MB / 0.5278 GB, free: 119.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/1.237, allocations: 7.094 kB / 0.5279 GB, free: 119.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008678/1.246, allocations: 3.274 MB / 0.531 GB, free: 119 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001291/1.247, allocations: 360.7 kB / 0.5314 GB, free: 118.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004055/1.247, allocations: 30.23 kB / 0.5314 GB, free: 118.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/1.249, allocations: 90.64 kB / 0.5315 GB, free: 118.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004553/1.25, allocations: 96.06 kB / 0.5316 GB, free: 118.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/1.25, allocations: 36.52 kB / 0.5316 GB, free: 118.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002011/1.252, allocations: 0.7926 MB / 0.5324 GB, free: 118.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.11e-07/1.252, allocations: 1.938 kB / 0.5324 GB, free: 118.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002785/1.255, allocations: 481.8 kB / 0.5329 GB, free: 118.8 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.009725/1.264, allocations: 4.847 MB / 0.5376 GB, free: 117 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00604/1.27, allocations: 2.172 MB / 0.5397 GB, free: 116.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/1.27, allocations: 3.469 kB / 0.5397 GB, free: 116.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004472/1.275, allocations: 1.477 MB / 0.5412 GB, free: 116.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003243/1.278, allocations: 350.7 kB / 0.5415 GB, free: 116.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/1.29, allocations: 3.774 MB / 0.5452 GB, free: 115.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/1.291, allocations: 1.687 MB / 0.5468 GB, free: 114.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001741/1.293, allocations: 298.4 kB / 0.5471 GB, free: 114.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001581/1.295, allocations: 0.6785 MB / 0.5478 GB, free: 114.4 MB / 442.7 MB Notification: Performance of SimCode: time 1.432e-06/1.295, allocations: 2.531 kB / 0.5478 GB, free: 114.4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1156/1.41, allocations: 39.75 MB / 0.5866 GB, free: 102 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002456/1.411, allocations: 190.9 kB / 0.5868 GB, free: 101.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.975/5.386, allocations: 4 kB / 0.5868 GB, free: 101.7 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat does not exist to compare? outputFormat=mat