Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.982/1.982, allocations: 225.8 MB / 238.8 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.64e-05/3.65e-05, allocations: 4 kB / 292.2 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1302, allocations: 50.41 MB / 342.7 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4897/0.6199, allocations: 112.3 MB / 455 MB, free: 13.9 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/0.6203, allocations: 89.06 kB / 455.1 MB, free: 13.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7384/1.359, allocations: 93.97 MB / 0.5362 GB, free: 90.53 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.805e-06/1.359, allocations: 3.375 kB / 0.5362 GB, free: 90.53 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006218/1.359, allocations: 100.7 kB / 0.5363 GB, free: 90.52 MB / 442.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.01824/1.378, allocations: 3.564 MB / 0.5398 GB, free: 89.31 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/1.378, allocations: 10.19 kB / 0.5398 GB, free: 89.31 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002435/1.38, allocations: 0.4956 MB / 0.5403 GB, free: 89.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003608/1.384, allocations: 0.5 MB / 0.5407 GB, free: 89.03 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009888/1.394, allocations: 2.547 MB / 0.5432 GB, free: 88.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004323/1.394, allocations: 275.7 kB / 0.5435 GB, free: 88.49 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001723/1.396, allocations: 352.5 kB / 0.5438 GB, free: 88.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01564/1.412, allocations: 4.781 MB / 0.5485 GB, free: 88 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001506/1.412, allocations: 10.75 kB / 0.5485 GB, free: 88 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006084/1.413, allocations: 151.4 kB / 0.5487 GB, free: 88 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002192/1.413, allocations: 182 kB / 0.5488 GB, free: 87.99 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01127/1.424, allocations: 3.852 MB / 0.5526 GB, free: 87.98 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03881/1.463, allocations: 14.95 MB / 0.5672 GB, free: 84.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006494/1.469, allocations: 4.125 MB / 0.5712 GB, free: 82.16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004363/1.474, allocations: 1.822 MB / 0.573 GB, free: 81.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005677/1.474, allocations: 152.8 kB / 0.5731 GB, free: 81.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/1.475, allocations: 59.47 kB / 0.5732 GB, free: 81.37 MB / 442.7 MB Notification: Performance of pre-optimization done (n=201): time 4.739e-06/1.475, allocations: 4 kB / 0.5732 GB, free: 81.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=221): time 0.02845/1.503, allocations: 8.331 MB / 0.5813 GB, free: 78.21 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/1.503, allocations: 71.69 kB / 0.5814 GB, free: 78.15 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004993/1.508, allocations: 2.193 MB / 0.5836 GB, free: 77.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005328/1.509, allocations: 65.58 kB / 0.5836 GB, free: 77.24 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001332/1.51, allocations: 1.607 MB / 0.5852 GB, free: 76.01 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009547/1.511, allocations: 0.7363 MB / 0.5859 GB, free: 75.44 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/1.511, allocations: 47.75 kB / 0.5859 GB, free: 75.4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/1.511, allocations: 397.8 kB / 0.5863 GB, free: 75.06 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00275/1.514, allocations: 1.229 MB / 0.5875 GB, free: 74.61 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003081/1.517, allocations: 1.653 MB / 0.5891 GB, free: 73.67 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003431/1.521, allocations: 1.496 MB / 0.5906 GB, free: 73.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.632e-05/1.521, allocations: 3.906 kB / 0.5906 GB, free: 73.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01013/1.531, allocations: 3.878 MB / 0.5944 GB, free: 71.71 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.579e-05/1.531, allocations: 11.09 kB / 0.5944 GB, free: 71.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.769e-05/1.531, allocations: 10.47 kB / 0.5944 GB, free: 71.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00305/1.534, allocations: 0.7544 MB / 0.5952 GB, free: 71.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004271/1.538, allocations: 0.5324 MB / 0.5957 GB, free: 71.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01308/1.552, allocations: 8.706 MB / 0.6042 GB, free: 65.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003511/1.555, allocations: 120.8 kB / 0.6043 GB, free: 65.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005122/1.556, allocations: 86.84 kB / 0.6044 GB, free: 65.33 MB / 442.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.0006002/1.556, allocations: 231.8 kB / 0.6046 GB, free: 65.15 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008822/1.557, allocations: 276.4 kB / 0.6049 GB, free: 65.01 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009009/1.566, allocations: 3.635 MB / 0.6084 GB, free: 63.61 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-05/1.566, allocations: 25.88 kB / 0.6084 GB, free: 63.61 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.501e-05/1.566, allocations: 10.28 kB / 0.6084 GB, free: 63.61 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.406e-05/1.566, allocations: 7.547 kB / 0.6084 GB, free: 63.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02118/1.588, allocations: 7.942 MB / 0.6162 GB, free: 60.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.09e-05/1.588, allocations: 6.781 kB / 0.6162 GB, free: 60.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003456/1.591, allocations: 399 kB / 0.6166 GB, free: 59.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003663/1.595, allocations: 0.8138 MB / 0.6174 GB, free: 59.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004509/1.595, allocations: 59.41 kB / 0.6174 GB, free: 59.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01461/1.61, allocations: 10.22 MB / 0.6274 GB, free: 49.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/1.61, allocations: 4 kB / 0.6274 GB, free: 49.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01227/1.622, allocations: 5.607 MB / 0.6329 GB, free: 44.18 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002448/1.625, allocations: 0.6469 MB / 0.6335 GB, free: 43.58 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009876/1.626, allocations: 51.42 kB / 0.6336 GB, free: 43.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003129/1.629, allocations: 130.9 kB / 0.6337 GB, free: 43.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007569/1.63, allocations: 182.1 kB / 0.6339 GB, free: 43.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002502/1.63, allocations: 63.47 kB / 0.6339 GB, free: 43.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003884/1.634, allocations: 1.677 MB / 0.6356 GB, free: 41.74 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.374e-06/1.634, allocations: 4 kB / 0.6356 GB, free: 41.74 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004405/1.638, allocations: 0.8348 MB / 0.6364 GB, free: 40.91 MB / 442.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.01339/1.652, allocations: 7.139 MB / 0.6434 GB, free: 34.39 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008836/1.661, allocations: 3.708 MB / 0.647 GB, free: 30.97 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.661, allocations: 0 / 0.647 GB, free: 30.97 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006187/1.667, allocations: 2.388 MB / 0.6493 GB, free: 28.78 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005985/1.673, allocations: 0.7359 MB / 0.65 GB, free: 28.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0203/1.693, allocations: 7.509 MB / 0.6574 GB, free: 21.72 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003516/1.697, allocations: 2.844 MB / 0.6602 GB, free: 19.54 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003667/1.7, allocations: 0.675 MB / 0.6608 GB, free: 19.06 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00327/1.704, allocations: 1.395 MB / 0.6622 GB, free: 17.77 MB / 442.7 MB Notification: Performance of SimCode: time 1.212e-06/1.704, allocations: 4 kB / 0.6622 GB, free: 17.77 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.495/2.199, allocations: 74.51 MB / 0.7349 GB, free: 94.05 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/2.199, allocations: 198.4 kB / 0.7351 GB, free: 93.82 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.336/7.535, allocations: 4 kB / 0.7351 GB, free: 93.82 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat does not exist to compare? outputFormat=mat