Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.713/1.713, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.033e-05/3.037e-05, allocations: 4 kB / 225.1 MB, free: 2.234 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3056, allocations: 38.77 MB / 263.9 MB, free: 9.719 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2121/0.5177, allocations: 95.17 MB / 359.1 MB, free: 10.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/0.5181, allocations: 83.95 kB / 359.1 MB, free: 10.31 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4775/0.9956, allocations: 49.08 MB / 408.2 MB, free: 65.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.947e-06/0.9957, allocations: 4 kB / 408.2 MB, free: 65.85 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.00027/0.996, allocations: 59.94 kB / 408.3 MB, free: 65.79 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: 587 * Number of variables: 587 Notification: Performance of Generate backend data structure: time 0.00891/1.005, allocations: 2.456 MB / 410.7 MB, free: 63.28 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/1.005, allocations: 11.97 kB / 410.7 MB, free: 63.27 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001484/1.006, allocations: 333.2 kB / 411.1 MB, free: 62.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/1.008, allocations: 332.4 kB / 411.4 MB, free: 62.6 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005443/1.014, allocations: 1.681 MB / 413.1 MB, free: 60.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002417/1.014, allocations: 168.5 kB / 413.2 MB, free: 60.7 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00101/1.015, allocations: 231.9 kB / 413.5 MB, free: 60.47 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00878/1.024, allocations: 3.027 MB / 416.5 MB, free: 57.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001145/1.024, allocations: 8 kB / 416.5 MB, free: 57.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003757/1.024, allocations: 96 kB / 416.6 MB, free: 57.19 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001204/1.024, allocations: 88.41 kB / 416.7 MB, free: 57.1 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007398/1.032, allocations: 2.48 MB / 419.2 MB, free: 54.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02504/1.057, allocations: 9.876 MB / 429 MB, free: 44.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003731/1.061, allocations: 2.07 MB / 431.1 MB, free: 42.28 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002533/1.063, allocations: 1.087 MB / 432.2 MB, free: 41.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004319/1.064, allocations: 138.3 kB / 432.3 MB, free: 41.04 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/1.064, allocations: 47.88 kB / 432.4 MB, free: 40.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=129): time 4.098e-06/1.064, allocations: 0 / 432.4 MB, free: 40.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=145): time 0.02111/1.085, allocations: 6.289 MB / 438.7 MB, free: 34.63 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/1.085, allocations: 64.72 kB / 438.7 MB, free: 34.56 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003083/1.088, allocations: 1.43 MB / 440.2 MB, free: 33.12 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003766/1.089, allocations: 45.7 kB / 440.2 MB, free: 33.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008468/1.089, allocations: 1.066 MB / 441.3 MB, free: 31.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00065/1.09, allocations: 488.9 kB / 441.8 MB, free: 31.51 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/1.09, allocations: 35.94 kB / 441.8 MB, free: 31.47 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/1.09, allocations: 365.9 kB / 442.1 MB, free: 31.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002012/1.092, allocations: 0.8629 MB / 443 MB, free: 30.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00225/1.095, allocations: 1.16 MB / 444.2 MB, free: 28.96 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002311/1.097, allocations: 1.016 MB / 445.2 MB, free: 27.95 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/1.097, allocations: 4 kB / 445.2 MB, free: 27.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.007825/1.105, allocations: 2.9 MB / 448.1 MB, free: 25.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/1.105, allocations: 8.25 kB / 448.1 MB, free: 25.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/1.105, allocations: 16 kB / 448.1 MB, free: 24.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003175/1.108, allocations: 0.8297 MB / 448.9 MB, free: 24.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002398/1.111, allocations: 311.5 kB / 449.2 MB, free: 23.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01387/1.125, allocations: 9.065 MB / 458.3 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002309/1.127, allocations: 107.9 kB / 458.4 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002017/1.127, allocations: 59.98 kB / 458.5 MB, free: 14.21 MB / 314.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.0004208/1.128, allocations: 194.1 kB / 458.7 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004199/1.128, allocations: 189.8 kB / 458.8 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006964/1.135, allocations: 2.776 MB / 461.6 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-05/1.135, allocations: 16 kB / 461.6 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.902e-05/1.135, allocations: 8 kB / 461.6 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.711e-05/1.135, allocations: 7.969 kB / 461.7 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01956/1.155, allocations: 5.57 MB / 467.2 MB, free: 5.309 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/1.155, allocations: 0 / 467.2 MB, free: 5.309 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002483/1.157, allocations: 212 kB / 467.4 MB, free: 5.102 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005188/1.162, allocations: 0.8864 MB / 468.3 MB, free: 4.199 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003431/1.163, allocations: 43.94 kB / 468.4 MB, free: 4.156 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01913/1.182, allocations: 10.58 MB / 478.9 MB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.182, allocations: 8.094 kB / 478.9 MB, free: 9.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01073/1.193, allocations: 4.195 MB / 483.1 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001705/1.195, allocations: 474.7 kB / 483.6 MB, free: 4.219 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004458/1.195, allocations: 31.98 kB / 483.6 MB, free: 4.188 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001753/1.197, allocations: 91.92 kB / 483.7 MB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000512/1.197, allocations: 137 kB / 483.9 MB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001871/1.198, allocations: 43.98 kB / 483.9 MB, free: 3.922 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002585/1.2, allocations: 1.098 MB / 485 MB, free: 2.828 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.42e-07/1.2, allocations: 4 kB / 485 MB, free: 2.824 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003206/1.203, allocations: 0.5821 MB / 485.6 MB, free: 2.242 MB / 330.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.01179/1.215, allocations: 5.571 MB / 491.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007307/1.223, allocations: 2.838 MB / 494 MB, free: 9.656 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/1.223, allocations: 3.938 kB / 494 MB, free: 9.652 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004826/1.227, allocations: 1.95 MB / 496 MB, free: 7.641 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003651/1.231, allocations: 481.1 kB / 496.4 MB, free: 7.168 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/1.244, allocations: 4.892 MB / 0.4896 GB, free: 2.191 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003901/1.248, allocations: 2.063 MB / 0.4916 GB, free: 96 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.3301/1.578, allocations: 394.5 kB / 0.492 GB, free: 90.54 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00299/1.581, allocations: 0.8768 MB / 0.4928 GB, free: 90.54 MB / 346.7 MB Notification: Performance of SimCode: time 2.054e-06/1.581, allocations: 0.6562 kB / 0.4928 GB, free: 90.54 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1372/1.719, allocations: 51.13 MB / 0.5427 GB, free: 65.82 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/1.719, allocations: 205 kB / 0.5429 GB, free: 65.59 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.399/6.118, allocations: 3.906 kB / 0.5429 GB, free: 65.58 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_YD_res.mat does not exist to compare? outputFormat=mat