Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.962/1.962, allocations: 194.9 MB / 208 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.993e-05/3.002e-05, allocations: 4 kB / 255.5 MB, free: 2.602 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09147/0.09152, allocations: 44.51 MB / 300 MB, free: 6.035 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4601/0.5517, allocations: 107.3 MB / 407.3 MB, free: 9.984 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/0.5521, allocations: 89.14 kB / 407.4 MB, free: 9.973 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4261/0.9782, allocations: 93.93 MB / 0.4896 GB, free: 14.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.9782, allocations: 0 / 0.4896 GB, free: 14.66 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003863/0.9786, allocations: 91.88 kB / 0.4897 GB, free: 14.57 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.01334/0.992, allocations: 3.553 MB / 0.4931 GB, free: 10.96 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.9921, allocations: 12.03 kB / 0.4931 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001673/0.9938, allocations: 0.494 MB / 0.4936 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002339/0.9961, allocations: 0.5063 MB / 0.4941 GB, free: 9.934 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008719/1.005, allocations: 2.54 MB / 0.4966 GB, free: 7.344 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004015/1.005, allocations: 263.1 kB / 0.4968 GB, free: 7.086 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001672/1.007, allocations: 363.9 kB / 0.4972 GB, free: 6.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01467/1.022, allocations: 4.802 MB / 0.5019 GB, free: 1.777 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000127/1.022, allocations: 4 kB / 0.5019 GB, free: 1.773 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005838/1.022, allocations: 152 kB / 0.502 GB, free: 1.625 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002766/1.023, allocations: 175.1 kB / 0.5022 GB, free: 1.453 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01197/1.035, allocations: 3.86 MB / 0.506 GB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.322/1.357, allocations: 14.95 MB / 0.5206 GB, free: 71.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007276/1.364, allocations: 4.128 MB / 0.5246 GB, free: 70.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00487/1.369, allocations: 1.836 MB / 0.5264 GB, free: 70.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000541/1.37, allocations: 151.6 kB / 0.5265 GB, free: 70.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.697e-05/1.37, allocations: 57.06 kB / 0.5266 GB, free: 70.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=201): time 4.528e-06/1.37, allocations: 0 / 0.5266 GB, free: 70.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=221): time 0.02976/1.399, allocations: 8.329 MB / 0.5347 GB, free: 69.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/1.4, allocations: 73.16 kB / 0.5348 GB, free: 69.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005299/1.405, allocations: 2.186 MB / 0.5369 GB, free: 69.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005689/1.406, allocations: 67.73 kB / 0.537 GB, free: 68.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001343/1.407, allocations: 1.592 MB / 0.5385 GB, free: 68.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001094/1.408, allocations: 0.7428 MB / 0.5393 GB, free: 68.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/1.408, allocations: 44.89 kB / 0.5393 GB, free: 68.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001709/1.408, allocations: 406.4 kB / 0.5397 GB, free: 67.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002864/1.411, allocations: 1.235 MB / 0.5409 GB, free: 67.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003139/1.414, allocations: 1.652 MB / 0.5425 GB, free: 67.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003233/1.418, allocations: 1.486 MB / 0.544 GB, free: 67.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.682e-05/1.418, allocations: 6.719 kB / 0.544 GB, free: 67.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.009621/1.427, allocations: 3.873 MB / 0.5478 GB, free: 67.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/1.427, allocations: 9.031 kB / 0.5478 GB, free: 67.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.968e-05/1.428, allocations: 13.75 kB / 0.5478 GB, free: 67.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002987/1.431, allocations: 0.7602 MB / 0.5485 GB, free: 67.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004173/1.435, allocations: 0.5285 MB / 0.549 GB, free: 67.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01316/1.448, allocations: 8.711 MB / 0.5575 GB, free: 63.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003547/1.451, allocations: 117.5 kB / 0.5577 GB, free: 63.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003995/1.452, allocations: 91.92 kB / 0.5577 GB, free: 63.03 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.0006232/1.453, allocations: 229.7 kB / 0.558 GB, free: 62.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009103/1.453, allocations: 277.9 kB / 0.5582 GB, free: 62.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009102/1.463, allocations: 3.639 MB / 0.5618 GB, free: 62.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.301e-05/1.463, allocations: 20.59 kB / 0.5618 GB, free: 62.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/1.463, allocations: 9.469 kB / 0.5618 GB, free: 62.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.074e-05/1.463, allocations: 17.86 kB / 0.5618 GB, free: 62.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02454/1.487, allocations: 7.948 MB / 0.5696 GB, free: 61.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.305e-05/1.487, allocations: 3.375 kB / 0.5696 GB, free: 61.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005148/1.493, allocations: 395.4 kB / 0.57 GB, free: 61.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005648/1.498, allocations: 0.8006 MB / 0.5708 GB, free: 61.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005912/1.499, allocations: 58.94 kB / 0.5708 GB, free: 61.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.023/1.522, allocations: 10.22 MB / 0.5808 GB, free: 54.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/1.522, allocations: 3.5 kB / 0.5808 GB, free: 54.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01956/1.542, allocations: 5.623 MB / 0.5863 GB, free: 51.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003473/1.545, allocations: 0.6393 MB / 0.5869 GB, free: 51.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001283/1.546, allocations: 50.33 kB / 0.587 GB, free: 51.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004627/1.551, allocations: 125.2 kB / 0.5871 GB, free: 51.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001096/1.552, allocations: 190.2 kB / 0.5873 GB, free: 51.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003973/1.553, allocations: 63.41 kB / 0.5873 GB, free: 51.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006124/1.559, allocations: 1.673 MB / 0.5889 GB, free: 50.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.362e-06/1.559, allocations: 0 / 0.5889 GB, free: 50.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005899/1.565, allocations: 0.8344 MB / 0.5898 GB, free: 50.73 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.0165/1.581, allocations: 7.142 MB / 0.5967 GB, free: 47.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0107/1.592, allocations: 3.703 MB / 0.6004 GB, free: 45.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/1.592, allocations: 0 / 0.6004 GB, free: 45.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00604/1.598, allocations: 2.389 MB / 0.6027 GB, free: 44.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006066/1.604, allocations: 0.7408 MB / 0.6034 GB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02158/1.626, allocations: 7.501 MB / 0.6107 GB, free: 41.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004322/1.63, allocations: 2.846 MB / 0.6135 GB, free: 40.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003826/1.634, allocations: 0.6812 MB / 0.6142 GB, free: 40.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003167/1.637, allocations: 1.394 MB / 0.6155 GB, free: 38.95 MB / 410.7 MB Notification: Performance of SimCode: time 1.603e-06/1.637, allocations: 0 / 0.6155 GB, free: 38.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4574/2.095, allocations: 74.58 MB / 0.6884 GB, free: 62.79 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/2.095, allocations: 209.9 kB / 0.6886 GB, free: 62.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.395/7.49, allocations: 3.938 kB / 0.6886 GB, free: 62.56 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat