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.834/1.834, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.815e-05/2.823e-05, allocations: 7.094 kB / 255.5 MB, free: 3.094 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09063/0.09068, allocations: 44.5 MB / 300 MB, free: 6.539 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4928/0.5836, allocations: 100.4 MB / 400.3 MB, free: 12.27 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004326/0.5841, allocations: 84.2 kB / 400.4 MB, free: 12.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2152/0.7993, allocations: 49.12 MB / 449.5 MB, free: 2.035 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.7993, allocations: 0 / 449.5 MB, free: 2.035 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002378/0.7996, allocations: 63.84 kB / 449.6 MB, free: 1.977 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.008094/0.8077, allocations: 2.473 MB / 452.1 MB, free: 15.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.8078, allocations: 12.03 kB / 452.1 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008295/0.8086, allocations: 330.4 kB / 452.4 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/0.81, allocations: 336.7 kB / 452.7 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005148/0.8151, allocations: 1.724 MB / 454.4 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001974/0.8154, allocations: 173.8 kB / 454.6 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006011/0.816, allocations: 233 kB / 454.8 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007917/0.8239, allocations: 3.052 MB / 457.9 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.33e-05/0.824, allocations: 15.84 kB / 457.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003746/0.8244, allocations: 96 kB / 458 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001533/0.8246, allocations: 92.44 kB / 458.1 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007058/0.8317, allocations: 2.484 MB / 460.6 MB, free: 7.727 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02479/0.8565, allocations: 9.938 MB / 470.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004088/0.8606, allocations: 2.059 MB / 472.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002639/0.8633, allocations: 1.085 MB / 473.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004254/0.8637, allocations: 140.6 kB / 473.8 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/0.8638, allocations: 47.88 kB / 473.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=129): time 4.097e-06/0.8638, allocations: 0 / 473.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=145): time 0.02174/0.8855, allocations: 6.293 MB / 480.1 MB, free: 3.785 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.8856, allocations: 64.72 kB / 480.2 MB, free: 3.707 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003321/0.889, allocations: 1.445 MB / 481.6 MB, free: 2.258 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002309/0.8892, allocations: 49.7 kB / 481.7 MB, free: 2.203 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009899/0.8902, allocations: 1.018 MB / 482.7 MB, free: 1.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006317/0.8909, allocations: 497.1 kB / 483.2 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.891, allocations: 32 kB / 483.2 MB, free: 0.668 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.8913, allocations: 366.8 kB / 483.6 MB, free: 308 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002187/0.8935, allocations: 0.8629 MB / 484.4 MB, free: 15.44 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002455/0.8959, allocations: 1.172 MB / 485.6 MB, free: 14.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002436/0.8984, allocations: 1.008 MB / 486.6 MB, free: 13.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.046e-06/0.8984, allocations: 4 kB / 486.6 MB, free: 13.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.007658/0.9061, allocations: 2.785 MB / 489.4 MB, free: 10.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.9061, allocations: 8 kB / 489.4 MB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/0.9062, allocations: 12 kB / 489.4 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003502/0.9097, allocations: 0.8377 MB / 490.3 MB, free: 9.449 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002333/0.912, allocations: 319.5 kB / 490.6 MB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01649/0.9285, allocations: 9.056 MB / 499.6 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002339/0.9309, allocations: 99.86 kB / 499.7 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002012/0.9311, allocations: 63.98 kB / 499.8 MB, free: 15.52 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.0004716/0.9316, allocations: 189.4 kB / 500 MB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000448/0.9321, allocations: 181.8 kB / 0.4884 GB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007766/0.9399, allocations: 2.784 MB / 0.4912 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.192e-05/0.9399, allocations: 16 kB / 0.4912 GB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.9399, allocations: 11.94 kB / 0.4912 GB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.443e-05/0.94, allocations: 11.97 kB / 0.4912 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01513/0.9551, allocations: 5.581 MB / 0.4966 GB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/0.9551, allocations: 8.281 kB / 0.4967 GB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001783/0.9569, allocations: 207.7 kB / 0.4968 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00403/0.961, allocations: 0.8977 MB / 0.4977 GB, free: 5.516 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001642/0.9612, allocations: 35.98 kB / 0.4978 GB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01841/0.9796, allocations: 10.58 MB / 0.5081 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.9796, allocations: 4 kB / 0.5081 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/0.9901, allocations: 4.198 MB / 0.5122 GB, free: 6.043 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001472/0.9916, allocations: 470.7 kB / 0.5126 GB, free: 5.562 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003965/0.992, allocations: 32 kB / 0.5127 GB, free: 5.531 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001719/0.9938, allocations: 91.91 kB / 0.5128 GB, free: 5.441 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005475/0.9943, allocations: 145 kB / 0.5129 GB, free: 5.301 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001617/0.9945, allocations: 47.98 kB / 0.513 GB, free: 5.254 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002519/0.997, allocations: 1.11 MB / 0.514 GB, free: 4.148 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.076e-06/0.9971, allocations: 0 / 0.514 GB, free: 4.148 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002778/0.9998, allocations: 0.5936 MB / 0.5146 GB, free: 3.555 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.2736/1.273, allocations: 5.539 MB / 0.52 GB, free: 106.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006901/1.28, allocations: 2.843 MB / 0.5228 GB, free: 105.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.28, allocations: 0 / 0.5228 GB, free: 105.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004873/1.285, allocations: 1.942 MB / 0.5247 GB, free: 105.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00386/1.289, allocations: 481 kB / 0.5252 GB, free: 105.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01425/1.304, allocations: 4.94 MB / 0.53 GB, free: 104.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002772/1.306, allocations: 2.037 MB / 0.532 GB, free: 103.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001946/1.308, allocations: 0.8943 MB / 0.5328 GB, free: 103.4 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/1.308, allocations: 0 / 0.5328 GB, free: 103.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.689/4.997, allocations: 100.7 MB / 0.6311 GB, free: 38.86 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