Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.123/2.123, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.075e-05/3.08e-05, allocations: 4 kB / 292.3 MB, free: 8.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1047, allocations: 50.41 MB / 342.7 MB, free: 5.781 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4823/0.587, allocations: 82.73 MB / 425.4 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/0.5874, allocations: 80.83 kB / 425.5 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1038/0.6912, allocations: 20.73 MB / 446.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.095e-06/0.6913, allocations: 0 / 446.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.107e-05/0.6913, allocations: 12 kB / 446.2 MB, free: 10.18 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.007095/0.6984, allocations: 0.9791 MB / 447.2 MB, free: 9.238 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.106e-05/0.6985, allocations: 12.03 kB / 447.2 MB, free: 9.227 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004098/0.699, allocations: 124.9 kB / 447.3 MB, free: 9.141 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003831/0.7028, allocations: 207 kB / 447.5 MB, free: 8.961 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004909/0.7034, allocations: 241.7 kB / 447.8 MB, free: 8.688 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/0.7036, allocations: 57.81 kB / 447.8 MB, free: 8.656 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003771/0.704, allocations: 70.38 kB / 447.9 MB, free: 8.609 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003101/0.7071, allocations: 0.713 MB / 448.6 MB, free: 8.125 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.776e-05/0.7072, allocations: 0 / 448.6 MB, free: 8.125 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000161/0.7074, allocations: 29.38 kB / 448.6 MB, free: 8.117 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.641e-05/0.7075, allocations: 23.95 kB / 448.7 MB, free: 8.094 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003027/0.7105, allocations: 0.6002 MB / 449.3 MB, free: 7.672 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01188/0.7224, allocations: 3.146 MB / 452.4 MB, free: 4.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005471/0.728, allocations: 2.027 MB / 454.4 MB, free: 1.945 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.7295, allocations: 296 kB / 454.7 MB, free: 1.652 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002646/0.7298, allocations: 105.9 kB / 454.8 MB, free: 1.531 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.832e-05/0.7298, allocations: 43.28 kB / 454.9 MB, free: 1.477 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 5.32e-06/0.7299, allocations: 4 kB / 454.9 MB, free: 1.473 MB / 362.7 MB Notification: Performance of matching and sorting (n=72): time 0.003052/0.7329, allocations: 0.5875 MB / 455.5 MB, free: 0.875 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.7331, allocations: 111.6 kB / 455.6 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006362/0.7337, allocations: 246.8 kB / 455.8 MB, free: 0.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001462/0.7339, allocations: 33.7 kB / 455.8 MB, free: 472 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003649/0.7343, allocations: 299.4 kB / 456.1 MB, free: 164 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004628/0.7348, allocations: 244.6 kB / 456.4 MB, free: 15.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.7349, allocations: 20 kB / 456.4 MB, free: 15.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002361/0.7352, allocations: 354.6 kB / 456.7 MB, free: 15.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009763/0.7362, allocations: 198 kB / 456.9 MB, free: 15.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/0.7374, allocations: 344.2 kB / 457.3 MB, free: 14.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.7385, allocations: 250 kB / 457.5 MB, free: 14.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.379e-05/0.7386, allocations: 4 kB / 457.5 MB, free: 14.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0035/0.7421, allocations: 0.7631 MB / 458.3 MB, free: 13.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.196e-05/0.7422, allocations: 12.03 kB / 458.3 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.322e-05/0.7423, allocations: 4 kB / 458.3 MB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009744/0.7433, allocations: 117.7 kB / 458.4 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002146/0.7454, allocations: 167.8 kB / 458.6 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006983/0.7525, allocations: 3.406 MB / 462 MB, free: 9.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/0.7541, allocations: 99.16 kB / 462.1 MB, free: 9.867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001751/0.7543, allocations: 32 kB / 462.1 MB, free: 9.836 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 84 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003579/0.7547, allocations: 152.7 kB / 462.3 MB, free: 9.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002552/0.755, allocations: 39.53 kB / 462.3 MB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003377/0.7584, allocations: 0.6895 MB / 463 MB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.609e-05/0.7584, allocations: 8 kB / 463 MB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.7585, allocations: 0 / 463 MB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.46e-05/0.7585, allocations: 3.984 kB / 463 MB, free: 8.922 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005991/0.7645, allocations: 1.449 MB / 464.4 MB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.7646, allocations: 4 kB / 464.4 MB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001695/0.7663, allocations: 115.8 kB / 464.6 MB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008508/0.7672, allocations: 105.7 kB / 464.7 MB, free: 7.184 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001483/0.7674, allocations: 23.98 kB / 464.7 MB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005978/0.7734, allocations: 3.098 MB / 467.8 MB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.7734, allocations: 0 / 467.8 MB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004155/0.7776, allocations: 1.052 MB / 468.8 MB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002843/0.7779, allocations: 132.4 kB / 469 MB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/0.7781, allocations: 15.95 kB / 469 MB, free: 2.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/0.7793, allocations: 44.03 kB / 469 MB, free: 2.504 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002565/0.7796, allocations: 48.7 kB / 469.1 MB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.699e-05/0.7797, allocations: 16 kB / 469.1 MB, free: 2.441 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004501/0.7802, allocations: 191.1 kB / 469.3 MB, free: 2.254 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.81e-07/0.7802, allocations: 0 / 469.3 MB, free: 2.254 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001837/0.7821, allocations: 223.5 kB / 469.5 MB, free: 2.035 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (cuboidBottom.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 58 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00477/0.7869, allocations: 1.736 MB / 471.2 MB, free: 264 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003115/0.79, allocations: 0.794 MB / 472 MB, free: 15.44 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/0.7901, allocations: 8.125 kB / 472 MB, free: 15.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001681/0.7918, allocations: 0.5061 MB / 472.5 MB, free: 14.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006906/0.7925, allocations: 28.56 kB / 472.6 MB, free: 14.88 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005663/0.7982, allocations: 0.9264 MB / 473.5 MB, free: 13.92 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009384/0.7992, allocations: 0.8811 MB / 474.4 MB, free: 13.01 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0013/0.8006, allocations: 80.36 kB / 474.5 MB, free: 12.93 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007517/0.8013, allocations: 199.4 kB / 474.6 MB, free: 12.74 MB / 394.7 MB Notification: Performance of SimCode: time 2.124e-06/0.8014, allocations: 0 / 474.6 MB, free: 12.74 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08309/0.8845, allocations: 10.11 MB / 484.8 MB, free: 2.738 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002915/0.8848, allocations: 201.2 kB / 485 MB, free: 2.516 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.921/3.806, allocations: 0 / 485 MB, free: 2.516 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat does not exist to compare? outputFormat=mat