Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.027/2.027, allocations: 205.8 MB / 218.9 MB, free: 9.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.889e-05/3.912e-05, allocations: 10.5 kB / 269.5 MB, free: 6.297 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1026, allocations: 47.57 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4736/0.5763, allocations: 82.65 MB / 399.7 MB, free: 5.031 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/0.5766, allocations: 79.77 kB / 399.8 MB, free: 4.988 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07546/0.6521, allocations: 19.43 MB / 419.2 MB, free: 5.094 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.6522, allocations: 0 / 419.2 MB, free: 5.094 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.178e-05/0.6522, allocations: 12 kB / 419.2 MB, free: 5.082 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004142/0.6564, allocations: 0.9506 MB / 420.2 MB, free: 4.156 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.6564, allocations: 16.03 kB / 420.2 MB, free: 4.141 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002012/0.6567, allocations: 109.2 kB / 420.3 MB, free: 4.066 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/0.6583, allocations: 172.4 kB / 420.4 MB, free: 3.914 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.6586, allocations: 234.4 kB / 420.7 MB, free: 3.645 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.869e-05/0.6587, allocations: 49.88 kB / 420.7 MB, free: 3.617 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/0.6589, allocations: 75.94 kB / 420.8 MB, free: 3.566 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001685/0.6606, allocations: 0.6507 MB / 421.4 MB, free: 3.113 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.132e-05/0.6606, allocations: 11.19 kB / 421.5 MB, free: 3.105 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.723e-05/0.6607, allocations: 22.81 kB / 421.5 MB, free: 3.102 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.799e-05/0.6608, allocations: 16 kB / 421.5 MB, free: 3.086 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.6623, allocations: 0.5381 MB / 422 MB, free: 2.738 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005421/0.6678, allocations: 2.343 MB / 424.4 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002889/0.6707, allocations: 1.626 MB / 426 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006081/0.6713, allocations: 245.3 kB / 426.2 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001839/0.6715, allocations: 97.41 kB / 426.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/0.6716, allocations: 42.55 kB / 426.4 MB, free: 14.92 MB / 346.7 MB Notification: Performance of pre-optimization done (n=66): time 5.09e-06/0.6716, allocations: 96 / 426.4 MB, free: 14.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.001398/0.673, allocations: 471.1 kB / 426.8 MB, free: 14.58 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.404e-05/0.6731, allocations: 111.4 kB / 426.9 MB, free: 14.45 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003784/0.6735, allocations: 230 kB / 427.2 MB, free: 14.26 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.003e-05/0.6736, allocations: 36.45 kB / 427.2 MB, free: 14.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.6738, allocations: 269.7 kB / 427.5 MB, free: 13.99 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002346/0.6741, allocations: 222.9 kB / 427.7 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-05/0.6741, allocations: 21.91 kB / 427.7 MB, free: 13.79 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.6743, allocations: 345.7 kB / 428 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005309/0.6748, allocations: 175.8 kB / 428.2 MB, free: 13.35 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006138/0.6755, allocations: 265.9 kB / 428.5 MB, free: 13.15 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006207/0.6761, allocations: 227.3 kB / 428.7 MB, free: 13 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.6761, allocations: 4 kB / 428.7 MB, free: 13 MB / 346.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001539/0.6777, allocations: 0.5609 MB / 429.3 MB, free: 12.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.6777, allocations: 14.12 kB / 429.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.6777, allocations: 4.188 kB / 429.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/0.6778, allocations: 7.953 kB / 429.3 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.6792, allocations: 169.8 kB / 429.5 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.807e-05/0.6793, allocations: 4 kB / 429.5 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000868/0.6801, allocations: 74.05 kB / 429.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.169e-05/0.6803, allocations: 31.36 kB / 429.6 MB, free: 12.31 MB / 346.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.0002002/0.6805, allocations: 142.3 kB / 429.7 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.6806, allocations: 34.81 kB / 429.7 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/0.6822, allocations: 0.5433 MB / 430.3 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.6822, allocations: 8 kB / 430.3 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.6822, allocations: 3.953 kB / 430.3 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.6823, allocations: 3.984 kB / 430.3 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002899/0.6852, allocations: 1.218 MB / 431.5 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.6852, allocations: 4 kB / 431.5 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/0.6864, allocations: 137 kB / 431.7 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.427e-05/0.6864, allocations: 4 kB / 431.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.673e-05/0.6865, allocations: 18.86 kB / 431.7 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.6865, allocations: 0 / 431.7 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.6865, allocations: 4 kB / 431.7 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.6885, allocations: 0.8998 MB / 432.6 MB, free: 10 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.6887, allocations: 132.2 kB / 432.7 MB, free: 9.855 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.764e-05/0.6888, allocations: 6.875 kB / 432.7 MB, free: 9.855 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007245/0.6895, allocations: 35.16 kB / 432.7 MB, free: 9.828 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.6897, allocations: 45.75 kB / 432.8 MB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.339e-05/0.6897, allocations: 19.19 kB / 432.8 MB, free: 9.777 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002834/0.69, allocations: 182.9 kB / 433 MB, free: 9.629 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.02e-07/0.6901, allocations: 0 / 433 MB, free: 9.629 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008723/0.6909, allocations: 186.5 kB / 433.2 MB, free: 9.469 MB / 346.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.002556/0.6935, allocations: 1.572 MB / 434.7 MB, free: 8.125 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00172/0.6953, allocations: 480.8 kB / 435.2 MB, free: 7.801 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.6953, allocations: 0 / 435.2 MB, free: 7.801 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009083/0.6962, allocations: 239.7 kB / 435.4 MB, free: 7.633 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005506/0.6968, allocations: 39.47 kB / 435.5 MB, free: 7.609 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003652/0.7004, allocations: 0.9122 MB / 436.4 MB, free: 6.801 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/0.701, allocations: 0.8578 MB / 437.3 MB, free: 5.922 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007577/0.7018, allocations: 79.34 kB / 437.3 MB, free: 5.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004125/0.7022, allocations: 183.8 kB / 437.5 MB, free: 5.781 MB / 346.7 MB Notification: Performance of SimCode: time 1.382e-06/0.7022, allocations: 0 / 437.5 MB, free: 5.781 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05185/0.7541, allocations: 8.767 MB / 446.3 MB, free: 13.09 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003151/0.7545, allocations: 184.8 kB / 446.5 MB, free: 12.87 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.044/3.798, allocations: 8.062 kB / 446.5 MB, free: 12.86 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.CylinderSections_res.mat does not exist to compare? outputFormat=mat