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.718/1.718, allocations: 171.3 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.139e-05/2.149e-05, allocations: 0 / 219.6 MB, free: 6.953 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2549, allocations: 38.78 MB / 258.4 MB, free: 12.2 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1699/0.4248, allocations: 97.65 MB / 356 MB, free: 12.08 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/0.4252, allocations: 83.95 kB / 356.1 MB, free: 12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4568/0.882, allocations: 48.18 MB / 404.3 MB, free: 71.48 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.8821, allocations: 0 / 404.3 MB, free: 71.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002656/0.8823, allocations: 62.3 kB / 404.3 MB, free: 71.42 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.008358/0.8907, allocations: 2.429 MB / 406.8 MB, free: 68.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.8908, allocations: 12.03 kB / 406.8 MB, free: 68.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001939/0.8927, allocations: 328.3 kB / 407.1 MB, free: 68.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006128/0.8989, allocations: 1.71 MB / 408.8 MB, free: 66.87 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.8991, allocations: 64 kB / 408.9 MB, free: 66.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008314/0.8999, allocations: 123.9 kB / 409 MB, free: 66.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005847/0.9058, allocations: 1.937 MB / 410.9 MB, free: 64.74 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00713/0.913, allocations: 2.295 MB / 413.2 MB, free: 62.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001036/0.9131, allocations: 4 kB / 413.2 MB, free: 62.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000292/0.9134, allocations: 4 kB / 413.2 MB, free: 62.33 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001146/0.9135, allocations: 79.89 kB / 413.3 MB, free: 62.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02155/0.9351, allocations: 7.894 MB / 421.2 MB, free: 54.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003933/0.9391, allocations: 1.515 MB / 422.7 MB, free: 52.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001954/0.9411, allocations: 0.8553 MB / 423.6 MB, free: 51.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004736/0.9416, allocations: 141.2 kB / 423.7 MB, free: 51.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.9417, allocations: 48.44 kB / 423.7 MB, free: 51.61 MB / 314.7 MB Notification: Performance of pre-optimization done (n=115): time 3.787e-06/0.9417, allocations: 4 kB / 423.8 MB, free: 51.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=131): time 0.01504/0.9567, allocations: 4.781 MB / 428.5 MB, free: 46.76 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.9568, allocations: 68.66 kB / 428.6 MB, free: 46.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003811/0.9606, allocations: 1.61 MB / 430.2 MB, free: 45.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003518/0.961, allocations: 25.7 kB / 430.2 MB, free: 45.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001014/0.9621, allocations: 1.103 MB / 431.3 MB, free: 43.92 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006288/0.9627, allocations: 437.4 kB / 431.8 MB, free: 43.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.9629, allocations: 4 kB / 431.8 MB, free: 43.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.963, allocations: 357.9 kB / 432.1 MB, free: 43.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001478/0.9645, allocations: 0.6911 MB / 432.8 MB, free: 42.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001545/0.9661, allocations: 0.9318 MB / 433.7 MB, free: 41.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001805/0.9679, allocations: 0.8183 MB / 434.6 MB, free: 40.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-05/0.9679, allocations: 4 kB / 434.6 MB, free: 40.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.007106/0.9751, allocations: 2.573 MB / 437.1 MB, free: 38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.99e-05/0.9751, allocations: 33.7 kB / 437.2 MB, free: 37.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-05/0.9752, allocations: 11.98 kB / 437.2 MB, free: 37.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003527/0.9787, allocations: 0.8307 MB / 438 MB, free: 37.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002145/0.9809, allocations: 263.6 kB / 438.3 MB, free: 36.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01701/0.998, allocations: 8.882 MB / 447.2 MB, free: 27.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002204/1, allocations: 71.97 kB / 447.2 MB, free: 27.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003228/1.001, allocations: 55.98 kB / 447.3 MB, free: 27.61 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.0003689/1.001, allocations: 128.6 kB / 447.4 MB, free: 27.48 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006268/1.007, allocations: 2.177 MB / 449.6 MB, free: 25.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008727/1.008, allocations: 193.6 kB / 449.8 MB, free: 25.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006706/1.015, allocations: 2.332 MB / 452.1 MB, free: 22.74 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.666e-05/1.015, allocations: 19.98 kB / 452.1 MB, free: 22.72 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/1.015, allocations: 11.95 kB / 452.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.238e-05/1.015, allocations: 3.984 kB / 452.1 MB, free: 22.7 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01286/1.028, allocations: 4.581 MB / 456.7 MB, free: 18.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.399e-05/1.028, allocations: 4 kB / 456.7 MB, free: 18.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001933/1.03, allocations: 207.7 kB / 456.9 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003177/1.033, allocations: 0.7012 MB / 457.6 MB, free: 17.15 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003017/1.033, allocations: 19.97 kB / 457.6 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01219/1.046, allocations: 8.135 MB / 465.8 MB, free: 8.652 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/1.046, allocations: 4.031 kB / 465.8 MB, free: 8.648 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007971/1.054, allocations: 3.418 MB / 469.2 MB, free: 5.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001598/1.055, allocations: 454.7 kB / 469.6 MB, free: 4.695 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005994/1.056, allocations: 11.98 kB / 469.7 MB, free: 4.684 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001921/1.058, allocations: 67.91 kB / 469.7 MB, free: 4.617 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005016/1.058, allocations: 120.9 kB / 469.8 MB, free: 4.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001693/1.059, allocations: 39.98 kB / 469.9 MB, free: 4.461 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002593/1.061, allocations: 1.234 MB / 471.1 MB, free: 3.234 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.92e-07/1.061, allocations: 0 / 471.1 MB, free: 3.234 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002949/1.064, allocations: 0.4999 MB / 471.6 MB, free: 2.734 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (90): * Single equations (assignments): 84 * 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.009462/1.074, allocations: 4.601 MB / 476.2 MB, free: 14.1 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.006639/1.08, allocations: 2.335 MB / 478.5 MB, free: 11.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/1.081, allocations: 4 kB / 478.6 MB, free: 11.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004549/1.085, allocations: 1.608 MB / 480.2 MB, free: 10.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00313/1.088, allocations: 317.8 kB / 480.5 MB, free: 9.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01476/1.103, allocations: 4.739 MB / 485.2 MB, free: 4.918 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003151/1.106, allocations: 2.001 MB / 487.2 MB, free: 2.883 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002421/1.109, allocations: 374.3 kB / 487.6 MB, free: 2.512 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002471/1.111, allocations: 0.9132 MB / 488.5 MB, free: 1.598 MB / 330.7 MB Notification: Performance of SimCode: time 3.717e-06/1.111, allocations: 0 / 488.5 MB, free: 1.598 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3836/1.495, allocations: 43.21 MB / 0.5192 GB, free: 89.23 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/1.495, allocations: 216.1 kB / 0.5194 GB, free: 88.95 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.248/5.744, allocations: 0 / 0.5194 GB, free: 88.95 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_res.mat does not exist to compare? outputFormat=mat