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.771/1.771, allocations: 171.2 MB / 183.3 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.029e-05/4.048e-05, allocations: 0 / 225.1 MB, free: 2.207 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2694, allocations: 38.77 MB / 263.9 MB, free: 9.688 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1762/0.4456, allocations: 95.17 MB / 359 MB, free: 10.37 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003293/0.446, allocations: 87.94 kB / 359.1 MB, free: 10.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4495/0.8955, allocations: 49.08 MB / 408.2 MB, free: 65.81 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.8955, allocations: 0 / 408.2 MB, free: 65.81 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002711/0.8958, allocations: 63.94 kB / 408.3 MB, free: 65.75 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.009167/0.905, allocations: 2.46 MB / 410.7 MB, free: 63.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.9051, allocations: 8.031 kB / 410.7 MB, free: 63.22 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008705/0.906, allocations: 333.2 kB / 411 MB, free: 62.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001525/0.9075, allocations: 328.4 kB / 411.4 MB, free: 62.56 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005954/0.9135, allocations: 1.685 MB / 413 MB, free: 60.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002177/0.9137, allocations: 172.5 kB / 413.2 MB, free: 60.65 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007057/0.9145, allocations: 235.9 kB / 413.4 MB, free: 60.42 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009608/0.9241, allocations: 3.044 MB / 416.5 MB, free: 57.22 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/0.9242, allocations: 8 kB / 416.5 MB, free: 57.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000466/0.9247, allocations: 99.98 kB / 416.6 MB, free: 57.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001455/0.9249, allocations: 92.41 kB / 416.7 MB, free: 57.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008082/0.933, allocations: 2.501 MB / 419.2 MB, free: 54.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02205/0.955, allocations: 9.88 MB / 429.1 MB, free: 44.35 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003508/0.9586, allocations: 2.082 MB / 431.1 MB, free: 42.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002274/0.9609, allocations: 1.091 MB / 432.2 MB, free: 41.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004031/0.9613, allocations: 138.3 kB / 432.4 MB, free: 40.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.9614, allocations: 47.88 kB / 432.4 MB, free: 40.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=129): time 3.917e-06/0.9614, allocations: 0 / 432.4 MB, free: 40.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=145): time 0.01961/0.981, allocations: 6.292 MB / 438.7 MB, free: 34.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.9811, allocations: 68.72 kB / 438.8 MB, free: 34.43 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002837/0.9839, allocations: 1.422 MB / 440.2 MB, free: 33 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000292/0.9843, allocations: 49.7 kB / 440.3 MB, free: 32.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007817/0.9851, allocations: 1.062 MB / 441.3 MB, free: 31.87 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005163/0.9856, allocations: 492.9 kB / 441.8 MB, free: 31.38 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.9858, allocations: 28 kB / 441.8 MB, free: 31.35 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.9859, allocations: 381.8 kB / 442.2 MB, free: 30.97 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001893/0.9878, allocations: 0.859 MB / 443.1 MB, free: 30.11 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002022/0.9898, allocations: 1.176 MB / 444.2 MB, free: 28.81 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002139/0.992, allocations: 1.012 MB / 445.2 MB, free: 27.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.505e-06/0.992, allocations: 0 / 445.2 MB, free: 27.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.007047/0.9991, allocations: 2.924 MB / 448.2 MB, free: 24.85 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.9991, allocations: 8 kB / 448.2 MB, free: 24.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/0.9992, allocations: 8 kB / 448.2 MB, free: 24.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003136/1.002, allocations: 0.8456 MB / 449 MB, free: 23.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002311/1.005, allocations: 307.5 kB / 449.3 MB, free: 23.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01375/1.018, allocations: 9.065 MB / 458.4 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002231/1.021, allocations: 99.89 kB / 458.5 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/1.021, allocations: 60.06 kB / 458.5 MB, free: 14.04 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.0004108/1.021, allocations: 202.5 kB / 458.7 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003954/1.022, allocations: 181.8 kB / 458.9 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006875/1.029, allocations: 2.788 MB / 461.7 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/1.029, allocations: 12 kB / 461.7 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/1.029, allocations: 8 kB / 461.7 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.987e-05/1.029, allocations: 3.984 kB / 461.7 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/1.042, allocations: 5.578 MB / 467.3 MB, free: 5.121 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/1.042, allocations: 4 kB / 467.3 MB, free: 5.117 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001702/1.044, allocations: 203.7 kB / 467.5 MB, free: 4.918 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0036/1.047, allocations: 0.898 MB / 468.4 MB, free: 4.004 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001763/1.048, allocations: 35.94 kB / 468.4 MB, free: 3.969 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01782/1.065, allocations: 10.58 MB / 479 MB, free: 8.848 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/1.066, allocations: 3.938 kB / 479 MB, free: 8.844 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/1.076, allocations: 4.203 MB / 483.2 MB, free: 4.523 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001701/1.078, allocations: 466.8 kB / 483.7 MB, free: 4.047 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000436/1.079, allocations: 32 kB / 483.7 MB, free: 4.016 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001697/1.08, allocations: 83.91 kB / 483.8 MB, free: 3.934 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005654/1.081, allocations: 149.4 kB / 483.9 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001612/1.081, allocations: 39.98 kB / 484 MB, free: 3.746 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002683/1.084, allocations: 1.094 MB / 485.1 MB, free: 2.656 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.084, allocations: 0 / 485.1 MB, free: 2.656 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003048/1.087, allocations: 0.5899 MB / 485.7 MB, free: 2.066 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.01239/1.099, allocations: 5.575 MB / 491.2 MB, free: 12.39 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007265/1.107, allocations: 2.896 MB / 494.1 MB, free: 9.406 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.107, allocations: 0.5625 kB / 494.1 MB, free: 9.406 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004984/1.112, allocations: 1.986 MB / 496.1 MB, free: 7.344 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003582/1.115, allocations: 485.5 kB / 496.6 MB, free: 6.871 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0143/1.13, allocations: 4.895 MB / 0.4897 GB, free: 1.891 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2373/1.367, allocations: 2.062 MB / 0.4918 GB, free: 89.86 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002511/1.369, allocations: 400.2 kB / 0.4921 GB, free: 89.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001753/1.371, allocations: 0.8739 MB / 0.493 GB, free: 89.84 MB / 346.7 MB Notification: Performance of SimCode: time 1.142e-06/1.371, allocations: 0 / 0.493 GB, free: 89.84 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1485/1.52, allocations: 51.38 MB / 0.5432 GB, free: 64.67 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002306/1.52, allocations: 202.4 kB / 0.5434 GB, free: 64.44 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.194/5.714, allocations: 7.5 kB / 0.5434 GB, free: 64.44 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