Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.527/2.527, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.512e-05/4.511e-05, allocations: 4 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1533, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5779/0.7312, allocations: 89.49 MB / 499.9 MB, free: 14.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/0.7316, allocations: 72.73 kB / 499.9 MB, free: 14.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01885/0.7505, allocations: 4.405 MB / 0.4925 GB, free: 10.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.7505, allocations: 2.844 kB / 0.4925 GB, free: 10.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.7505, allocations: 8 kB / 0.4925 GB, free: 10.02 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001137/0.7517, allocations: 0.5141 MB / 0.493 GB, free: 9.461 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.7518, allocations: 12.03 kB / 0.493 GB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001135/0.7519, allocations: 66.53 kB / 0.4931 GB, free: 9.375 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.359e-05/0.752, allocations: 27.72 kB / 0.4931 GB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.7522, allocations: 198.6 kB / 0.4933 GB, free: 9.113 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/0.7524, allocations: 32.72 kB / 0.4933 GB, free: 9.082 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.34e-05/0.7525, allocations: 31.95 kB / 0.4934 GB, free: 9.051 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007412/0.7532, allocations: 266.2 kB / 0.4936 GB, free: 8.785 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.7533, allocations: 3.938 kB / 0.4936 GB, free: 8.781 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.604e-05/0.7533, allocations: 12 kB / 0.4936 GB, free: 8.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.7533, allocations: 8 kB / 0.4937 GB, free: 8.762 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006284/0.754, allocations: 197.5 kB / 0.4938 GB, free: 8.566 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002829/0.7568, allocations: 1.022 MB / 0.4948 GB, free: 7.484 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.757, allocations: 34.53 kB / 0.4949 GB, free: 7.441 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.856e-05/0.7571, allocations: 24.92 kB / 0.4949 GB, free: 7.414 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.7571, allocations: 0 / 0.4949 GB, free: 7.414 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.7572, allocations: 38.5 kB / 0.4949 GB, free: 7.367 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 4.618e-06/0.7572, allocations: 3.984 kB / 0.4949 GB, free: 7.363 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002481/0.7575, allocations: 73.34 kB / 0.495 GB, free: 7.285 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.7575, allocations: 51.41 kB / 0.4951 GB, free: 7.223 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005044/0.758, allocations: 283.3 kB / 0.4953 GB, free: 6.949 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.7581, allocations: 25.7 kB / 0.4953 GB, free: 6.918 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.7583, allocations: 234.8 kB / 0.4956 GB, free: 6.684 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.7583, allocations: 7.906 kB / 0.4956 GB, free: 6.676 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.921e-05/0.7583, allocations: 4 kB / 0.4956 GB, free: 6.672 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.7585, allocations: 330.8 kB / 0.4959 GB, free: 6.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.7587, allocations: 64.03 kB / 0.496 GB, free: 6.277 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.7589, allocations: 85.2 kB / 0.496 GB, free: 6.191 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.7592, allocations: 67.97 kB / 0.4961 GB, free: 6.125 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.7592, allocations: 4 kB / 0.4961 GB, free: 6.121 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005848/0.7598, allocations: 223 kB / 0.4963 GB, free: 5.898 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.7598, allocations: 4 kB / 0.4963 GB, free: 5.895 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.7598, allocations: 0 / 0.4963 GB, free: 5.895 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.7599, allocations: 4 kB / 0.4963 GB, free: 5.891 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005809/0.7605, allocations: 59.92 kB / 0.4964 GB, free: 5.832 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.7605, allocations: 0 / 0.4964 GB, free: 5.832 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004929/0.761, allocations: 43.53 kB / 0.4964 GB, free: 5.789 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/0.7611, allocations: 11.98 kB / 0.4964 GB, free: 5.777 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0001044/0.7612, allocations: 109 kB / 0.4965 GB, free: 5.664 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-05/0.7612, allocations: 19.77 kB / 0.4966 GB, free: 5.645 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.347e-05/0.7613, allocations: 24.89 kB / 0.4966 GB, free: 5.617 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.7613, allocations: 0 / 0.4966 GB, free: 5.617 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.7614, allocations: 7.938 kB / 0.4966 GB, free: 5.609 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.7614, allocations: 0 / 0.4966 GB, free: 5.609 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009451/0.7623, allocations: 0.5071 MB / 0.4971 GB, free: 5.039 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.7623, allocations: 0 / 0.4971 GB, free: 5.039 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.137e-05/0.7624, allocations: 4 kB / 0.4971 GB, free: 5.035 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.7624, allocations: 0 / 0.4971 GB, free: 5.035 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.7624, allocations: 0 / 0.4971 GB, free: 5.035 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.505e-06/0.7625, allocations: 3.938 kB / 0.4971 GB, free: 5.031 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7625, allocations: 11.94 kB / 0.4971 GB, free: 5.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.7627, allocations: 111.5 kB / 0.4972 GB, free: 4.883 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.7628, allocations: 100.8 kB / 0.4973 GB, free: 4.766 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.254e-05/0.7629, allocations: 4 kB / 0.4973 GB, free: 4.762 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.7631, allocations: 3.984 kB / 0.4973 GB, free: 4.758 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.939e-05/0.7631, allocations: 8.031 kB / 0.4973 GB, free: 4.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-06/0.7631, allocations: 0 / 0.4973 GB, free: 4.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003633/0.7635, allocations: 215.1 kB / 0.4975 GB, free: 4.539 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.7635, allocations: 4 kB / 0.4975 GB, free: 4.535 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004066/0.7639, allocations: 63.84 kB / 0.4976 GB, free: 4.473 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005651/0.7645, allocations: 0.7147 MB / 0.4983 GB, free: 3.719 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003647/0.7649, allocations: 107.9 kB / 0.4984 GB, free: 3.613 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.7649, allocations: 0 / 0.4984 GB, free: 3.613 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.593e-05/0.765, allocations: 12 kB / 0.4984 GB, free: 3.602 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.7653, allocations: 16.89 kB / 0.4984 GB, free: 3.582 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009549/0.7663, allocations: 281.7 kB / 0.4987 GB, free: 3.266 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.7667, allocations: 0.7518 MB / 0.4994 GB, free: 2.488 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002066/0.7669, allocations: 30.05 kB / 0.4995 GB, free: 2.461 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.7671, allocations: 71.41 kB / 0.4995 GB, free: 2.395 MB / 410.7 MB Notification: Performance of SimCode: time 1.222e-06/0.7671, allocations: 0 / 0.4995 GB, free: 2.395 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03041/0.7975, allocations: 3.667 MB / 0.5031 GB, free: 14.81 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002985/0.7979, allocations: 151.6 kB / 0.5032 GB, free: 14.59 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.373/3.171, allocations: 0 / 0.5032 GB, free: 14.59 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Leakage_res.mat does not exist to compare? outputFormat=mat