Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.979/1.979, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 5.492e-05/5.499e-05, allocations: 4 kB / 255.5 MB, free: 2.594 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1288, allocations: 44.5 MB / 300 MB, free: 6.027 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5156/0.6445, allocations: 100.4 MB / 400.3 MB, free: 11.98 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/0.6448, allocations: 84.58 kB / 400.4 MB, free: 11.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1944/0.8393, allocations: 49.12 MB / 449.5 MB, free: 1.574 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.8393, allocations: 0 / 449.5 MB, free: 1.574 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003108/0.8396, allocations: 63.14 kB / 449.6 MB, free: 1.516 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.01012/0.8498, allocations: 2.465 MB / 452.1 MB, free: 15.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/0.8499, allocations: 8.031 kB / 452.1 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001308/0.8512, allocations: 332.4 kB / 452.4 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00155/0.8527, allocations: 328.7 kB / 452.7 MB, free: 14.63 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005975/0.8587, allocations: 1.728 MB / 454.5 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002572/0.859, allocations: 177.9 kB / 454.6 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000931/0.86, allocations: 235 kB / 454.9 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009479/0.8695, allocations: 3.053 MB / 457.9 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001139/0.8696, allocations: 19.77 kB / 457.9 MB, free: 9.988 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004007/0.8701, allocations: 92 kB / 458 MB, free: 9.898 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001599/0.8702, allocations: 100.4 kB / 458.1 MB, free: 9.797 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008457/0.8787, allocations: 2.484 MB / 460.6 MB, free: 7.305 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02938/0.9081, allocations: 9.933 MB / 470.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004546/0.9127, allocations: 2.063 MB / 472.6 MB, free: 11.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002902/0.9157, allocations: 1.083 MB / 473.7 MB, free: 9.926 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004741/0.9162, allocations: 145.7 kB / 473.8 MB, free: 9.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.248e-05/0.9163, allocations: 43.88 kB / 473.9 MB, free: 9.715 MB / 362.7 MB Notification: Performance of pre-optimization done (n=129): time 3.938e-06/0.9163, allocations: 0 / 473.9 MB, free: 9.715 MB / 362.7 MB Notification: Performance of matching and sorting (n=145): time 0.02337/0.9397, allocations: 6.291 MB / 480.2 MB, free: 3.367 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.9398, allocations: 68.72 kB / 480.2 MB, free: 3.285 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003566/0.9434, allocations: 1.441 MB / 481.7 MB, free: 1.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004032/0.9438, allocations: 53.7 kB / 481.7 MB, free: 1.781 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001191/0.945, allocations: 1.073 MB / 482.8 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008206/0.9459, allocations: 494.7 kB / 483.3 MB, free: 228 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.946, allocations: 32 kB / 483.3 MB, free: 196 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002148/0.9463, allocations: 365.9 kB / 483.7 MB, free: 15.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002279/0.9486, allocations: 0.859 MB / 484.5 MB, free: 14.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002646/0.9512, allocations: 1.172 MB / 485.7 MB, free: 13.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002701/0.954, allocations: 1.012 MB / 486.7 MB, free: 12.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.42e-05/0.954, allocations: 4 kB / 486.7 MB, free: 12.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.008585/0.9626, allocations: 2.897 MB / 489.6 MB, free: 9.734 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.681e-05/0.9627, allocations: 8 kB / 489.6 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/0.9627, allocations: 8 kB / 489.6 MB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003525/0.9663, allocations: 0.8378 MB / 490.5 MB, free: 8.867 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002596/0.9689, allocations: 315.5 kB / 490.8 MB, free: 8.559 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01722/0.9862, allocations: 9.064 MB / 499.8 MB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002473/0.9887, allocations: 99.86 kB / 499.9 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003261/0.989, allocations: 56 kB / 500 MB, free: 14.95 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 147 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004947/0.9895, allocations: 204.3 kB / 0.4885 GB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005917/0.9901, allocations: 181.8 kB / 0.4886 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008108/0.9983, allocations: 2.78 MB / 0.4913 GB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.551e-05/0.9983, allocations: 12 kB / 0.4914 GB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/0.9984, allocations: 8.188 kB / 0.4914 GB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.559e-05/0.9984, allocations: 7.969 kB / 0.4914 GB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0167/1.015, allocations: 5.595 MB / 0.4968 GB, free: 6.055 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/1.015, allocations: 3.984 kB / 0.4968 GB, free: 6.051 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001964/1.017, allocations: 207.7 kB / 0.497 GB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0042/1.021, allocations: 0.9018 MB / 0.4979 GB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003715/1.022, allocations: 35.98 kB / 0.498 GB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01867/1.04, allocations: 10.57 MB / 0.5083 GB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/1.041, allocations: 8.016 kB / 0.5083 GB, free: 9.777 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01072/1.051, allocations: 4.199 MB / 0.5124 GB, free: 5.461 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001639/1.053, allocations: 466.7 kB / 0.5128 GB, free: 4.984 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004004/1.053, allocations: 39.98 kB / 0.5129 GB, free: 4.945 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001803/1.055, allocations: 91.91 kB / 0.513 GB, free: 4.855 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005269/1.056, allocations: 149 kB / 0.5131 GB, free: 4.711 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001634/1.056, allocations: 43.98 kB / 0.5131 GB, free: 4.668 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002653/1.059, allocations: 1.11 MB / 0.5142 GB, free: 3.562 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.595e-06/1.059, allocations: 3.938 kB / 0.5142 GB, free: 3.559 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003417/1.062, allocations: 0.5936 MB / 0.5148 GB, free: 2.965 MB / 410.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: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 97 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2807/1.343, allocations: 5.538 MB / 0.5202 GB, free: 106.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007435/1.35, allocations: 2.845 MB / 0.523 GB, free: 106.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.35, allocations: 0 / 0.523 GB, free: 106.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005214/1.356, allocations: 1.945 MB / 0.5249 GB, free: 105.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004184/1.36, allocations: 483.3 kB / 0.5254 GB, free: 105.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0156/1.375, allocations: 4.912 MB / 0.5302 GB, free: 104.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003225/1.379, allocations: 2.076 MB / 0.5322 GB, free: 104 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002446/1.381, allocations: 404.1 kB / 0.5326 GB, free: 103.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002142/1.383, allocations: 0.8848 MB / 0.5334 GB, free: 103.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.533e-06/1.383, allocations: 0 / 0.5334 GB, free: 103.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1724/1.556, allocations: 51.68 MB / 0.5839 GB, free: 86.9 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000306/1.556, allocations: 201.4 kB / 0.5841 GB, free: 86.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.491/6.048, allocations: 3.938 kB / 0.5841 GB, free: 86.67 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_res.mat does not exist to compare? outputFormat=mat