Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.895/1.895, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.177e-05/3.184e-05, allocations: 4 kB / 269.5 MB, free: 6.285 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.106, allocations: 47.57 MB / 317 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4447/0.5508, allocations: 81.46 MB / 398.5 MB, free: 6.195 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/0.5511, allocations: 84.25 kB / 398.6 MB, free: 6.148 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07912/0.6303, allocations: 20.6 MB / 419.2 MB, free: 5.328 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.093e-06/0.6303, allocations: 0 / 419.2 MB, free: 5.328 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.251e-05/0.6304, allocations: 12 kB / 419.2 MB, free: 5.316 MB / 330.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.004353/0.6347, allocations: 0.9737 MB / 420.2 MB, free: 4.375 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.6348, allocations: 8.031 kB / 420.2 MB, free: 4.367 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002601/0.6351, allocations: 122.5 kB / 420.3 MB, free: 4.285 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00203/0.6371, allocations: 204.1 kB / 420.5 MB, free: 4.105 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.6374, allocations: 246.9 kB / 420.7 MB, free: 3.828 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.728e-05/0.6375, allocations: 52.31 kB / 420.8 MB, free: 3.801 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/0.6377, allocations: 80.95 kB / 420.9 MB, free: 3.746 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/0.6397, allocations: 0.7133 MB / 421.6 MB, free: 3.262 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.013e-05/0.6397, allocations: 0 / 421.6 MB, free: 3.262 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.6398, allocations: 36.69 kB / 421.6 MB, free: 3.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.536e-05/0.6399, allocations: 16 kB / 421.6 MB, free: 3.234 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00173/0.6416, allocations: 0.5982 MB / 422.2 MB, free: 2.844 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006902/0.6485, allocations: 3.146 MB / 425.4 MB, free: 116 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003307/0.6519, allocations: 2.029 MB / 427.4 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008527/0.6528, allocations: 292.4 kB / 427.7 MB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001821/0.653, allocations: 101.9 kB / 427.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.6531, allocations: 54.73 kB / 427.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=72): time 3.526e-06/0.6531, allocations: 0 / 427.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=72): time 0.001878/0.655, allocations: 0.5924 MB / 428.4 MB, free: 13.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.666e-05/0.6551, allocations: 119.1 kB / 428.5 MB, free: 13.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004489/0.6555, allocations: 242 kB / 428.8 MB, free: 12.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.496e-05/0.6557, allocations: 36.45 kB / 428.8 MB, free: 12.88 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/0.6559, allocations: 287.9 kB / 429.1 MB, free: 12.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002859/0.6562, allocations: 251.3 kB / 429.3 MB, free: 12.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.513e-05/0.6563, allocations: 18.75 kB / 429.4 MB, free: 12.4 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.6564, allocations: 347.8 kB / 429.7 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005853/0.657, allocations: 205.9 kB / 429.9 MB, free: 11.94 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000709/0.6578, allocations: 346.5 kB / 430.2 MB, free: 11.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006951/0.6585, allocations: 254.6 kB / 430.5 MB, free: 11.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.6585, allocations: 0 / 430.5 MB, free: 11.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002085/0.6606, allocations: 0.7602 MB / 431.2 MB, free: 10.9 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.6606, allocations: 8 kB / 431.3 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.6607, allocations: 4.375 kB / 431.3 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006075/0.6613, allocations: 118.2 kB / 431.4 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/0.6626, allocations: 171.7 kB / 431.5 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004262/0.6669, allocations: 3.401 MB / 434.9 MB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.668, allocations: 96.22 kB / 435 MB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.541e-05/0.6681, allocations: 30.19 kB / 435.1 MB, free: 7.25 MB / 346.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.0002314/0.6683, allocations: 152 kB / 435.2 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.6685, allocations: 43.48 kB / 435.3 MB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002018/0.6705, allocations: 0.6816 MB / 435.9 MB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.6705, allocations: 12 kB / 436 MB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.6706, allocations: 4 kB / 436 MB, free: 6.582 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.6706, allocations: 3.984 kB / 436 MB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003449/0.674, allocations: 1.447 MB / 437.4 MB, free: 5.465 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.6741, allocations: 7.938 kB / 437.4 MB, free: 5.457 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.6751, allocations: 119.1 kB / 437.5 MB, free: 5.348 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004929/0.6756, allocations: 107.3 kB / 437.6 MB, free: 5.254 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-05/0.6757, allocations: 18.48 kB / 437.7 MB, free: 5.246 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003662/0.6794, allocations: 3.094 MB / 440.7 MB, free: 2.035 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.6794, allocations: 3.953 kB / 440.7 MB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002593/0.682, allocations: 1.056 MB / 441.8 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.6822, allocations: 124.5 kB / 441.9 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.6824, allocations: 19.94 kB / 441.9 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007531/0.6831, allocations: 36.03 kB / 442 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/0.6833, allocations: 56.7 kB / 442 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-05/0.6834, allocations: 19.94 kB / 442.1 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002941/0.6837, allocations: 187.1 kB / 442.2 MB, free: 500 kB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6837, allocations: 0 / 442.2 MB, free: 500 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.001218/0.6849, allocations: 227.5 kB / 442.5 MB, free: 272 kB / 346.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.003145/0.6881, allocations: 1.728 MB / 444.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002058/0.6902, allocations: 0.7973 MB / 445 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.6902, allocations: 0 / 445 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.6913, allocations: 0.5149 MB / 445.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004621/0.6918, allocations: 24.56 kB / 445.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003408/0.6952, allocations: 0.9341 MB / 446.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005571/0.6958, allocations: 0.8772 MB / 447.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007328/0.6966, allocations: 84.36 kB / 447.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004553/0.6971, allocations: 191.4 kB / 447.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of SimCode: time 1.302e-06/0.6971, allocations: 0 / 447.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04184/0.7389, allocations: 10.09 MB / 457.7 MB, free: 0.957 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000343/0.7393, allocations: 205.8 kB / 457.9 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.866/3.605, allocations: 0 / 457.9 MB, free: 0.7266 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat does not exist to compare? outputFormat=mat