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.961/1.961, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.447e-05/2.465e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3025, allocations: 44.5 MB / 294.2 MB, free: 14.46 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1748/0.4774, allocations: 99.69 MB / 393.9 MB, free: 14.2 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/0.4777, allocations: 87.89 kB / 394 MB, free: 14.11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4416/0.9194, allocations: 48.47 MB / 442.5 MB, free: 92.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.9194, allocations: 0 / 442.5 MB, free: 92.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002125/0.9197, allocations: 67.47 kB / 442.5 MB, free: 92.11 MB / 362.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.007564/0.9272, allocations: 2.459 MB / 445 MB, free: 91.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.9273, allocations: 13.16 kB / 445 MB, free: 91.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001434/0.9287, allocations: 331.8 kB / 445.3 MB, free: 90.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004746/0.9335, allocations: 1.731 MB / 447.1 MB, free: 90.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.9337, allocations: 81.83 kB / 447.1 MB, free: 90.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004695/0.9341, allocations: 131.6 kB / 447.3 MB, free: 90.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005821/0.94, allocations: 2.386 MB / 449.7 MB, free: 89.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00612/0.9461, allocations: 2.754 MB / 452.4 MB, free: 88.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.821e-05/0.9463, allocations: 15.03 kB / 452.4 MB, free: 88.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002868/0.9466, allocations: 3.938 kB / 452.4 MB, free: 88.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001253/0.9467, allocations: 93.17 kB / 452.5 MB, free: 88.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02013/0.9668, allocations: 9.505 MB / 462 MB, free: 83.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003009/0.9699, allocations: 2.017 MB / 464 MB, free: 82.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001988/0.9719, allocations: 1.044 MB / 465.1 MB, free: 81.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004001/0.9723, allocations: 143.3 kB / 465.2 MB, free: 81.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.9724, allocations: 47.94 kB / 465.3 MB, free: 81.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=129): time 3.787e-06/0.9724, allocations: 0 / 465.3 MB, free: 81.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=145): time 0.01479/0.9872, allocations: 5.327 MB / 470.6 MB, free: 77.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.9873, allocations: 68.72 kB / 470.7 MB, free: 77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002416/0.9897, allocations: 1.214 MB / 471.9 MB, free: 75.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003579/0.9901, allocations: 25.7 kB / 471.9 MB, free: 75.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008172/0.9909, allocations: 1.085 MB / 473 MB, free: 74.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000543/0.9915, allocations: 472.8 kB / 473.5 MB, free: 74.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.9916, allocations: 10.5 kB / 473.5 MB, free: 74.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.9918, allocations: 373.9 kB / 473.8 MB, free: 73.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001665/0.9934, allocations: 0.8239 MB / 474.7 MB, free: 73.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001817/0.9953, allocations: 1.145 MB / 475.8 MB, free: 71.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001992/0.9973, allocations: 0.9782 MB / 476.8 MB, free: 70.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.9973, allocations: 4 kB / 476.8 MB, free: 70.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.006608/1.004, allocations: 2.748 MB / 479.5 MB, free: 68.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/1.004, allocations: 11.94 kB / 479.5 MB, free: 68.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.202e-05/1.004, allocations: 12 kB / 479.6 MB, free: 68.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003014/1.007, allocations: 0.8067 MB / 480.4 MB, free: 67.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002385/1.009, allocations: 315.5 kB / 480.7 MB, free: 66.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01301/1.023, allocations: 8.717 MB / 489.4 MB, free: 57.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002166/1.025, allocations: 75.8 kB / 489.5 MB, free: 57.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001924/1.025, allocations: 60.06 kB / 489.5 MB, free: 57.72 MB / 362.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.0003985/1.025, allocations: 137.1 kB / 489.7 MB, free: 57.58 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005974/1.031, allocations: 2.478 MB / 492.1 MB, free: 55.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005861/1.032, allocations: 173.9 kB / 492.3 MB, free: 54.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006236/1.038, allocations: 2.641 MB / 494.9 MB, free: 52.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.699e-05/1.038, allocations: 12 kB / 495 MB, free: 52.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/1.038, allocations: 8 kB / 495 MB, free: 52.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.927e-05/1.038, allocations: 7.969 kB / 495 MB, free: 52.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01232/1.051, allocations: 5.172 MB / 0.4884 GB, free: 46.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/1.051, allocations: 4 kB / 0.4884 GB, free: 46.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/1.052, allocations: 212 kB / 0.4886 GB, free: 46.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003488/1.056, allocations: 0.8589 MB / 0.4895 GB, free: 45.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001793/1.056, allocations: 19.98 kB / 0.4895 GB, free: 45.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0142/1.07, allocations: 10.18 MB / 0.4994 GB, free: 35.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/1.07, allocations: 12.03 kB / 0.4994 GB, free: 35.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008302/1.079, allocations: 4.058 MB / 0.5034 GB, free: 31.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001367/1.08, allocations: 450.8 kB / 0.5038 GB, free: 30.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004215/1.081, allocations: 7.984 kB / 0.5038 GB, free: 30.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/1.082, allocations: 71.91 kB / 0.5039 GB, free: 30.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005229/1.083, allocations: 149 kB / 0.504 GB, free: 30.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001406/1.083, allocations: 39.98 kB / 0.5041 GB, free: 30.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001672/1.085, allocations: 0.9152 MB / 0.505 GB, free: 29.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.085, allocations: 4 kB / 0.505 GB, free: 29.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002673/1.087, allocations: 0.5078 MB / 0.5055 GB, free: 28.9 MB / 362.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.008916/1.096, allocations: 5.387 MB / 0.5107 GB, free: 23.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005497/1.102, allocations: 2.791 MB / 0.5135 GB, free: 20.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/1.102, allocations: 0 / 0.5135 GB, free: 20.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004097/1.106, allocations: 1.926 MB / 0.5153 GB, free: 18.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003321/1.109, allocations: 389.5 kB / 0.5157 GB, free: 18.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/1.121, allocations: 4.779 MB / 0.5204 GB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002019/1.123, allocations: 2.071 MB / 0.5224 GB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001946/1.125, allocations: 382 kB / 0.5228 GB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001765/1.127, allocations: 0.8898 MB / 0.5236 GB, free: 9.973 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/1.127, allocations: 0 / 0.5236 GB, free: 9.973 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4053/1.532, allocations: 44.37 MB / 0.567 GB, free: 103.7 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002485/1.532, allocations: 175.7 kB / 0.5671 GB, free: 103.5 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.12/5.652, allocations: 1.25 kB / 0.5671 GB, free: 103.5 MB / 394.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