Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.619/2.619, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.728e-05/3.732e-05, allocations: 0 / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.134, allocations: 61.88 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5507/0.6848, allocations: 90.06 MB / 0.4887 GB, free: 14 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004312/0.6853, allocations: 76.92 kB / 0.4888 GB, free: 13.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0444/0.7297, allocations: 6.792 MB / 0.4954 GB, free: 7.109 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.7297, allocations: 0 / 0.4954 GB, free: 7.109 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.222e-05/0.7298, allocations: 8 kB / 0.4954 GB, free: 7.102 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001817/0.7316, allocations: 0.5226 MB / 0.4959 GB, free: 6.535 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.552e-05/0.7317, allocations: 8.031 kB / 0.4959 GB, free: 6.527 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/0.7319, allocations: 58.55 kB / 0.496 GB, free: 6.461 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.732, allocations: 31.62 kB / 0.496 GB, free: 6.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008958/0.7329, allocations: 286.9 kB / 0.4963 GB, free: 6.109 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.069e-05/0.733, allocations: 16.56 kB / 0.4963 GB, free: 6.094 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.108e-05/0.7331, allocations: 27.95 kB / 0.4963 GB, free: 6.066 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.7342, allocations: 223.8 kB / 0.4965 GB, free: 5.844 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.7342, allocations: 0 / 0.4965 GB, free: 5.844 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.066e-05/0.7343, allocations: 8 kB / 0.4966 GB, free: 5.836 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.7343, allocations: 4 kB / 0.4966 GB, free: 5.832 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009655/0.7353, allocations: 205 kB / 0.4968 GB, free: 5.629 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003417/0.7388, allocations: 0.8871 MB / 0.4976 GB, free: 4.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002055/0.7409, allocations: 307 kB / 0.4979 GB, free: 4.367 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005806/0.7415, allocations: 128.8 kB / 0.498 GB, free: 4.238 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-05/0.7416, allocations: 12 kB / 0.498 GB, free: 4.227 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.7417, allocations: 30.56 kB / 0.4981 GB, free: 4.188 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 4.679e-06/0.7417, allocations: 0 / 0.4981 GB, free: 4.188 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.004764/0.7465, allocations: 0.4967 MB / 0.4986 GB, free: 3.672 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.663e-05/0.7466, allocations: 63.34 kB / 0.4986 GB, free: 3.598 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004208/0.7471, allocations: 192.8 kB / 0.4988 GB, free: 3.406 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.198e-05/0.7472, allocations: 29.7 kB / 0.4988 GB, free: 3.371 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.7474, allocations: 156.9 kB / 0.499 GB, free: 3.215 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.7475, allocations: 106.4 kB / 0.4991 GB, free: 3.109 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.7476, allocations: 4 kB / 0.4991 GB, free: 3.105 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.7478, allocations: 334.8 kB / 0.4994 GB, free: 2.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003507/0.7482, allocations: 79.86 kB / 0.4995 GB, free: 2.691 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003989/0.7486, allocations: 114.1 kB / 0.4996 GB, free: 2.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004002/0.749, allocations: 86.5 kB / 0.4997 GB, free: 2.488 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.749, allocations: 0 / 0.4997 GB, free: 2.488 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.01734/0.7664, allocations: 0.5228 MB / 0.5002 GB, free: 1.949 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.7665, allocations: 4 kB / 0.5002 GB, free: 1.945 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.7665, allocations: 0 / 0.5002 GB, free: 1.945 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003555/0.7701, allocations: 315.2 kB / 0.5005 GB, free: 1.625 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003877/0.7705, allocations: 31.97 kB / 0.5005 GB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03997/0.8105, allocations: 6.369 MB / 0.5067 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005584/0.8111, allocations: 27.86 kB / 0.5068 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.523e-05/0.8111, allocations: 11.94 kB / 0.5068 GB, free: 10.64 MB / 426.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 (15): * Single equations (assignments): 11 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001867/0.8113, allocations: 113 kB / 0.5069 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.8115, allocations: 35.55 kB / 0.5069 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003908/0.8154, allocations: 0.523 MB / 0.5074 GB, free: 9.953 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.8154, allocations: 4 kB / 0.5074 GB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.8155, allocations: 0 / 0.5074 GB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.8155, allocations: 0 / 0.5074 GB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008334/0.8163, allocations: 349.3 kB / 0.5078 GB, free: 9.559 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.8163, allocations: 4 kB / 0.5078 GB, free: 9.555 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002885/0.8166, allocations: 23.92 kB / 0.5078 GB, free: 9.531 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003456/0.8201, allocations: 319.2 kB / 0.5081 GB, free: 9.207 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.123e-05/0.8202, allocations: 4 kB / 0.5081 GB, free: 9.203 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01325/0.8335, allocations: 6.289 MB / 0.5142 GB, free: 2.379 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.8335, allocations: 0 / 0.5142 GB, free: 2.379 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003027/0.8365, allocations: 0.5968 MB / 0.5148 GB, free: 1.754 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.8367, allocations: 104.8 kB / 0.5149 GB, free: 1.633 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.66e-05/0.8368, allocations: 8 kB / 0.5149 GB, free: 1.625 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003492/0.8372, allocations: 12 kB / 0.5149 GB, free: 1.613 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/0.8374, allocations: 35.95 kB / 0.515 GB, free: 1.578 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/0.8374, allocations: 7.984 kB / 0.515 GB, free: 1.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002294/0.8376, allocations: 153.4 kB / 0.5151 GB, free: 1.422 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.8376, allocations: 0 / 0.5151 GB, free: 1.422 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007635/0.8384, allocations: 119.8 kB / 0.5152 GB, free: 1.305 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,2 4,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00363/0.8421, allocations: 1.156 MB / 0.5164 GB, free: 112 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002128/0.8442, allocations: 0.6668 MB / 0.517 GB, free: 15.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.8443, allocations: 0 / 0.517 GB, free: 15.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00198/0.8463, allocations: 0.6315 MB / 0.5176 GB, free: 14.73 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005299/0.8469, allocations: 16.44 kB / 0.5177 GB, free: 14.71 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.8489, allocations: 411.7 kB / 0.5181 GB, free: 14.27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000625/0.8496, allocations: 0.7794 MB / 0.5188 GB, free: 13.46 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001744/0.8498, allocations: 14.08 kB / 0.5188 GB, free: 13.44 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/0.85, allocations: 75.41 kB / 0.5189 GB, free: 13.37 MB / 442.7 MB Notification: Performance of SimCode: time 1.423e-06/0.8501, allocations: 4 kB / 0.5189 GB, free: 13.36 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04837/0.8984, allocations: 10.28 MB / 0.5289 GB, free: 3.207 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004512/0.899, allocations: 185.7 kB / 0.5291 GB, free: 2.98 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.043/3.942, allocations: 0 / 0.5291 GB, free: 2.98 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat does not exist to compare? outputFormat=mat