Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.027/2.027, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.465e-05, allocations: 4 kB / 249.7 MB, free: 15.19 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4318/0.4319, allocations: 44.5 MB / 294.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2298/0.6618, allocations: 99.7 MB / 393.9 MB, free: 14.22 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/0.6622, allocations: 79.95 kB / 394 MB, free: 14.14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.45/1.112, allocations: 48.46 MB / 442.4 MB, free: 91.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.424e-06/1.112, allocations: 4 kB / 442.4 MB, free: 91.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002755/1.113, allocations: 69.58 kB / 442.5 MB, free: 91.85 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.008883/1.121, allocations: 2.467 MB / 445 MB, free: 90.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/1.121, allocations: 9.859 kB / 445 MB, free: 90.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001828/1.123, allocations: 328.4 kB / 445.3 MB, free: 90.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005427/1.129, allocations: 1.731 MB / 447 MB, free: 90.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001494/1.129, allocations: 79.39 kB / 447.1 MB, free: 90.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008582/1.13, allocations: 134.9 kB / 447.3 MB, free: 90.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006875/1.137, allocations: 2.381 MB / 449.6 MB, free: 89.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007874/1.145, allocations: 2.752 MB / 452.4 MB, free: 88.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001014/1.145, allocations: 11.84 kB / 452.4 MB, free: 88.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003352/1.145, allocations: 7.688 kB / 452.4 MB, free: 88.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001219/1.145, allocations: 98.25 kB / 452.5 MB, free: 88.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02346/1.169, allocations: 9.494 MB / 462 MB, free: 83.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003388/1.172, allocations: 2.028 MB / 464 MB, free: 81.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002309/1.175, allocations: 1.041 MB / 465.1 MB, free: 81.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004341/1.175, allocations: 138.1 kB / 465.2 MB, free: 81.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/1.175, allocations: 52.03 kB / 465.3 MB, free: 81.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=129): time 4.529e-06/1.175, allocations: 0 / 465.3 MB, free: 81.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=145): time 0.01498/1.19, allocations: 5.328 MB / 470.6 MB, free: 77.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/1.19, allocations: 64.72 kB / 470.6 MB, free: 76.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002449/1.193, allocations: 1.209 MB / 471.9 MB, free: 75.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003529/1.193, allocations: 28.7 kB / 471.9 MB, free: 75.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007375/1.194, allocations: 1.05 MB / 472.9 MB, free: 74.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005888/1.194, allocations: 472.9 kB / 473.4 MB, free: 74.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/1.195, allocations: 0 / 473.4 MB, free: 74.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/1.195, allocations: 374.7 kB / 473.8 MB, free: 73.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001685/1.196, allocations: 0.8277 MB / 474.6 MB, free: 73.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001897/1.198, allocations: 1.145 MB / 475.7 MB, free: 71.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002022/1.2, allocations: 0.9821 MB / 476.7 MB, free: 70.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/1.2, allocations: 4 kB / 476.7 MB, free: 70.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.006519/1.207, allocations: 2.652 MB / 479.4 MB, free: 68.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/1.207, allocations: 8 kB / 479.4 MB, free: 68.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/1.207, allocations: 8 kB / 479.4 MB, free: 68.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003223/1.21, allocations: 0.816 MB / 480.2 MB, free: 67.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00242/1.213, allocations: 311.5 kB / 480.5 MB, free: 67.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01328/1.226, allocations: 8.711 MB / 489.2 MB, free: 58.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002205/1.228, allocations: 75.8 kB / 489.3 MB, free: 57.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000349/1.229, allocations: 57.62 kB / 489.3 MB, free: 57.9 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.0004277/1.229, allocations: 140.7 kB / 489.5 MB, free: 57.76 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006267/1.235, allocations: 2.489 MB / 492 MB, free: 55.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007385/1.236, allocations: 165.9 kB / 492.1 MB, free: 55.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006692/1.243, allocations: 2.641 MB / 494.8 MB, free: 52.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.283e-05/1.243, allocations: 16 kB / 494.8 MB, free: 52.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.659e-05/1.243, allocations: 8 kB / 494.8 MB, free: 52.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-05/1.243, allocations: 7.969 kB / 494.8 MB, free: 52.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/1.257, allocations: 5.167 MB / 500 MB, free: 47.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/1.257, allocations: 4 kB / 500 MB, free: 47.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001844/1.259, allocations: 203.7 kB / 0.4885 GB, free: 46.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003628/1.262, allocations: 0.8678 MB / 0.4893 GB, free: 46.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003299/1.263, allocations: 11.98 kB / 0.4893 GB, free: 46.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01465/1.277, allocations: 10.19 MB / 0.4993 GB, free: 35.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.735e-06/1.277, allocations: 3.938 kB / 0.4993 GB, free: 35.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008943/1.286, allocations: 4.058 MB / 0.5032 GB, free: 31.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001589/1.288, allocations: 446.9 kB / 0.5037 GB, free: 30.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000671/1.289, allocations: 11.98 kB / 0.5037 GB, free: 30.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001992/1.291, allocations: 67.91 kB / 0.5037 GB, free: 30.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006328/1.291, allocations: 149 kB / 0.5039 GB, free: 30.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001561/1.291, allocations: 43.98 kB / 0.5039 GB, free: 30.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001944/1.293, allocations: 0.9113 MB / 0.5048 GB, free: 29.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.01e-07/1.293, allocations: 0 / 0.5048 GB, free: 29.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003142/1.297, allocations: 0.5155 MB / 0.5053 GB, free: 29.07 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.009832/1.307, allocations: 5.401 MB / 0.5106 GB, free: 23.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006081/1.313, allocations: 2.786 MB / 0.5133 GB, free: 20.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/1.313, allocations: 1.938 kB / 0.5133 GB, free: 20.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00441/1.317, allocations: 1.922 MB / 0.5152 GB, free: 18.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003447/1.321, allocations: 382.5 kB / 0.5156 GB, free: 18.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0133/1.334, allocations: 4.781 MB / 0.5202 GB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002496/1.337, allocations: 2.039 MB / 0.5222 GB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002101/1.339, allocations: 0.9015 MB / 0.5231 GB, free: 10.53 MB / 362.7 MB Notification: Performance of SimCode: time 1.342e-06/1.339, allocations: 0 / 0.5231 GB, free: 10.53 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.284/5.622, allocations: 99.04 MB / 0.6198 GB, free: 84.57 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_res.mat does not exist to compare? outputFormat=mat