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.887/1.887, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.828e-05/2.832e-05, allocations: 4 kB / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08913/0.08918, allocations: 44.51 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.44/0.5292, allocations: 107.3 MB / 407.3 MB, free: 10.29 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/0.5295, allocations: 90.22 kB / 407.4 MB, free: 10.28 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3717/0.9013, allocations: 93.94 MB / 0.4895 GB, free: 14.81 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.308e-06/0.9014, allocations: 4 kB / 0.4895 GB, free: 14.81 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004783/0.9019, allocations: 95.88 kB / 0.4896 GB, free: 14.71 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.01434/0.9162, allocations: 3.553 MB / 0.4931 GB, free: 11.1 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.088e-05/0.9163, allocations: 8.031 kB / 0.4931 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001986/0.9183, allocations: 0.4979 MB / 0.4936 GB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002758/0.9211, allocations: 0.5024 MB / 0.4941 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00919/0.9303, allocations: 2.544 MB / 0.4966 GB, free: 7.484 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003711/0.9307, allocations: 263 kB / 0.4968 GB, free: 7.227 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001464/0.9322, allocations: 351.9 kB / 0.4972 GB, free: 6.883 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01547/0.9477, allocations: 4.844 MB / 0.5019 GB, free: 1.887 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001473/0.9479, allocations: 7.922 kB / 0.5019 GB, free: 1.879 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006319/0.9485, allocations: 148 kB / 0.502 GB, free: 1.734 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002893/0.9488, allocations: 179.1 kB / 0.5022 GB, free: 1.559 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01335/0.9622, allocations: 3.913 MB / 0.506 GB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3175/1.28, allocations: 14.95 MB / 0.5206 GB, free: 72.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007135/1.287, allocations: 4.144 MB / 0.5247 GB, free: 70.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004702/1.292, allocations: 1.838 MB / 0.5265 GB, free: 70.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005461/1.292, allocations: 147.1 kB / 0.5266 GB, free: 70.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.609e-05/1.292, allocations: 55.88 kB / 0.5267 GB, free: 70.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=201): time 4.789e-06/1.292, allocations: 0 / 0.5267 GB, free: 70.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=221): time 0.02958/1.322, allocations: 8.334 MB / 0.5348 GB, free: 69.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/1.322, allocations: 72.69 kB / 0.5349 GB, free: 69.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004927/1.327, allocations: 2.183 MB / 0.537 GB, free: 69.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005406/1.328, allocations: 66.48 kB / 0.5371 GB, free: 69.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001283/1.329, allocations: 1.604 MB / 0.5386 GB, free: 68.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001044/1.33, allocations: 0.7397 MB / 0.5394 GB, free: 68.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002208/1.33, allocations: 46.31 kB / 0.5394 GB, free: 68.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/1.33, allocations: 400 kB / 0.5398 GB, free: 67.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002721/1.333, allocations: 1.237 MB / 0.541 GB, free: 67.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003044/1.336, allocations: 1.664 MB / 0.5426 GB, free: 67.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003286/1.339, allocations: 1.489 MB / 0.5441 GB, free: 67.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.367e-05/1.34, allocations: 6.062 kB / 0.5441 GB, free: 67.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.00986/1.349, allocations: 3.907 MB / 0.5479 GB, free: 67.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.617e-05/1.349, allocations: 9.562 kB / 0.5479 GB, free: 67.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-05/1.35, allocations: 14.34 kB / 0.5479 GB, free: 67.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002974/1.353, allocations: 0.7618 MB / 0.5487 GB, free: 67.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004226/1.357, allocations: 0.5256 MB / 0.5492 GB, free: 67.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01321/1.37, allocations: 8.717 MB / 0.5577 GB, free: 63.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003439/1.373, allocations: 121.1 kB / 0.5578 GB, free: 63.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006382/1.374, allocations: 82 kB / 0.5579 GB, free: 63.12 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.0006961/1.375, allocations: 240.6 kB / 0.5581 GB, free: 63.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000991/1.376, allocations: 276.5 kB / 0.5584 GB, free: 62.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009127/1.385, allocations: 3.633 MB / 0.5619 GB, free: 62.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-05/1.385, allocations: 24.5 kB / 0.5619 GB, free: 62.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/1.385, allocations: 8.781 kB / 0.5619 GB, free: 62.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-05/1.385, allocations: 13.27 kB / 0.562 GB, free: 62.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02077/1.406, allocations: 7.951 MB / 0.5697 GB, free: 61.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/1.406, allocations: 6.812 kB / 0.5697 GB, free: 61.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003325/1.409, allocations: 395.1 kB / 0.5701 GB, free: 61.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003589/1.413, allocations: 0.805 MB / 0.5709 GB, free: 61.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004424/1.413, allocations: 59.97 kB / 0.571 GB, free: 61.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01466/1.428, allocations: 10.22 MB / 0.5809 GB, free: 54.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/1.428, allocations: 3.469 kB / 0.5809 GB, free: 54.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/1.441, allocations: 5.61 MB / 0.5864 GB, free: 51.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00243/1.443, allocations: 0.6463 MB / 0.587 GB, free: 51.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007208/1.444, allocations: 42.09 kB / 0.5871 GB, free: 51.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002667/1.447, allocations: 131.5 kB / 0.5872 GB, free: 51.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006381/1.447, allocations: 191.1 kB / 0.5874 GB, free: 51.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002181/1.448, allocations: 63.95 kB / 0.5875 GB, free: 51.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003634/1.451, allocations: 1.676 MB / 0.5891 GB, free: 50.64 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.22e-07/1.451, allocations: 0 / 0.5891 GB, free: 50.64 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004/1.455, allocations: 0.8326 MB / 0.5899 GB, free: 50.56 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.01331/1.469, allocations: 7.126 MB / 0.5969 GB, free: 46.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008693/1.477, allocations: 3.776 MB / 0.6005 GB, free: 45.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/1.477, allocations: 0 / 0.6005 GB, free: 45.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00589/1.483, allocations: 2.439 MB / 0.6029 GB, free: 44.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00572/1.489, allocations: 0.7409 MB / 0.6037 GB, free: 43.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02062/1.51, allocations: 7.519 MB / 0.611 GB, free: 41.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003528/1.513, allocations: 2.841 MB / 0.6138 GB, free: 39.89 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003638/1.517, allocations: 0.678 MB / 0.6144 GB, free: 39.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003084/1.52, allocations: 1.396 MB / 0.6158 GB, free: 38.69 MB / 410.7 MB Notification: Performance of SimCode: time 1.462e-06/1.52, allocations: 0 / 0.6158 GB, free: 38.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.455/1.975, allocations: 74.97 MB / 0.689 GB, free: 63.34 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/1.975, allocations: 222.8 kB / 0.6892 GB, free: 63.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.485/7.461, allocations: 1.125 kB / 0.6892 GB, free: 63.11 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