Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.176/2.176, allocations: 195 MB / 202.9 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.594e-05/3.597e-05, allocations: 4.219 kB / 249.8 MB, free: 5.277 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1285, allocations: 44.5 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5003/0.6288, allocations: 99.69 MB / 394 MB, free: 1.992 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/0.6292, allocations: 85.7 kB / 394.1 MB, free: 1.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2628/0.892, allocations: 48.49 MB / 442.6 MB, free: 13.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.892, allocations: 4 kB / 442.6 MB, free: 13.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003121/0.8923, allocations: 59.94 kB / 442.6 MB, free: 13.1 MB / 346.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.01042/0.9028, allocations: 2.456 MB / 445.1 MB, free: 10.58 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.068e-05/0.9029, allocations: 15.95 kB / 445.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/0.9046, allocations: 328.7 kB / 445.4 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006336/0.911, allocations: 1.736 MB / 447.2 MB, free: 8.449 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001847/0.9112, allocations: 76 kB / 447.2 MB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008428/0.9121, allocations: 143.9 kB / 447.4 MB, free: 8.234 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008963/0.921, allocations: 2.379 MB / 449.7 MB, free: 5.848 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009864/0.9309, allocations: 2.75 MB / 452.5 MB, free: 2.949 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001172/0.9311, allocations: 11.91 kB / 452.5 MB, free: 2.938 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003525/0.9315, allocations: 4 kB / 452.5 MB, free: 2.934 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001855/0.9317, allocations: 96.44 kB / 452.6 MB, free: 2.836 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02951/0.9612, allocations: 9.48 MB / 462.1 MB, free: 9.113 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004763/0.966, allocations: 2.034 MB / 464.1 MB, free: 6.969 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003109/0.9692, allocations: 1.052 MB / 465.2 MB, free: 5.918 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005852/0.9698, allocations: 134.4 kB / 465.3 MB, free: 5.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.391e-05/0.9699, allocations: 47.88 kB / 465.4 MB, free: 5.715 MB / 362.7 MB Notification: Performance of pre-optimization done (n=129): time 5.08e-06/0.9699, allocations: 0 / 465.4 MB, free: 5.715 MB / 362.7 MB Notification: Performance of matching and sorting (n=145): time 0.02022/0.9901, allocations: 5.326 MB / 470.7 MB, free: 324 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.374e-05/0.9903, allocations: 72.67 kB / 470.8 MB, free: 240 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003372/0.9936, allocations: 1.216 MB / 472 MB, free: 15.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004147/0.9941, allocations: 25.7 kB / 472 MB, free: 14.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001322/0.9954, allocations: 1.085 MB / 473.1 MB, free: 13.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008625/0.9963, allocations: 476.9 kB / 473.5 MB, free: 13.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001671/0.9965, allocations: 0 / 473.5 MB, free: 13.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002479/0.9968, allocations: 361.9 kB / 473.9 MB, free: 13.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002445/0.9992, allocations: 0.8316 MB / 474.7 MB, free: 12.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002819/1.002, allocations: 1.141 MB / 475.9 MB, free: 10.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002839/1.005, allocations: 0.9821 MB / 476.9 MB, free: 9.969 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-05/1.005, allocations: 0 / 476.9 MB, free: 9.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.009352/1.014, allocations: 2.744 MB / 479.6 MB, free: 7.203 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.246e-05/1.014, allocations: 15.98 kB / 479.6 MB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.757e-05/1.014, allocations: 8 kB / 479.6 MB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004068/1.019, allocations: 0.8148 MB / 480.4 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002955/1.022, allocations: 311.5 kB / 480.7 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01935/1.041, allocations: 8.713 MB / 489.4 MB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0025/1.044, allocations: 67.91 kB / 489.5 MB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000368/1.044, allocations: 64.11 kB / 489.6 MB, free: 12.85 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.0005147/1.044, allocations: 148.6 kB / 489.7 MB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008822/1.053, allocations: 2.493 MB / 492.2 MB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009484/1.054, allocations: 165.9 kB / 492.4 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008875/1.063, allocations: 2.642 MB / 495 MB, free: 7.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.263e-05/1.063, allocations: 16 kB / 495 MB, free: 7.324 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-05/1.063, allocations: 4 kB / 495 MB, free: 7.32 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.961e-05/1.063, allocations: 7.969 kB / 495 MB, free: 7.312 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01781/1.081, allocations: 5.158 MB / 0.4885 GB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.698e-05/1.081, allocations: 4 kB / 0.4885 GB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002212/1.083, allocations: 199.7 kB / 0.4887 GB, free: 1.859 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004612/1.088, allocations: 0.8748 MB / 0.4895 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003568/1.088, allocations: 15.98 kB / 0.4895 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3039/1.392, allocations: 10.18 MB / 0.4995 GB, free: 93.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/1.392, allocations: 4.156 kB / 0.4995 GB, free: 93.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01147/1.404, allocations: 4.06 MB / 0.5035 GB, free: 92.87 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001775/1.406, allocations: 450.1 kB / 0.5039 GB, free: 92.78 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006677/1.406, allocations: 11.61 kB / 0.5039 GB, free: 92.78 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002065/1.409, allocations: 69.73 kB / 0.504 GB, free: 92.78 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007381/1.409, allocations: 148.8 kB / 0.5041 GB, free: 92.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002124/1.41, allocations: 44.47 kB / 0.5041 GB, free: 92.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002413/1.412, allocations: 0.9162 MB / 0.505 GB, free: 92.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.11e-07/1.412, allocations: 0 / 0.505 GB, free: 92.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003657/1.416, allocations: 0.5067 MB / 0.5055 GB, free: 92.66 MB / 394.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.01172/1.427, allocations: 5.393 MB / 0.5108 GB, free: 91.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006821/1.434, allocations: 2.78 MB / 0.5135 GB, free: 90.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/1.434, allocations: 6.375 kB / 0.5135 GB, free: 90.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005307/1.44, allocations: 1.918 MB / 0.5154 GB, free: 89.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003852/1.444, allocations: 382.4 kB / 0.5158 GB, free: 89.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01453/1.458, allocations: 4.775 MB / 0.5204 GB, free: 88.94 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002382/1.461, allocations: 2.069 MB / 0.5224 GB, free: 88.17 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002241/1.463, allocations: 384.8 kB / 0.5228 GB, free: 88.13 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001985/1.465, allocations: 0.8914 MB / 0.5237 GB, free: 88.13 MB / 394.7 MB Notification: Performance of SimCode: time 1.644e-06/1.465, allocations: 0 / 0.5237 GB, free: 88.13 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1349/1.6, allocations: 44.4 MB / 0.567 GB, free: 68.14 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002656/1.6, allocations: 176.8 kB / 0.5672 GB, free: 67.95 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.512/6.112, allocations: 0 / 0.5672 GB, free: 67.95 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_res.mat does not exist to compare? outputFormat=mat