Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_Transformers_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.088/2.088, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.716e-05/3.749e-05, allocations: 4 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09596/0.09604, allocations: 44.51 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4535/0.5496, allocations: 107.4 MB / 407.4 MB, free: 9.918 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/0.5499, allocations: 84.48 kB / 407.4 MB, free: 9.906 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3986/0.9486, allocations: 94.09 MB / 0.4898 GB, free: 14.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.9486, allocations: 4 kB / 0.4898 GB, free: 14.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005109/0.9491, allocations: 91.88 kB / 0.4899 GB, free: 14.34 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.01556/0.9647, allocations: 3.555 MB / 0.4933 GB, free: 10.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.254e-05/0.9648, allocations: 12.03 kB / 0.4933 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002604/0.9674, allocations: 0.4901 MB / 0.4938 GB, free: 10.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003455/0.9709, allocations: 0.5063 MB / 0.4943 GB, free: 9.703 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009919/0.9809, allocations: 2.548 MB / 0.4968 GB, free: 7.105 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004625/0.9814, allocations: 267 kB / 0.4971 GB, free: 6.844 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001768/0.9832, allocations: 351.9 kB / 0.4974 GB, free: 6.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01828/1.002, allocations: 4.844 MB / 0.5021 GB, free: 1.504 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001962/1.002, allocations: 4 kB / 0.5021 GB, free: 1.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001183/1.003, allocations: 152 kB / 0.5023 GB, free: 1.352 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003338/1.003, allocations: 175.1 kB / 0.5024 GB, free: 1.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0142/1.018, allocations: 3.909 MB / 0.5063 GB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3351/1.353, allocations: 14.95 MB / 0.5209 GB, free: 71.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007621/1.36, allocations: 4.154 MB / 0.5249 GB, free: 70.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005268/1.366, allocations: 1.836 MB / 0.5267 GB, free: 70.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006158/1.366, allocations: 147.3 kB / 0.5268 GB, free: 70 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/1.366, allocations: 56.56 kB / 0.5269 GB, free: 69.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=201): time 5.029e-06/1.366, allocations: 2 kB / 0.5269 GB, free: 69.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=221): time 0.03276/1.399, allocations: 8.333 MB / 0.535 GB, free: 69.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/1.399, allocations: 80.25 kB / 0.5351 GB, free: 69.06 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005197/1.405, allocations: 2.178 MB / 0.5372 GB, free: 68.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005454/1.405, allocations: 62.45 kB / 0.5373 GB, free: 68.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001318/1.407, allocations: 1.603 MB / 0.5389 GB, free: 68.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001056/1.408, allocations: 0.7389 MB / 0.5396 GB, free: 67.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002296/1.408, allocations: 46.66 kB / 0.5396 GB, free: 67.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001652/1.408, allocations: 403.9 kB / 0.54 GB, free: 67.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00282/1.411, allocations: 1.236 MB / 0.5412 GB, free: 67.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00318/1.414, allocations: 1.668 MB / 0.5429 GB, free: 67.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003355/1.417, allocations: 1.482 MB / 0.5443 GB, free: 67.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.416e-05/1.418, allocations: 6.344 kB / 0.5443 GB, free: 67.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01016/1.428, allocations: 3.913 MB / 0.5481 GB, free: 66.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.791e-05/1.428, allocations: 11.69 kB / 0.5481 GB, free: 66.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.866e-05/1.428, allocations: 10.31 kB / 0.5482 GB, free: 66.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003021/1.431, allocations: 0.7579 MB / 0.5489 GB, free: 66.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004283/1.435, allocations: 0.527 MB / 0.5494 GB, free: 66.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01331/1.449, allocations: 8.707 MB / 0.5579 GB, free: 62.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003512/1.452, allocations: 128.4 kB / 0.558 GB, free: 62.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006809/1.453, allocations: 84.77 kB / 0.5581 GB, free: 62.86 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.001157/1.454, allocations: 240.5 kB / 0.5583 GB, free: 62.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001636/1.456, allocations: 277.7 kB / 0.5586 GB, free: 62.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01448/1.47, allocations: 3.635 MB / 0.5622 GB, free: 62.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.663e-05/1.47, allocations: 22.47 kB / 0.5622 GB, free: 62.44 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/1.47, allocations: 6.719 kB / 0.5622 GB, free: 62.44 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.264e-05/1.47, allocations: 14.36 kB / 0.5622 GB, free: 62.44 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02308/1.493, allocations: 7.957 MB / 0.57 GB, free: 61.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.726e-05/1.494, allocations: 0 / 0.57 GB, free: 61.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003474/1.497, allocations: 393.8 kB / 0.5703 GB, free: 61.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003786/1.501, allocations: 0.8081 MB / 0.5711 GB, free: 61.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005648/1.501, allocations: 52.14 kB / 0.5712 GB, free: 61.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01579/1.517, allocations: 10.22 MB / 0.5812 GB, free: 54.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/1.517, allocations: 3.656 kB / 0.5812 GB, free: 54.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01386/1.531, allocations: 5.612 MB / 0.5866 GB, free: 51.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002636/1.534, allocations: 0.6436 MB / 0.5873 GB, free: 51.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001165/1.535, allocations: 52.59 kB / 0.5873 GB, free: 51.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003405/1.539, allocations: 126.5 kB / 0.5874 GB, free: 51.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009466/1.54, allocations: 187.4 kB / 0.5876 GB, free: 51.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000337/1.54, allocations: 64.62 kB / 0.5877 GB, free: 51.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004408/1.544, allocations: 1.676 MB / 0.5893 GB, free: 50.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.01e-07/1.544, allocations: 3.375 kB / 0.5893 GB, free: 50.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005293/1.55, allocations: 0.835 MB / 0.5901 GB, free: 50.52 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.01529/1.565, allocations: 7.12 MB / 0.5971 GB, free: 46.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009186/1.574, allocations: 3.778 MB / 0.6008 GB, free: 45.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/1.574, allocations: 3.188 kB / 0.6008 GB, free: 45.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006497/1.581, allocations: 2.43 MB / 0.6032 GB, free: 43.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006161/1.587, allocations: 0.7492 MB / 0.6039 GB, free: 43.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02295/1.61, allocations: 7.513 MB / 0.6112 GB, free: 40.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004787/1.615, allocations: 2.846 MB / 0.614 GB, free: 39.85 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004207/1.619, allocations: 0.6792 MB / 0.6147 GB, free: 39.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003556/1.623, allocations: 1.397 MB / 0.616 GB, free: 38.65 MB / 410.7 MB Notification: Performance of SimCode: time 1.723e-06/1.623, allocations: 4 kB / 0.616 GB, free: 38.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4859/2.109, allocations: 74.95 MB / 0.6892 GB, free: 63.18 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/2.109, allocations: 196.5 kB / 0.6894 GB, free: 62.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.851/7.96, allocations: 3.562 kB / 0.6894 GB, free: 62.96 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat