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 1.939/1.939, allocations: 194.9 MB / 208.4 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.473e-05/3.496e-05, allocations: 0 / 255.4 MB, free: 3.105 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09624/0.09632, allocations: 44.53 MB / 300 MB, free: 6.527 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4539/0.5503, allocations: 100.3 MB / 400.3 MB, free: 11.89 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/0.5507, allocations: 84.23 kB / 400.4 MB, free: 11.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2003/0.7511, allocations: 49.11 MB / 449.5 MB, free: 1.668 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.7511, allocations: 0 / 449.5 MB, free: 1.668 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003163/0.7514, allocations: 59.94 kB / 449.6 MB, free: 1.609 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.01004/0.7615, allocations: 2.468 MB / 452 MB, free: 15.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.011e-05/0.7616, allocations: 11.97 kB / 452 MB, free: 15.24 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001443/0.763, allocations: 333.9 kB / 452.4 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002019/0.7651, allocations: 332.7 kB / 452.7 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00637/0.7715, allocations: 1.72 MB / 454.4 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002913/0.7719, allocations: 177.7 kB / 454.6 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001112/0.773, allocations: 230.8 kB / 454.8 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01062/0.7836, allocations: 3.077 MB / 457.9 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001254/0.7838, allocations: 11.89 kB / 457.9 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004997/0.7843, allocations: 94.19 kB / 458 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001676/0.7845, allocations: 100.4 kB / 458.1 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009064/0.7936, allocations: 2.512 MB / 460.6 MB, free: 7.605 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03032/0.824, allocations: 9.939 MB / 470.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004601/0.8286, allocations: 2.074 MB / 472.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003138/0.8318, allocations: 1.087 MB / 473.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005264/0.8324, allocations: 137.8 kB / 473.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.934e-05/0.8325, allocations: 55.86 kB / 473.9 MB, free: 9.988 MB / 362.7 MB Notification: Performance of pre-optimization done (n=129): time 4.167e-06/0.8325, allocations: 0 / 473.9 MB, free: 9.988 MB / 362.7 MB Notification: Performance of matching and sorting (n=145): time 0.02418/0.8567, allocations: 6.289 MB / 480.2 MB, free: 3.641 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/0.8568, allocations: 68.72 kB / 480.2 MB, free: 3.562 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003848/0.8606, allocations: 1.437 MB / 481.7 MB, free: 2.121 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004007/0.8611, allocations: 53.64 kB / 481.7 MB, free: 2.062 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001124/0.8622, allocations: 1.019 MB / 482.7 MB, free: 1.039 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009302/0.8632, allocations: 495.8 kB / 483.2 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/0.8634, allocations: 28 kB / 483.3 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002314/0.8637, allocations: 374.8 kB / 483.6 MB, free: 160 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002421/0.8661, allocations: 0.8612 MB / 484.5 MB, free: 15.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00284/0.869, allocations: 1.18 MB / 485.7 MB, free: 13.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002895/0.8719, allocations: 1.012 MB / 486.7 MB, free: 12.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/0.872, allocations: 0 / 486.7 MB, free: 12.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.008615/0.8806, allocations: 2.816 MB / 489.5 MB, free: 10.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.953e-05/0.8807, allocations: 8 kB / 489.5 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.501e-05/0.8807, allocations: 8 kB / 489.5 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003761/0.8845, allocations: 0.8456 MB / 490.4 MB, free: 9.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002658/0.8872, allocations: 315.5 kB / 490.7 MB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01759/0.9049, allocations: 9.05 MB / 499.7 MB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002484/0.9074, allocations: 103.8 kB / 499.8 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000396/0.9078, allocations: 60 kB / 499.9 MB, free: 15.35 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.0005081/0.9084, allocations: 192.9 kB / 0.4883 GB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006793/0.9091, allocations: 181.8 kB / 0.4885 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008482/0.9176, allocations: 2.78 MB / 0.4912 GB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.212e-05/0.9176, allocations: 16 kB / 0.4912 GB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-05/0.9177, allocations: 11.98 kB / 0.4913 GB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.726e-05/0.9177, allocations: 3.984 kB / 0.4913 GB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01771/0.9354, allocations: 5.598 MB / 0.4967 GB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.193e-05/0.9355, allocations: 0 / 0.4967 GB, free: 6.453 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002024/0.9376, allocations: 207.7 kB / 0.4969 GB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004382/0.942, allocations: 0.9023 MB / 0.4978 GB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003848/0.9424, allocations: 35.98 kB / 0.4978 GB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01967/0.9621, allocations: 10.58 MB / 0.5082 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.852e-06/0.9622, allocations: 4.031 kB / 0.5082 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01175/0.9739, allocations: 4.202 MB / 0.5123 GB, free: 5.855 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001913/0.9759, allocations: 470.7 kB / 0.5127 GB, free: 5.375 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006932/0.9766, allocations: 35.98 kB / 0.5128 GB, free: 5.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002151/0.9788, allocations: 84.3 kB / 0.5128 GB, free: 5.258 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006976/0.9795, allocations: 153 kB / 0.513 GB, free: 5.109 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001855/0.9798, allocations: 36 kB / 0.513 GB, free: 5.074 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003052/0.9828, allocations: 1.114 MB / 0.5141 GB, free: 3.965 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.9829, allocations: 11.88 kB / 0.5141 GB, free: 3.953 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003498/0.9864, allocations: 0.5859 MB / 0.5147 GB, free: 3.367 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.2896/1.276, allocations: 5.542 MB / 0.5201 GB, free: 106.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007543/1.284, allocations: 2.892 MB / 0.5229 GB, free: 105.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/1.284, allocations: 3.781 kB / 0.5229 GB, free: 105.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005346/1.289, allocations: 1.991 MB / 0.5249 GB, free: 105.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004091/1.293, allocations: 486.5 kB / 0.5253 GB, free: 105.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01585/1.309, allocations: 4.935 MB / 0.5302 GB, free: 104.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003523/1.313, allocations: 2.04 MB / 0.5322 GB, free: 103.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002312/1.315, allocations: 0.892 MB / 0.533 GB, free: 103.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/1.315, allocations: 0 / 0.533 GB, free: 103.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.931/5.246, allocations: 100.9 MB / 0.6315 GB, free: 38.67 MB / 410.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