Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.778/1.778, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.226e-05/3.23e-05, allocations: 4 kB / 225.1 MB, free: 2.684 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2571, allocations: 38.76 MB / 263.8 MB, free: 9.766 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1697/0.4268, allocations: 95.17 MB / 359 MB, free: 10.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/0.4272, allocations: 83.95 kB / 359.1 MB, free: 10.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4112/0.8385, allocations: 49.07 MB / 408.2 MB, free: 65.91 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.8385, allocations: 0 / 408.2 MB, free: 65.91 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002338/0.8388, allocations: 67.88 kB / 408.2 MB, free: 65.84 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.008339/0.8471, allocations: 2.464 MB / 410.7 MB, free: 63.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.8472, allocations: 8.031 kB / 410.7 MB, free: 63.31 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001/0.8482, allocations: 333.3 kB / 411 MB, free: 62.97 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/0.8496, allocations: 328.4 kB / 411.3 MB, free: 62.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005021/0.8546, allocations: 1.681 MB / 413 MB, free: 60.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/0.8548, allocations: 172.5 kB / 413.2 MB, free: 60.74 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006046/0.8554, allocations: 227.9 kB / 413.4 MB, free: 60.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007596/0.863, allocations: 3.055 MB / 416.5 MB, free: 57.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001064/0.8632, allocations: 4 kB / 416.5 MB, free: 57.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003473/0.8636, allocations: 99.98 kB / 416.6 MB, free: 57.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001194/0.8637, allocations: 100.4 kB / 416.7 MB, free: 57.1 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006988/0.8707, allocations: 2.5 MB / 419.2 MB, free: 54.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02367/0.8944, allocations: 9.876 MB / 429 MB, free: 44.44 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003523/0.898, allocations: 2.082 MB / 431.1 MB, free: 42.24 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002311/0.9003, allocations: 1.091 MB / 432.2 MB, free: 41.15 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000417/0.9008, allocations: 142.3 kB / 432.4 MB, free: 41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.9008, allocations: 43.88 kB / 432.4 MB, free: 40.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=129): time 4.017e-06/0.9008, allocations: 0 / 432.4 MB, free: 40.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=145): time 0.02112/0.922, allocations: 6.292 MB / 438.7 MB, free: 34.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.922, allocations: 72.66 kB / 438.8 MB, free: 34.51 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003028/0.9251, allocations: 1.422 MB / 440.2 MB, free: 33.08 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003784/0.9255, allocations: 49.7 kB / 440.2 MB, free: 33.03 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006897/0.9262, allocations: 1.008 MB / 441.2 MB, free: 32.01 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005753/0.9268, allocations: 492.9 kB / 441.7 MB, free: 31.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.927, allocations: 32 kB / 441.7 MB, free: 31.49 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.9271, allocations: 370.8 kB / 442.1 MB, free: 31.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002012/0.9291, allocations: 0.8668 MB / 443 MB, free: 30.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002288/0.9314, allocations: 1.172 MB / 444.1 MB, free: 28.95 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002413/0.9339, allocations: 1.012 MB / 445.2 MB, free: 27.94 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.317e-05/0.934, allocations: 4 kB / 445.2 MB, free: 27.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.007343/0.9413, allocations: 2.804 MB / 448 MB, free: 25.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.9414, allocations: 8 kB / 448 MB, free: 25.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.251e-05/0.9414, allocations: 12 kB / 448 MB, free: 25.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003336/0.9448, allocations: 0.8417 MB / 448.8 MB, free: 24.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002451/0.9473, allocations: 307.5 kB / 449.1 MB, free: 23.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01446/0.9618, allocations: 9.067 MB / 458.2 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002337/0.9641, allocations: 103.8 kB / 458.3 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003756/0.9646, allocations: 56 kB / 458.4 MB, free: 14.3 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.000445/0.965, allocations: 202.6 kB / 458.6 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005532/0.9656, allocations: 181.8 kB / 458.7 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007258/0.9728, allocations: 2.78 MB / 461.5 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.968e-05/0.9729, allocations: 12 kB / 461.5 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.566e-05/0.9729, allocations: 8 kB / 461.5 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.528e-05/0.973, allocations: 7.969 kB / 461.5 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01657/0.9896, allocations: 5.574 MB / 467.1 MB, free: 5.387 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.062e-05/0.9896, allocations: 0 / 467.1 MB, free: 5.387 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002327/0.992, allocations: 211.7 kB / 467.3 MB, free: 5.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005019/0.997, allocations: 0.8941 MB / 468.2 MB, free: 4.27 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003813/0.9974, allocations: 39.94 kB / 468.3 MB, free: 4.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02553/1.023, allocations: 10.58 MB / 478.8 MB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/1.023, allocations: 4 kB / 478.8 MB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01538/1.038, allocations: 4.203 MB / 483 MB, free: 4.785 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00241/1.041, allocations: 471 kB / 483.5 MB, free: 4.305 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006383/1.042, allocations: 32 kB / 483.5 MB, free: 4.273 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002443/1.044, allocations: 91.91 kB / 483.6 MB, free: 4.184 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007418/1.045, allocations: 137.1 kB / 483.7 MB, free: 4.047 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002312/1.045, allocations: 47.86 kB / 483.8 MB, free: 4 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00345/1.049, allocations: 1.094 MB / 484.9 MB, free: 2.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.143e-06/1.049, allocations: 4 kB / 484.9 MB, free: 2.906 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003483/1.052, allocations: 0.586 MB / 485.5 MB, free: 2.32 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.01293/1.065, allocations: 5.577 MB / 491.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007984/1.073, allocations: 2.889 MB / 493.9 MB, free: 9.668 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/1.073, allocations: 0 / 493.9 MB, free: 9.668 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00562/1.079, allocations: 1.987 MB / 495.9 MB, free: 7.605 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003931/1.083, allocations: 488.2 kB / 496.4 MB, free: 7.129 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/1.097, allocations: 4.912 MB / 0.4896 GB, free: 2.125 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002559/1.099, allocations: 2.023 MB / 0.4915 GB, free: 76 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2327/1.332, allocations: 0.8727 MB / 0.4924 GB, free: 90.68 MB / 346.7 MB Notification: Performance of SimCode: time 1.754e-06/1.332, allocations: 0.6875 kB / 0.4924 GB, free: 90.68 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.86/5.192, allocations: 99.91 MB / 0.59 GB, free: 17.99 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_res.mat does not exist to compare? outputFormat=mat