Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.78/1.78, allocations: 171.3 MB / 178.4 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.409e-05/2.416e-05, allocations: 4 kB / 219.6 MB, free: 6.941 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2594, allocations: 38.78 MB / 258.4 MB, free: 12.17 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.167/0.4265, allocations: 93.45 MB / 351.8 MB, free: 276 kB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/0.4269, allocations: 83.95 kB / 351.9 MB, free: 192 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.393/0.8198, allocations: 43.83 MB / 395.7 MB, free: 79.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.8199, allocations: 0 / 395.7 MB, free: 79.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002233/0.8201, allocations: 51.94 kB / 395.8 MB, free: 79.22 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: 519 * Number of variables: 519 Notification: Performance of Generate backend data structure: time 0.007218/0.8274, allocations: 2.177 MB / 397.9 MB, free: 77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.8274, allocations: 16.02 kB / 398 MB, free: 76.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/0.829, allocations: 292.9 kB / 398.2 MB, free: 76.69 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004505/0.8335, allocations: 1.5 MB / 399.7 MB, free: 75.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.8337, allocations: 64 kB / 399.8 MB, free: 75.1 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006452/0.8344, allocations: 120 kB / 399.9 MB, free: 74.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005329/0.8397, allocations: 2.007 MB / 401.9 MB, free: 72.97 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005413/0.8452, allocations: 2.331 MB / 404.3 MB, free: 70.53 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.538e-05/0.8453, allocations: 7.906 kB / 404.3 MB, free: 70.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002501/0.8455, allocations: 4 kB / 404.3 MB, free: 70.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001033/0.8457, allocations: 91.89 kB / 404.4 MB, free: 70.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01835/0.864, allocations: 7.985 MB / 412.4 MB, free: 62.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002823/0.8669, allocations: 1.738 MB / 414.1 MB, free: 60.45 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001927/0.8688, allocations: 0.8599 MB / 414.9 MB, free: 59.58 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003909/0.8693, allocations: 138.3 kB / 415.1 MB, free: 59.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.8693, allocations: 44.44 kB / 415.1 MB, free: 59.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=107): time 4.358e-06/0.8693, allocations: 0 / 415.1 MB, free: 59.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=123): time 0.01154/0.8809, allocations: 4.354 MB / 419.5 MB, free: 54.97 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.881, allocations: 64.72 kB / 419.5 MB, free: 54.89 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001958/0.8829, allocations: 1.069 MB / 420.6 MB, free: 53.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001896/0.8831, allocations: 25.7 kB / 420.6 MB, free: 53.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006573/0.8838, allocations: 0.9785 MB / 421.6 MB, free: 52.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003813/0.8842, allocations: 406 kB / 422 MB, free: 52.4 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.8843, allocations: 0 / 422 MB, free: 52.4 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.8844, allocations: 369.9 kB / 422.4 MB, free: 52.03 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.8858, allocations: 0.6715 MB / 423 MB, free: 51.36 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/0.8872, allocations: 0.972 MB / 424 MB, free: 50.26 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.8888, allocations: 0.8065 MB / 424.8 MB, free: 49.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.8888, allocations: 8 kB / 424.8 MB, free: 49.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004767/0.8936, allocations: 2.134 MB / 427 MB, free: 47.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/0.8937, allocations: 12 kB / 427 MB, free: 47.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.8937, allocations: 8 kB / 427 MB, free: 47.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/0.8951, allocations: 405.8 kB / 427.4 MB, free: 46.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002319/0.8975, allocations: 339.5 kB / 427.7 MB, free: 46.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005602/0.9031, allocations: 4.418 MB / 432.1 MB, free: 41.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001835/0.905, allocations: 63.91 kB / 432.2 MB, free: 41.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/0.9051, allocations: 52 kB / 432.2 MB, free: 41.77 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003429/0.9055, allocations: 150 kB / 432.4 MB, free: 41.62 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004239/0.9097, allocations: 1.861 MB / 434.3 MB, free: 39.74 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003542/0.9101, allocations: 162.1 kB / 434.4 MB, free: 39.58 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004626/0.9148, allocations: 1.995 MB / 436.4 MB, free: 37.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.9148, allocations: 12 kB / 436.4 MB, free: 37.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.9148, allocations: 4 kB / 436.4 MB, free: 37.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/0.9148, allocations: 3.984 kB / 436.4 MB, free: 37.54 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/0.9249, allocations: 4.14 MB / 440.6 MB, free: 33.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.925, allocations: 0 / 440.6 MB, free: 33.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001888/0.9269, allocations: 247.9 kB / 440.8 MB, free: 33.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001974/0.9289, allocations: 454.9 kB / 441.3 MB, free: 32.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000209/0.9291, allocations: 15.98 kB / 441.3 MB, free: 32.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007209/0.9363, allocations: 5.897 MB / 447.2 MB, free: 26.37 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.9364, allocations: 3.938 kB / 447.2 MB, free: 26.37 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006367/0.9428, allocations: 3.152 MB / 450.3 MB, free: 23.13 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001216/0.944, allocations: 387.1 kB / 450.7 MB, free: 22.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004897/0.9445, allocations: 12 kB / 450.7 MB, free: 22.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/0.946, allocations: 67.91 kB / 450.8 MB, free: 22.65 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003882/0.9464, allocations: 105 kB / 450.9 MB, free: 22.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/0.9465, allocations: 36 kB / 450.9 MB, free: 22.51 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001581/0.9481, allocations: 0.8139 MB / 451.7 MB, free: 21.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.9482, allocations: 0 / 451.7 MB, free: 21.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002394/0.9506, allocations: 424 kB / 452.1 MB, free: 21.28 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007172/0.9578, allocations: 4.486 MB / 456.6 MB, free: 16.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004341/0.9622, allocations: 2.119 MB / 458.7 MB, free: 14.53 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.9622, allocations: 0 / 458.7 MB, free: 14.53 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003052/0.9653, allocations: 1.426 MB / 460.2 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002746/0.9681, allocations: 324.5 kB / 460.5 MB, free: 12.74 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/0.9787, allocations: 4.122 MB / 464.6 MB, free: 8.531 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001743/0.9805, allocations: 1.861 MB / 466.5 MB, free: 6.633 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001887/0.9824, allocations: 372.2 kB / 466.8 MB, free: 6.266 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001566/0.984, allocations: 0.7766 MB / 467.6 MB, free: 5.488 MB / 314.7 MB Notification: Performance of SimCode: time 1.583e-06/0.9841, allocations: 4 kB / 467.6 MB, free: 5.484 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1943/1.178, allocations: 35.77 MB / 0.4916 GB, free: 1.676 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002796/1.179, allocations: 180.9 kB / 0.4918 GB, free: 1.473 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.608/4.787, allocations: 4 kB / 0.4918 GB, free: 1.469 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_DOL_res.mat does not exist to compare? outputFormat=mat