Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.099/2.099, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.352e-05/3.357e-05, allocations: 6.188 kB / 292.3 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1102, allocations: 50.4 MB / 342.7 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4743/0.5845, allocations: 84.02 MB / 426.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/0.5849, allocations: 84.7 kB / 426.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07568/0.6606, allocations: 19.59 MB / 446.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6606, allocations: 0 / 446.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.954e-05/0.6606, allocations: 12 kB / 446.4 MB, free: 10.16 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004383/0.665, allocations: 0.9525 MB / 447.3 MB, free: 9.238 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.6651, allocations: 12.03 kB / 447.3 MB, free: 9.227 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002547/0.6654, allocations: 113.7 kB / 447.4 MB, free: 9.148 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001692/0.6671, allocations: 172.3 kB / 447.6 MB, free: 8.996 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.6675, allocations: 235.4 kB / 447.8 MB, free: 8.727 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.764e-05/0.6675, allocations: 48.06 kB / 447.9 MB, free: 8.699 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/0.6677, allocations: 65.81 kB / 447.9 MB, free: 8.656 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.6695, allocations: 0.6588 MB / 448.6 MB, free: 8.207 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.937e-05/0.6696, allocations: 7.984 kB / 448.6 MB, free: 8.199 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.883e-05/0.6697, allocations: 28.94 kB / 448.6 MB, free: 8.191 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.6697, allocations: 19.95 kB / 448.7 MB, free: 8.172 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001636/0.6713, allocations: 0.5345 MB / 449.2 MB, free: 7.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005969/0.6773, allocations: 2.348 MB / 451.5 MB, free: 5.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003076/0.6805, allocations: 1.631 MB / 453.2 MB, free: 3.551 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006947/0.6812, allocations: 242 kB / 453.4 MB, free: 3.309 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002121/0.6814, allocations: 101.6 kB / 453.5 MB, free: 3.191 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.508e-05/0.6815, allocations: 43.12 kB / 453.5 MB, free: 3.141 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 3.366e-06/0.6815, allocations: 3.938 kB / 453.5 MB, free: 3.137 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.001476/0.683, allocations: 470.6 kB / 454 MB, free: 2.672 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.328e-05/0.6831, allocations: 111.3 kB / 454.1 MB, free: 2.539 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004302/0.6836, allocations: 229.1 kB / 454.3 MB, free: 2.312 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.31e-05/0.6836, allocations: 37.73 kB / 454.4 MB, free: 2.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/0.6839, allocations: 271.9 kB / 454.6 MB, free: 1.996 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002602/0.6842, allocations: 220.7 kB / 454.9 MB, free: 1.777 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-05/0.6842, allocations: 16 kB / 454.9 MB, free: 1.762 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.6844, allocations: 350.8 kB / 455.2 MB, free: 1.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000575/0.685, allocations: 177.5 kB / 455.4 MB, free: 1.234 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006621/0.6857, allocations: 269.8 kB / 455.7 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006638/0.6864, allocations: 214.1 kB / 455.9 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.6864, allocations: 0 / 455.9 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001632/0.688, allocations: 0.5702 MB / 456.4 MB, free: 168 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.6881, allocations: 8 kB / 456.4 MB, free: 160 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.6881, allocations: 4 kB / 456.4 MB, free: 156 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.7e-05/0.6881, allocations: 4 kB / 456.4 MB, free: 152 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.6896, allocations: 159.8 kB / 456.6 MB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.166e-05/0.6896, allocations: 8 kB / 456.6 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009041/0.6906, allocations: 87.39 kB / 456.7 MB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.693e-05/0.6906, allocations: 23.98 kB / 456.7 MB, free: 15.88 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002176/0.6909, allocations: 144.8 kB / 456.9 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.691, allocations: 31.62 kB / 456.9 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001621/0.6927, allocations: 0.5499 MB / 457.4 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.6927, allocations: 8 kB / 457.5 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.6927, allocations: 0 / 457.5 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.6927, allocations: 3.984 kB / 457.5 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002942/0.6957, allocations: 1.214 MB / 458.7 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.6957, allocations: 0 / 458.7 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00119/0.6969, allocations: 135.8 kB / 458.8 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.221e-05/0.697, allocations: 0 / 458.8 MB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.957e-05/0.697, allocations: 19.98 kB / 458.8 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.888e-06/0.6971, allocations: 7.953 kB / 458.8 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.6971, allocations: 0 / 458.8 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/0.6992, allocations: 0.8986 MB / 459.7 MB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/0.6994, allocations: 128.5 kB / 459.9 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.6995, allocations: 23.89 kB / 459.9 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007606/0.7003, allocations: 40.03 kB / 459.9 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/0.7005, allocations: 36.52 kB / 460 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.777e-05/0.7005, allocations: 19.98 kB / 460 MB, free: 12.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003065/0.7008, allocations: 185.4 kB / 460.2 MB, free: 12.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.7009, allocations: 0 / 460.2 MB, free: 12.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009061/0.7018, allocations: 183.5 kB / 460.3 MB, free: 12.16 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 66 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002717/0.7045, allocations: 1.579 MB / 461.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001388/0.7059, allocations: 486.1 kB / 462.4 MB, free: 10.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.706, allocations: 0 / 462.4 MB, free: 10.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006287/0.7066, allocations: 238.4 kB / 462.6 MB, free: 9.836 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005295/0.7071, allocations: 36.48 kB / 462.7 MB, free: 9.801 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003554/0.7107, allocations: 0.9037 MB / 463.6 MB, free: 8.855 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006433/0.7114, allocations: 0.8617 MB / 464.4 MB, free: 7.973 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007668/0.7122, allocations: 75.41 kB / 464.5 MB, free: 7.898 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004518/0.7126, allocations: 187.4 kB / 464.7 MB, free: 7.715 MB / 378.7 MB Notification: Performance of SimCode: time 1.202e-06/0.7127, allocations: 7.938 kB / 464.7 MB, free: 7.707 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04806/0.7607, allocations: 8.799 MB / 473.5 MB, free: 15.05 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002882/0.7611, allocations: 185.6 kB / 473.7 MB, free: 14.82 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.751/3.513, allocations: 64 / 473.7 MB, free: 14.82 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.CylinderSections_res.mat does not exist to compare? outputFormat=mat