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.645/1.645, allocations: 171.2 MB / 183.3 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.133e-05/3.143e-05, allocations: 4 kB / 225.1 MB, free: 2.195 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2568, allocations: 38.77 MB / 263.9 MB, free: 9.797 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1725/0.4294, allocations: 98.32 MB / 362.2 MB, free: 7.32 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003593/0.4298, allocations: 87.94 kB / 362.3 MB, free: 7.234 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4531/0.8829, allocations: 48.8 MB / 411.1 MB, free: 63.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.883, allocations: 0 / 411.1 MB, free: 63.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002591/0.8832, allocations: 59.94 kB / 411.1 MB, free: 63.67 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.007299/0.8905, allocations: 2.422 MB / 413.5 MB, free: 61.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.8906, allocations: 8.031 kB / 413.6 MB, free: 61.18 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001025/0.8917, allocations: 342.9 kB / 413.9 MB, free: 60.83 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/0.893, allocations: 340.3 kB / 414.2 MB, free: 60.49 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005185/0.8982, allocations: 1.709 MB / 415.9 MB, free: 58.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/0.8984, allocations: 156 kB / 416.1 MB, free: 58.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006017/0.899, allocations: 207.9 kB / 416.3 MB, free: 58.37 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00653/0.9056, allocations: 2.605 MB / 418.9 MB, free: 55.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.283e-05/0.9057, allocations: 3.906 kB / 418.9 MB, free: 55.63 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003363/0.9061, allocations: 88 kB / 419 MB, free: 55.55 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/0.9062, allocations: 87.92 kB / 419.1 MB, free: 55.46 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00596/0.9122, allocations: 2.05 MB / 421.1 MB, free: 53.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02148/0.9337, allocations: 8.334 MB / 429.5 MB, free: 44.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003994/0.9377, allocations: 1.564 MB / 431 MB, free: 43.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002271/0.94, allocations: 0.9598 MB / 432 MB, free: 42.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004271/0.9405, allocations: 138 kB / 432.1 MB, free: 42.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.9405, allocations: 47.52 kB / 432.2 MB, free: 42.08 MB / 314.7 MB Notification: Performance of pre-optimization done (n=115): time 4.148e-06/0.9406, allocations: 0 / 432.2 MB, free: 42.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=131): time 0.01443/0.955, allocations: 4.987 MB / 437.1 MB, free: 37.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.9551, allocations: 76.67 kB / 437.2 MB, free: 36.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003992/0.9591, allocations: 1.83 MB / 439 MB, free: 35.05 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000329/0.9595, allocations: 45.7 kB / 439.1 MB, free: 35 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009341/0.9604, allocations: 1.096 MB / 440.2 MB, free: 33.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005585/0.961, allocations: 449.4 kB / 440.6 MB, free: 33.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.9611, allocations: 24 kB / 440.7 MB, free: 33.42 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.9613, allocations: 361.9 kB / 441 MB, free: 33.06 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/0.9629, allocations: 0.7145 MB / 441.7 MB, free: 32.35 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00172/0.9646, allocations: 0.9668 MB / 442.7 MB, free: 31.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001926/0.9666, allocations: 0.8655 MB / 443.6 MB, free: 30.42 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.9666, allocations: 7.984 kB / 443.6 MB, free: 30.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.007635/0.9743, allocations: 2.732 MB / 446.3 MB, free: 27.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.142e-05/0.9744, allocations: 37.7 kB / 446.3 MB, free: 27.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.744e-05/0.9744, allocations: 7.984 kB / 446.3 MB, free: 27.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003542/0.978, allocations: 0.8425 MB / 447.2 MB, free: 26.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002154/0.9802, allocations: 263.6 kB / 447.4 MB, free: 26.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01723/0.9974, allocations: 9.282 MB / 456.7 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002254/0.9997, allocations: 95.97 kB / 456.8 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002439/1, allocations: 55.98 kB / 456.9 MB, free: 16.79 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.0003627/1, allocations: 180.6 kB / 457 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005025/1.001, allocations: 201.5 kB / 457.2 MB, free: 16.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006446/1.007, allocations: 2.45 MB / 459.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/1.007, allocations: 15.98 kB / 459.7 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/1.007, allocations: 11.94 kB / 459.7 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.036e-05/1.007, allocations: 11.91 kB / 459.7 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01274/1.02, allocations: 4.969 MB / 464.7 MB, free: 8.836 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.55e-05/1.02, allocations: 8.172 kB / 464.7 MB, free: 8.828 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001882/1.022, allocations: 215.7 kB / 464.9 MB, free: 8.617 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003145/1.025, allocations: 0.7065 MB / 465.6 MB, free: 7.902 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001802/1.026, allocations: 35.98 kB / 465.7 MB, free: 7.867 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01306/1.039, allocations: 8.449 MB / 474.1 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/1.039, allocations: 64 / 474.1 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00965/1.048, allocations: 3.579 MB / 477.7 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001661/1.05, allocations: 482.4 kB / 478.2 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004098/1.05, allocations: 31.98 kB / 478.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001766/1.052, allocations: 91.91 kB / 478.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004313/1.053, allocations: 104.8 kB / 478.4 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001599/1.053, allocations: 43.98 kB / 478.4 MB, free: 10.55 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003267/1.056, allocations: 1.426 MB / 479.8 MB, free: 9.094 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.81e-07/1.056, allocations: 4 kB / 479.9 MB, free: 9.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002909/1.059, allocations: 0.5743 MB / 480.4 MB, free: 8.516 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.0111/1.07, allocations: 4.92 MB / 485.3 MB, free: 3.535 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.006731/1.077, allocations: 2.428 MB / 487.8 MB, free: 1.055 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/1.077, allocations: 0 / 487.8 MB, free: 1.055 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004369/1.081, allocations: 1.666 MB / 489.4 MB, free: 15.31 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003497/1.085, allocations: 413.7 kB / 489.8 MB, free: 14.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/1.099, allocations: 4.92 MB / 494.8 MB, free: 9.914 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002517/1.102, allocations: 2.001 MB / 496.8 MB, free: 7.879 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002168/1.104, allocations: 391.5 kB / 497.1 MB, free: 7.492 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002162/1.106, allocations: 0.9327 MB / 498.1 MB, free: 6.559 MB / 346.7 MB Notification: Performance of SimCode: time 1.653e-06/1.106, allocations: 0 / 498.1 MB, free: 6.559 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4008/1.507, allocations: 50.8 MB / 0.536 GB, free: 72.55 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/1.507, allocations: 251.1 kB / 0.5363 GB, free: 72.22 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.567/6.074, allocations: 7.938 kB / 0.5363 GB, free: 72.21 MB / 346.7 MB