Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.138/2.138, allocations: 225.8 MB / 239.3 MB, free: 1.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.376e-05/3.397e-05, allocations: 4 kB / 292.8 MB, free: 11.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1053, allocations: 50.4 MB / 343.2 MB, free: 8.977 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5456/0.651, allocations: 109.9 MB / 453.1 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/0.6514, allocations: 88.12 kB / 453.2 MB, free: 11.7 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2336/0.885, allocations: 52.38 MB / 0.4937 GB, free: 14.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.885, allocations: 4 kB / 0.4937 GB, free: 14.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002404/0.8853, allocations: 59.94 kB / 0.4938 GB, free: 14.83 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.008464/0.8937, allocations: 2.432 MB / 0.4962 GB, free: 12.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/0.8938, allocations: 12.03 kB / 0.4962 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001303/0.8951, allocations: 359.1 kB / 0.4965 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001441/0.8966, allocations: 332.3 kB / 0.4968 GB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006137/0.9028, allocations: 1.775 MB / 0.4986 GB, free: 9.801 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001816/0.903, allocations: 152.1 kB / 0.4987 GB, free: 9.648 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005414/0.9035, allocations: 207.9 kB / 0.4989 GB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007554/0.9111, allocations: 2.602 MB / 0.5014 GB, free: 6.719 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.776e-05/0.9113, allocations: 3.906 kB / 0.5014 GB, free: 6.715 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003559/0.9116, allocations: 91.98 kB / 0.5015 GB, free: 6.625 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001574/0.9118, allocations: 88.05 kB / 0.5016 GB, free: 6.535 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007201/0.919, allocations: 2.042 MB / 0.5036 GB, free: 4.484 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02232/0.9414, allocations: 8.416 MB / 0.5118 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00427/0.9457, allocations: 1.574 MB / 0.5134 GB, free: 10.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002534/0.9483, allocations: 0.965 MB / 0.5143 GB, free: 9.254 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004399/0.9487, allocations: 150 kB / 0.5145 GB, free: 9.086 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/0.9488, allocations: 47.56 kB / 0.5145 GB, free: 9.031 MB / 410.7 MB Notification: Performance of pre-optimization done (n=119): time 4.208e-06/0.9488, allocations: 0 / 0.5145 GB, free: 9.031 MB / 410.7 MB Notification: Performance of matching and sorting (n=135): time 0.02133/0.9701, allocations: 5.026 MB / 0.5194 GB, free: 3.934 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.9702, allocations: 64.72 kB / 0.5195 GB, free: 3.855 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004662/0.9749, allocations: 1.862 MB / 0.5213 GB, free: 1.945 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003443/0.9753, allocations: 49.7 kB / 0.5213 GB, free: 1.891 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001318/0.9766, allocations: 1.115 MB / 0.5224 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007341/0.9774, allocations: 469.1 kB / 0.5229 GB, free: 304 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.9775, allocations: 32 kB / 0.5229 GB, free: 272 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002271/0.9778, allocations: 357.9 kB / 0.5232 GB, free: 15.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001954/0.9797, allocations: 0.7068 MB / 0.5239 GB, free: 15.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00218/0.9819, allocations: 0.9519 MB / 0.5249 GB, free: 14.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002278/0.9842, allocations: 0.8482 MB / 0.5257 GB, free: 13.31 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.9843, allocations: 0 / 0.5257 GB, free: 13.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.008741/0.993, allocations: 2.703 MB / 0.5283 GB, free: 10.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/0.9931, allocations: 8 kB / 0.5283 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.024e-05/0.9932, allocations: 8 kB / 0.5283 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003957/0.9971, allocations: 0.8459 MB / 0.5292 GB, free: 9.727 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002328/0.9995, allocations: 267.6 kB / 0.5294 GB, free: 9.465 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02047/1.02, allocations: 9.293 MB / 0.5385 GB, free: 15.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00239/1.022, allocations: 104 kB / 0.5386 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000277/1.023, allocations: 55.98 kB / 0.5387 GB, free: 15.73 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(6,88.9%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004065/1.023, allocations: 168.7 kB / 0.5388 GB, free: 15.56 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006409/1.024, allocations: 205.5 kB / 0.539 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007583/1.031, allocations: 2.462 MB / 0.5414 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.754e-05/1.032, allocations: 16 kB / 0.5414 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/1.032, allocations: 4 kB / 0.5414 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.679e-05/1.032, allocations: 3.984 kB / 0.5414 GB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01543/1.047, allocations: 5.02 MB / 0.5463 GB, free: 7.738 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-05/1.047, allocations: 0 / 0.5463 GB, free: 7.738 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002164/1.049, allocations: 223.9 kB / 0.5466 GB, free: 7.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003548/1.053, allocations: 0.6977 MB / 0.5472 GB, free: 6.812 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002976/1.053, allocations: 39.97 kB / 0.5473 GB, free: 6.773 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3309/1.384, allocations: 8.442 MB / 0.5555 GB, free: 110.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/1.384, allocations: 4.781 kB / 0.5555 GB, free: 110.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009948/1.394, allocations: 3.602 MB / 0.559 GB, free: 110.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001711/1.396, allocations: 473.1 kB / 0.5595 GB, free: 110.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006206/1.397, allocations: 32.44 kB / 0.5595 GB, free: 110.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00226/1.399, allocations: 94.25 kB / 0.5596 GB, free: 110.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005247/1.399, allocations: 114 kB / 0.5597 GB, free: 110.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001658/1.4, allocations: 46.8 kB / 0.5598 GB, free: 110.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003754/1.403, allocations: 1.45 MB / 0.5612 GB, free: 110.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.012e-06/1.403, allocations: 0 / 0.5612 GB, free: 110.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003547/1.407, allocations: 0.5949 MB / 0.5618 GB, free: 110.1 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,100.0%) 12,(1,100.0%) 6,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0124/1.419, allocations: 5.144 MB / 0.5668 GB, free: 108.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006685/1.426, allocations: 2.323 MB / 0.5691 GB, free: 108.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.426, allocations: 0 / 0.5691 GB, free: 108.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00421/1.43, allocations: 1.647 MB / 0.5707 GB, free: 107.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003566/1.434, allocations: 410.8 kB / 0.5711 GB, free: 107.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/1.448, allocations: 4.987 MB / 0.5759 GB, free: 106.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002105/1.45, allocations: 2.015 MB / 0.5779 GB, free: 106.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002163/1.452, allocations: 402.1 kB / 0.5783 GB, free: 106 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001843/1.454, allocations: 0.9541 MB / 0.5792 GB, free: 106 MB / 442.7 MB Notification: Performance of SimCode: time 1.342e-06/1.454, allocations: 0 / 0.5792 GB, free: 106 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1632/1.617, allocations: 51.64 MB / 0.6296 GB, free: 84.25 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002575/1.618, allocations: 241.2 kB / 0.6299 GB, free: 83.93 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.986/6.604, allocations: 0 / 0.6299 GB, free: 83.93 MB / 442.7 MB