Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_Transformers_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.045/2.045, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.388e-05/3.401e-05, allocations: 4 kB / 255.4 MB, free: 3.102 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09801/0.09807, allocations: 44.52 MB / 299.9 MB, free: 6.531 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4633/0.5614, allocations: 107.4 MB / 407.3 MB, free: 10.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/0.5618, allocations: 91.02 kB / 407.4 MB, free: 10.47 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4036/0.9654, allocations: 94.09 MB / 0.4897 GB, free: 15.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.9655, allocations: 0 / 0.4897 GB, free: 15.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000506/0.966, allocations: 91.88 kB / 0.4898 GB, free: 14.93 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01517/0.9812, allocations: 3.553 MB / 0.4933 GB, free: 11.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.771e-05/0.9812, allocations: 8.031 kB / 0.4933 GB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002379/0.9836, allocations: 0.4979 MB / 0.4938 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003117/0.9868, allocations: 0.4985 MB / 0.4943 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00924/0.9961, allocations: 2.552 MB / 0.4968 GB, free: 7.695 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004341/0.9966, allocations: 267.1 kB / 0.497 GB, free: 7.434 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001745/0.9983, allocations: 351.9 kB / 0.4974 GB, free: 7.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01718/1.016, allocations: 4.84 MB / 0.5021 GB, free: 2.098 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001537/1.016, allocations: 4 kB / 0.5021 GB, free: 2.094 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009769/1.017, allocations: 156 kB / 0.5022 GB, free: 1.941 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002977/1.017, allocations: 179 kB / 0.5024 GB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01404/1.031, allocations: 3.913 MB / 0.5062 GB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3299/1.361, allocations: 14.95 MB / 0.5208 GB, free: 71.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007451/1.369, allocations: 4.145 MB / 0.5249 GB, free: 69.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00493/1.374, allocations: 1.837 MB / 0.5267 GB, free: 69.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005538/1.374, allocations: 145.1 kB / 0.5268 GB, free: 69.32 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.579e-05/1.374, allocations: 60.62 kB / 0.5269 GB, free: 69.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=201): time 5.681e-06/1.374, allocations: 2.875 kB / 0.5269 GB, free: 69.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=221): time 0.0307/1.405, allocations: 8.331 MB / 0.535 GB, free: 68.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/1.405, allocations: 76.38 kB / 0.5351 GB, free: 68.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005476/1.411, allocations: 2.187 MB / 0.5372 GB, free: 68.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005615/1.411, allocations: 63.3 kB / 0.5373 GB, free: 68.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001275/1.412, allocations: 1.477 MB / 0.5387 GB, free: 67.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001124/1.414, allocations: 0.7398 MB / 0.5394 GB, free: 67.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000239/1.414, allocations: 45 kB / 0.5395 GB, free: 67.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001796/1.414, allocations: 411.3 kB / 0.5399 GB, free: 66.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002911/1.417, allocations: 1.231 MB / 0.5411 GB, free: 66.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003518/1.421, allocations: 1.671 MB / 0.5427 GB, free: 66.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003721/1.424, allocations: 1.487 MB / 0.5442 GB, free: 66.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.008e-05/1.424, allocations: 0 / 0.5442 GB, free: 66.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01023/1.435, allocations: 3.736 MB / 0.5478 GB, free: 66.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/1.435, allocations: 9.469 kB / 0.5478 GB, free: 66.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.148e-05/1.435, allocations: 13.22 kB / 0.5478 GB, free: 66.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003092/1.438, allocations: 0.7598 MB / 0.5486 GB, free: 66.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004313/1.442, allocations: 0.526 MB / 0.5491 GB, free: 66.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01359/1.456, allocations: 8.714 MB / 0.5576 GB, free: 62.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003477/1.459, allocations: 120.7 kB / 0.5577 GB, free: 62.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005686/1.46, allocations: 84.67 kB / 0.5578 GB, free: 62.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 243 * 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,(3,88.9%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006505/1.461, allocations: 230.3 kB / 0.558 GB, free: 62.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009599/1.462, allocations: 285.9 kB / 0.5583 GB, free: 61.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009594/1.471, allocations: 3.637 MB / 0.5618 GB, free: 61.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.528e-05/1.471, allocations: 24.56 kB / 0.5619 GB, free: 61.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.61e-05/1.471, allocations: 7.188 kB / 0.5619 GB, free: 61.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.891e-05/1.471, allocations: 14.41 kB / 0.5619 GB, free: 61.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02145/1.493, allocations: 7.95 MB / 0.5696 GB, free: 61.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/1.493, allocations: 3.844 kB / 0.5697 GB, free: 61.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003424/1.496, allocations: 395.3 kB / 0.57 GB, free: 61.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003655/1.5, allocations: 0.8065 MB / 0.5708 GB, free: 61.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005049/1.501, allocations: 57.91 kB / 0.5709 GB, free: 61.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01502/1.516, allocations: 10.22 MB / 0.5809 GB, free: 53.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/1.516, allocations: 3.469 kB / 0.5809 GB, free: 53.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01338/1.529, allocations: 5.608 MB / 0.5863 GB, free: 51.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002583/1.532, allocations: 0.6374 MB / 0.587 GB, free: 50.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000998/1.533, allocations: 56.98 kB / 0.587 GB, free: 50.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003039/1.536, allocations: 125.3 kB / 0.5871 GB, free: 50.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007682/1.537, allocations: 190.3 kB / 0.5873 GB, free: 50.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002395/1.537, allocations: 66.92 kB / 0.5874 GB, free: 50.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004144/1.541, allocations: 1.671 MB / 0.589 GB, free: 49.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.12e-07/1.541, allocations: 0 / 0.589 GB, free: 49.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004789/1.546, allocations: 0.8354 MB / 0.5898 GB, free: 49.87 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 173 * 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,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01506/1.561, allocations: 7.134 MB / 0.5968 GB, free: 46.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009204/1.57, allocations: 3.774 MB / 0.6005 GB, free: 44.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/1.57, allocations: 0 / 0.6005 GB, free: 44.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006218/1.577, allocations: 2.436 MB / 0.6029 GB, free: 43.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006074/1.583, allocations: 0.7475 MB / 0.6036 GB, free: 43.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02076/1.603, allocations: 7.455 MB / 0.6109 GB, free: 40.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003298/1.607, allocations: 2.789 MB / 0.6136 GB, free: 39.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003167/1.61, allocations: 1.404 MB / 0.615 GB, free: 38.09 MB / 410.7 MB Notification: Performance of SimCode: time 1.393e-06/1.61, allocations: 3.812 kB / 0.615 GB, free: 38.09 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.899/6.509, allocations: 155.3 MB / 0.7666 GB, free: 31.71 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat