Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.937/1.937, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.737e-05/2.748e-05, allocations: 4 kB / 292.2 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1052, allocations: 50.41 MB / 342.7 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4344/0.5397, allocations: 86.8 MB / 429.5 MB, free: 7.062 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/0.5401, allocations: 86.7 kB / 429.5 MB, free: 7.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1394/0.6794, allocations: 39.69 MB / 469.2 MB, free: 2.648 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6795, allocations: 0 / 469.2 MB, free: 2.648 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002711/0.6798, allocations: 36.56 kB / 469.3 MB, free: 2.613 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.00444/0.6842, allocations: 1.933 MB / 471.2 MB, free: 0.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.6843, allocations: 12.03 kB / 471.2 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001288/0.6845, allocations: 74.97 kB / 471.3 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007068/0.6852, allocations: 288.3 kB / 471.6 MB, free: 404 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005155/0.6903, allocations: 1.875 MB / 473.4 MB, free: 14.78 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.713e-05/0.6905, allocations: 64.92 kB / 473.5 MB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002667/0.6908, allocations: 46.55 kB / 473.5 MB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009093/0.6917, allocations: 367.9 kB / 473.9 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.6917, allocations: 7.984 kB / 473.9 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.135e-05/0.6918, allocations: 12.5 kB / 473.9 MB, free: 14.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.6918, allocations: 12 kB / 473.9 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008091/0.6927, allocations: 296.1 kB / 474.2 MB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00769/0.7004, allocations: 3.099 MB / 477.3 MB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008174/0.7012, allocations: 297.1 kB / 477.6 MB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003734/0.7016, allocations: 149.7 kB / 477.8 MB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.307e-05/0.7017, allocations: 11.98 kB / 477.8 MB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.7017, allocations: 34.56 kB / 477.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=37): time 3.246e-06/0.7018, allocations: 0 / 477.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=48): time 0.00736/0.7091, allocations: 2.246 MB / 480.1 MB, free: 8.605 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.7092, allocations: 81.55 kB / 480.1 MB, free: 8.508 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01615/0.7254, allocations: 4.851 MB / 485 MB, free: 3.656 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001214/0.7256, allocations: 33.7 kB / 485 MB, free: 3.617 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001956/0.7275, allocations: 1.187 MB / 486.2 MB, free: 2.426 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002391/0.7278, allocations: 165.5 kB / 486.4 MB, free: 2.262 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.7279, allocations: 12 kB / 486.4 MB, free: 2.25 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.728, allocations: 329.9 kB / 486.7 MB, free: 1.922 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004169/0.7284, allocations: 129.1 kB / 486.8 MB, free: 1.793 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004588/0.7289, allocations: 207.7 kB / 487 MB, free: 1.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004665/0.7294, allocations: 157.6 kB / 487.2 MB, free: 1.418 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.7294, allocations: 0 / 487.2 MB, free: 1.418 MB / 394.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.004553/0.734, allocations: 1.052 MB / 488.2 MB, free: 360 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.734, allocations: 8 kB / 488.2 MB, free: 352 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.734, allocations: 0 / 488.2 MB, free: 352 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000797/0.7348, allocations: 160.8 kB / 488.4 MB, free: 188 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007664/0.7356, allocations: 91.89 kB / 488.5 MB, free: 96 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/0.7369, allocations: 0.7483 MB / 489.2 MB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.7381, allocations: 35.88 kB / 489.3 MB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.606e-05/0.7382, allocations: 19.98 kB / 489.3 MB, free: 15.27 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001758/0.7384, allocations: 132.8 kB / 489.4 MB, free: 15.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007023/0.7391, allocations: 280.6 kB / 489.7 MB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00248/0.7416, allocations: 0.7727 MB / 490.5 MB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.7416, allocations: 4 kB / 490.5 MB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.7416, allocations: 0 / 490.5 MB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.7416, allocations: 3.984 kB / 490.5 MB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00348/0.7451, allocations: 1.71 MB / 492.2 MB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.7452, allocations: 3.984 kB / 492.2 MB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009277/0.7461, allocations: 99.83 kB / 492.3 MB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004927/0.7466, allocations: 100.7 kB / 492.4 MB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.054e-05/0.7467, allocations: 19.98 kB / 492.4 MB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009099/0.7476, allocations: 0.6266 MB / 493 MB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.7476, allocations: 0 / 493 MB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002554/0.7502, allocations: 1.083 MB / 494.1 MB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001872/0.7521, allocations: 0.6732 MB / 494.8 MB, free: 9.609 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003976/0.7525, allocations: 16 kB / 494.8 MB, free: 9.594 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009591/0.7535, allocations: 27.92 kB / 494.8 MB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.7536, allocations: 32.39 kB / 494.9 MB, free: 9.535 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.632e-05/0.7537, allocations: 16 kB / 494.9 MB, free: 9.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.009381/0.7631, allocations: 3.808 MB / 498.7 MB, free: 5.719 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.62e-07/0.7631, allocations: 0 / 498.7 MB, free: 5.719 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001764/0.7649, allocations: 328 kB / 499 MB, free: 5.398 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003992/0.7689, allocations: 1.979 MB / 0.4892 GB, free: 3.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001195/0.7701, allocations: 351.1 kB / 0.4896 GB, free: 3.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.7702, allocations: 0 / 0.4896 GB, free: 3.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000564/0.7707, allocations: 206 kB / 0.4898 GB, free: 2.961 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/0.7725, allocations: 185.1 kB / 0.49 GB, free: 2.777 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/0.7869, allocations: 5.439 MB / 0.4953 GB, free: 13.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002534/0.7895, allocations: 1.865 MB / 0.4971 GB, free: 11.38 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001255/0.7908, allocations: 379.6 kB / 0.4974 GB, free: 11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002159/0.7929, allocations: 1.019 MB / 0.4984 GB, free: 9.98 MB / 426.7 MB Notification: Performance of SimCode: time 1.182e-06/0.793, allocations: 0 / 0.4984 GB, free: 9.98 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.429/1.222, allocations: 44.95 MB / 0.5423 GB, free: 129.8 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002359/1.222, allocations: 272.6 kB / 0.5426 GB, free: 129.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.095/5.317, allocations: 5.812 kB / 0.5426 GB, free: 129.5 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat does not exist to compare? outputFormat=mat