Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.714/1.714, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.499e-05/4.514e-05, allocations: 4 kB / 225.1 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3282, allocations: 38.77 MB / 263.9 MB, free: 9.812 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1893/0.5175, allocations: 98.33 MB / 362.2 MB, free: 7.328 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003744/0.518, allocations: 87.94 kB / 362.3 MB, free: 7.242 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4132/0.9312, allocations: 48.8 MB / 411.1 MB, free: 63.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.9312, allocations: 0 / 411.1 MB, free: 63.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002029/0.9314, allocations: 59.94 kB / 411.1 MB, free: 63.7 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.006241/0.9377, allocations: 2.426 MB / 413.6 MB, free: 61.2 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/0.9378, allocations: 12.03 kB / 413.6 MB, free: 61.19 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007358/0.9385, allocations: 338.9 kB / 413.9 MB, free: 60.85 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.9396, allocations: 332.3 kB / 414.2 MB, free: 60.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005017/0.9446, allocations: 1.717 MB / 416 MB, free: 58.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.9448, allocations: 152 kB / 416.1 MB, free: 58.6 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006008/0.9455, allocations: 211.9 kB / 416.3 MB, free: 58.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006295/0.9518, allocations: 2.573 MB / 418.9 MB, free: 55.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.233e-05/0.9519, allocations: 11.91 kB / 418.9 MB, free: 55.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003023/0.9522, allocations: 95.98 kB / 419 MB, free: 55.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/0.9523, allocations: 83.92 kB / 419.1 MB, free: 55.51 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005334/0.9577, allocations: 2.034 MB / 421.1 MB, free: 53.47 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01939/0.9771, allocations: 8.322 MB / 429.4 MB, free: 44.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003793/0.981, allocations: 1.546 MB / 431 MB, free: 43.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002411/0.9834, allocations: 0.9559 MB / 431.9 MB, free: 42.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004463/0.9839, allocations: 142 kB / 432.1 MB, free: 42.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.984, allocations: 48.17 kB / 432.1 MB, free: 42.17 MB / 314.7 MB Notification: Performance of pre-optimization done (n=115): time 5.43e-06/0.984, allocations: 0 / 432.1 MB, free: 42.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=131): time 0.01435/0.9983, allocations: 4.992 MB / 437.1 MB, free: 37.11 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.9984, allocations: 68.67 kB / 437.2 MB, free: 37.03 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003746/1.002, allocations: 1.826 MB / 439 MB, free: 35.15 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000322/1.003, allocations: 49.7 kB / 439.1 MB, free: 35.1 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008499/1.003, allocations: 1.096 MB / 440.1 MB, free: 33.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004933/1.004, allocations: 453.4 kB / 440.6 MB, free: 33.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/1.004, allocations: 28 kB / 440.6 MB, free: 33.51 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/1.004, allocations: 353.9 kB / 441 MB, free: 33.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001587/1.006, allocations: 0.7146 MB / 441.7 MB, free: 32.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001674/1.007, allocations: 0.955 MB / 442.6 MB, free: 31.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001809/1.009, allocations: 0.8694 MB / 443.5 MB, free: 30.53 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.463e-06/1.009, allocations: 0 / 443.5 MB, free: 30.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.007042/1.016, allocations: 2.724 MB / 446.2 MB, free: 27.78 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.908e-05/1.016, allocations: 33.7 kB / 446.3 MB, free: 27.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.231e-05/1.016, allocations: 11.98 kB / 446.3 MB, free: 27.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003432/1.02, allocations: 0.8383 MB / 447.1 MB, free: 26.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002046/1.022, allocations: 267.6 kB / 447.4 MB, free: 26.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01681/1.039, allocations: 9.286 MB / 456.7 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002205/1.041, allocations: 95.89 kB / 456.7 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000174/1.041, allocations: 63.98 kB / 456.8 MB, free: 16.89 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 1 * 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.000349/1.042, allocations: 177.7 kB / 457 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004483/1.042, allocations: 201.5 kB / 457.2 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006253/1.048, allocations: 2.458 MB / 459.6 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/1.048, allocations: 12 kB / 459.7 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/1.048, allocations: 8 kB / 459.7 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/1.048, allocations: 3.984 kB / 459.7 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01227/1.061, allocations: 4.973 MB / 464.6 MB, free: 8.949 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.534e-05/1.061, allocations: 7.984 kB / 464.6 MB, free: 8.941 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001974/1.063, allocations: 211.9 kB / 464.8 MB, free: 8.734 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00324/1.066, allocations: 0.7056 MB / 465.6 MB, free: 8.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002972/1.066, allocations: 35.97 kB / 465.6 MB, free: 7.984 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01318/1.08, allocations: 8.449 MB / 474 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/1.08, allocations: 3.938 kB / 474 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009954/1.09, allocations: 3.571 MB / 477.6 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00182/1.092, allocations: 478.5 kB / 478.1 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006832/1.092, allocations: 31.98 kB / 478.1 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002176/1.094, allocations: 99.84 kB / 478.2 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005468/1.095, allocations: 104.8 kB / 478.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001912/1.095, allocations: 35.98 kB / 478.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003834/1.099, allocations: 1.426 MB / 479.8 MB, free: 9.223 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.523e-06/1.099, allocations: 0 / 479.8 MB, free: 9.223 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003279/1.102, allocations: 0.5821 MB / 480.4 MB, free: 8.641 MB / 330.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 (91): * Single equations (assignments): 85 * 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.01137/1.114, allocations: 4.939 MB / 485.3 MB, free: 3.645 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00719/1.121, allocations: 2.367 MB / 487.7 MB, free: 1.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.918e-06/1.121, allocations: 5.25 kB / 487.7 MB, free: 1.227 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004819/1.126, allocations: 1.637 MB / 489.3 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003518/1.13, allocations: 407.5 kB / 489.7 MB, free: 15.12 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01522/1.145, allocations: 4.906 MB / 494.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002676/1.148, allocations: 1.997 MB / 496.6 MB, free: 8.102 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002254/1.15, allocations: 387.5 kB / 497 MB, free: 7.719 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00212/1.152, allocations: 0.9327 MB / 497.9 MB, free: 6.785 MB / 346.7 MB Notification: Performance of SimCode: time 1.392e-06/1.152, allocations: 3.938 kB / 497.9 MB, free: 6.781 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3535/1.505, allocations: 50.57 MB / 0.5356 GB, free: 73.29 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/1.506, allocations: 261.7 kB / 0.5359 GB, free: 72.94 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.584/6.089, allocations: 0 / 0.5359 GB, free: 72.94 MB / 346.7 MB