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 2.002/2.002, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.77e-05/3.789e-05, allocations: 0 / 255.5 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09356/0.09364, allocations: 44.51 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4269/0.5206, allocations: 100.4 MB / 400.3 MB, free: 12.3 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/0.521, allocations: 83.03 kB / 400.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1924/0.7134, allocations: 49.12 MB / 449.5 MB, free: 1.684 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.7135, allocations: 0 / 449.5 MB, free: 1.684 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.00034/0.7139, allocations: 59.94 kB / 449.6 MB, free: 1.625 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.009855/0.7237, allocations: 2.463 MB / 452 MB, free: 15.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.7238, allocations: 8.031 kB / 452.1 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001181/0.725, allocations: 335.3 kB / 452.4 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.7264, allocations: 332.2 kB / 452.7 MB, free: 14.74 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005694/0.7322, allocations: 1.729 MB / 454.4 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002028/0.7324, allocations: 176 kB / 454.6 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000726/0.7331, allocations: 230.2 kB / 454.8 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009061/0.7422, allocations: 3.083 MB / 457.9 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001041/0.7424, allocations: 11.92 kB / 457.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000407/0.7428, allocations: 92 kB / 458 MB, free: 9.961 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001562/0.743, allocations: 96.44 kB / 458.1 MB, free: 9.863 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008185/0.7512, allocations: 2.512 MB / 460.6 MB, free: 7.336 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02782/0.779, allocations: 9.941 MB / 470.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004938/0.784, allocations: 2.07 MB / 472.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003065/0.7872, allocations: 1.094 MB / 473.7 MB, free: 9.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004844/0.7877, allocations: 138.4 kB / 473.9 MB, free: 9.773 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.549e-05/0.7878, allocations: 51.83 kB / 473.9 MB, free: 9.715 MB / 362.7 MB Notification: Performance of pre-optimization done (n=129): time 4.338e-06/0.7878, allocations: 0 / 473.9 MB, free: 9.715 MB / 362.7 MB Notification: Performance of matching and sorting (n=145): time 0.02276/0.8105, allocations: 6.282 MB / 480.2 MB, free: 3.375 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.8107, allocations: 72.72 kB / 480.3 MB, free: 3.293 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003505/0.8142, allocations: 1.445 MB / 481.7 MB, free: 1.844 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003896/0.8146, allocations: 53.7 kB / 481.8 MB, free: 1.785 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001151/0.8158, allocations: 1.07 MB / 482.8 MB, free: 0.707 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007665/0.8165, allocations: 491.7 kB / 483.3 MB, free: 236 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.8167, allocations: 32 kB / 483.3 MB, free: 204 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002196/0.817, allocations: 369.9 kB / 483.7 MB, free: 15.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002291/0.8193, allocations: 0.859 MB / 484.6 MB, free: 14.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002538/0.8218, allocations: 1.18 MB / 485.7 MB, free: 13.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00251/0.8244, allocations: 1.012 MB / 486.8 MB, free: 12.65 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.8244, allocations: 4 kB / 486.8 MB, free: 12.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.008295/0.8327, allocations: 2.927 MB / 489.7 MB, free: 9.699 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.716e-05/0.8328, allocations: 8 kB / 489.7 MB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/0.8328, allocations: 8 kB / 489.7 MB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003513/0.8363, allocations: 0.8455 MB / 490.6 MB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002532/0.8389, allocations: 311.5 kB / 490.9 MB, free: 8.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01705/0.856, allocations: 9.053 MB / 499.9 MB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002351/0.8584, allocations: 103.8 kB / 0.4883 GB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002711/0.8587, allocations: 60 kB / 0.4883 GB, free: 14.91 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.000512/0.8592, allocations: 193 kB / 0.4885 GB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006572/0.8599, allocations: 185.8 kB / 0.4887 GB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00827/0.8682, allocations: 2.776 MB / 0.4914 GB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.757e-05/0.8682, allocations: 20 kB / 0.4914 GB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.977e-05/0.8683, allocations: 11.95 kB / 0.4915 GB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.433e-05/0.8683, allocations: 11.95 kB / 0.4915 GB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01698/0.8853, allocations: 5.595 MB / 0.4969 GB, free: 6.004 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/0.8854, allocations: 0 / 0.4969 GB, free: 6.004 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001836/0.8872, allocations: 211.7 kB / 0.4971 GB, free: 5.797 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004023/0.8913, allocations: 0.8901 MB / 0.498 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002989/0.8916, allocations: 39.97 kB / 0.498 GB, free: 4.852 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01861/0.9102, allocations: 10.58 MB / 0.5084 GB, free: 9.738 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.9103, allocations: 4 kB / 0.5084 GB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01105/0.9213, allocations: 4.202 MB / 0.5125 GB, free: 5.414 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001806/0.9232, allocations: 466.7 kB / 0.5129 GB, free: 4.938 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004795/0.9237, allocations: 39.98 kB / 0.513 GB, free: 4.898 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001828/0.9255, allocations: 87.91 kB / 0.513 GB, free: 4.812 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006097/0.9262, allocations: 149 kB / 0.5132 GB, free: 4.668 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001651/0.9264, allocations: 39.98 kB / 0.5132 GB, free: 4.629 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002613/0.929, allocations: 1.113 MB / 0.5143 GB, free: 3.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.929, allocations: 3.938 kB / 0.5143 GB, free: 3.516 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003012/0.932, allocations: 0.5937 MB / 0.5149 GB, free: 2.922 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.2759/1.208, allocations: 5.536 MB / 0.5203 GB, free: 106.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007479/1.215, allocations: 2.896 MB / 0.5231 GB, free: 106.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/1.216, allocations: 1.594 kB / 0.5231 GB, free: 106.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005046/1.221, allocations: 1.991 MB / 0.5251 GB, free: 105.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003832/1.224, allocations: 483.3 kB / 0.5255 GB, free: 105.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01517/1.24, allocations: 4.932 MB / 0.5303 GB, free: 104.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003194/1.243, allocations: 2.077 MB / 0.5324 GB, free: 104 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002396/1.245, allocations: 398.6 kB / 0.5328 GB, free: 104 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002229/1.248, allocations: 0.8829 MB / 0.5336 GB, free: 104 MB / 410.7 MB Notification: Performance of SimCode: time 1.492e-06/1.248, allocations: 0 / 0.5336 GB, free: 104 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1229/1.371, allocations: 51.93 MB / 0.5843 GB, free: 86.58 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000263/1.371, allocations: 202.6 kB / 0.5845 GB, free: 86.35 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.399/5.77, allocations: 4 kB / 0.5845 GB, free: 86.34 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