Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.96/1.96, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.005e-05/3.013e-05, allocations: 0 / 292.2 MB, free: 8.754 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1061, allocations: 50.42 MB / 342.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4597/0.5658, allocations: 102.7 MB / 445.4 MB, free: 7.363 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/0.5662, allocations: 96.83 kB / 445.5 MB, free: 7.312 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1732/0.7394, allocations: 40.29 MB / 485.8 MB, free: 3.605 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.7395, allocations: 3.938 kB / 485.8 MB, free: 3.602 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001955/0.7397, allocations: 51.88 kB / 485.8 MB, free: 3.551 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.00712/0.7468, allocations: 1.929 MB / 487.8 MB, free: 1.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.878e-05/0.7469, allocations: 12.03 kB / 487.8 MB, free: 1.559 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009762/0.7479, allocations: 269.8 kB / 488 MB, free: 1.285 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.7491, allocations: 253.6 kB / 488.3 MB, free: 1.035 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004552/0.7537, allocations: 1.355 MB / 489.6 MB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/0.7539, allocations: 139.6 kB / 489.8 MB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006502/0.7546, allocations: 180 kB / 489.9 MB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006883/0.7615, allocations: 2.259 MB / 492.2 MB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.446e-05/0.7616, allocations: 7.984 kB / 492.2 MB, free: 12.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003009/0.7619, allocations: 76 kB / 492.3 MB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001407/0.7621, allocations: 83.52 kB / 492.4 MB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005786/0.7679, allocations: 1.756 MB / 494.1 MB, free: 11.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02014/0.7881, allocations: 7.175 MB / 0.4895 GB, free: 3.688 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002981/0.7911, allocations: 1.256 MB / 0.4908 GB, free: 2.367 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001889/0.793, allocations: 0.7014 MB / 0.4915 GB, free: 1.668 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000423/0.7935, allocations: 141.8 kB / 0.4916 GB, free: 1.508 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/0.7936, allocations: 43.34 kB / 0.4916 GB, free: 1.457 MB / 410.7 MB Notification: Performance of pre-optimization done (n=90): time 3.676e-06/0.7936, allocations: 0 / 0.4916 GB, free: 1.457 MB / 410.7 MB Notification: Performance of matching and sorting (n=114): time 0.02502/0.8186, allocations: 5.966 MB / 0.4975 GB, free: 11.42 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.8187, allocations: 64.41 kB / 0.4975 GB, free: 11.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00244/0.8211, allocations: 1.034 MB / 0.4985 GB, free: 10.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002624/0.8214, allocations: 45.7 kB / 0.4986 GB, free: 10.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007718/0.8222, allocations: 0.836 MB / 0.4994 GB, free: 9.398 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005306/0.8228, allocations: 394.2 kB / 0.4998 GB, free: 9.008 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.8229, allocations: 32 kB / 0.4998 GB, free: 8.977 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.8231, allocations: 358.8 kB / 0.5001 GB, free: 8.617 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/0.8248, allocations: 0.6351 MB / 0.5008 GB, free: 7.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001879/0.8267, allocations: 0.9282 MB / 0.5017 GB, free: 6.926 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001983/0.8287, allocations: 0.7895 MB / 0.5024 GB, free: 6.133 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/0.8287, allocations: 0 / 0.5024 GB, free: 6.133 MB / 426.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006455/0.8352, allocations: 2.238 MB / 0.5046 GB, free: 3.879 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.862e-05/0.8353, allocations: 15.95 kB / 0.5046 GB, free: 3.863 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-05/0.8353, allocations: 8 kB / 0.5046 GB, free: 3.855 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002797/0.8381, allocations: 0.6344 MB / 0.5053 GB, free: 3.211 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0022/0.8403, allocations: 283.6 kB / 0.5055 GB, free: 2.934 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01237/0.8527, allocations: 6.305 MB / 0.5117 GB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/0.8547, allocations: 87.97 kB / 0.5118 GB, free: 12.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002138/0.855, allocations: 55.98 kB / 0.5118 GB, free: 12.23 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.0004206/0.8554, allocations: 176.7 kB / 0.512 GB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004363/0.8558, allocations: 142.3 kB / 0.5121 GB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006532/0.8624, allocations: 2.189 MB / 0.5143 GB, free: 9.691 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.193e-05/0.8625, allocations: 8 kB / 0.5143 GB, free: 9.684 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.672e-05/0.8625, allocations: 12 kB / 0.5143 GB, free: 9.672 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.689e-05/0.8625, allocations: 7.969 kB / 0.5143 GB, free: 9.664 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01295/0.8755, allocations: 4.371 MB / 0.5186 GB, free: 5.188 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.649e-05/0.8756, allocations: 4 kB / 0.5186 GB, free: 5.184 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001578/0.8771, allocations: 188.1 kB / 0.5188 GB, free: 5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003518/0.8807, allocations: 0.7056 MB / 0.5194 GB, free: 4.285 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002377/0.881, allocations: 31.98 kB / 0.5195 GB, free: 4.254 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2977/1.179, allocations: 8.009 MB / 0.5273 GB, free: 119.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/1.179, allocations: 11.38 kB / 0.5273 GB, free: 119.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008555/1.187, allocations: 3.272 MB / 0.5305 GB, free: 119 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/1.189, allocations: 360 kB / 0.5308 GB, free: 118.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004476/1.189, allocations: 29.55 kB / 0.5309 GB, free: 118.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001699/1.191, allocations: 83.75 kB / 0.5309 GB, free: 118.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004779/1.191, allocations: 102.2 kB / 0.531 GB, free: 118.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/1.191, allocations: 39.25 kB / 0.5311 GB, free: 118.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001957/1.193, allocations: 0.7919 MB / 0.5319 GB, free: 118.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.122e-06/1.193, allocations: 0 / 0.5319 GB, free: 118.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00271/1.196, allocations: 482.5 kB / 0.5323 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.009579/1.206, allocations: 4.856 MB / 0.5371 GB, free: 116.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005905/1.212, allocations: 2.165 MB / 0.5392 GB, free: 116.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/1.212, allocations: 0.6562 kB / 0.5392 GB, free: 116.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00419/1.216, allocations: 1.478 MB / 0.5406 GB, free: 116 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003091/1.219, allocations: 347.7 kB / 0.541 GB, free: 116 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/1.23, allocations: 3.804 MB / 0.5447 GB, free: 115.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001578/1.232, allocations: 1.678 MB / 0.5463 GB, free: 114.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00142/1.233, allocations: 0.692 MB / 0.547 GB, free: 114.4 MB / 442.7 MB Notification: Performance of SimCode: time 1.883e-06/1.234, allocations: 2.156 kB / 0.547 GB, free: 114.4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.505/4.738, allocations: 67.03 MB / 0.6124 GB, free: 75.32 MB / 442.7 MB