Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Sources,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.396/2.396, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.789e-05/2.791e-05, allocations: 0 / 299.5 MB, free: 6.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4036, allocations: 54.86 MB / 354.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1557/0.5594, allocations: 82.18 MB / 436.5 MB, free: 28 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.5597, allocations: 68.05 kB / 436.6 MB, free: 15.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03106/0.5908, allocations: 6.809 MB / 443.4 MB, free: 9.125 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5909, allocations: 0 / 443.4 MB, free: 9.125 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.779e-05/0.5909, allocations: 8 kB / 443.4 MB, free: 9.117 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001505/0.5924, allocations: 0.5919 MB / 444 MB, free: 8.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.5925, allocations: 8.031 kB / 444 MB, free: 8.473 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.5926, allocations: 43.48 kB / 444 MB, free: 8.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005062/0.5931, allocations: 272.3 kB / 444.3 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.5932, allocations: 12 kB / 444.3 MB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.165e-05/0.5932, allocations: 20 kB / 444.3 MB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006035/0.5939, allocations: 189.5 kB / 444.5 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00067/0.5945, allocations: 278.3 kB / 444.8 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.5946, allocations: 7.953 kB / 444.8 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.5946, allocations: 0 / 444.8 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.5946, allocations: 11.98 kB / 444.8 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002658/0.5973, allocations: 1.21 MB / 446 MB, free: 6.309 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004941/0.5978, allocations: 158.7 kB / 446.2 MB, free: 6.117 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.598, allocations: 56.19 kB / 446.2 MB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/0.598, allocations: 3.953 kB / 446.2 MB, free: 6.047 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.5981, allocations: 42.53 kB / 446.3 MB, free: 5.996 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 2.915e-06/0.5981, allocations: 0 / 446.3 MB, free: 5.996 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004633/0.5986, allocations: 133.2 kB / 446.4 MB, free: 5.859 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.534e-05/0.5987, allocations: 136.5 kB / 446.5 MB, free: 5.695 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003448/0.599, allocations: 230.3 kB / 446.8 MB, free: 5.461 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.599, allocations: 25.7 kB / 446.8 MB, free: 5.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/0.5993, allocations: 247.6 kB / 447 MB, free: 5.184 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.816e-05/0.5993, allocations: 43.36 kB / 447.1 MB, free: 5.141 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.667e-05/0.5994, allocations: 0 / 447.1 MB, free: 5.141 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.5995, allocations: 334.8 kB / 447.4 MB, free: 4.805 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.5997, allocations: 48.56 kB / 447.5 MB, free: 4.754 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.5999, allocations: 136.6 kB / 447.6 MB, free: 4.582 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.6001, allocations: 67.95 kB / 447.7 MB, free: 4.516 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.6001, allocations: 0 / 447.7 MB, free: 4.516 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005727/0.6007, allocations: 225.3 kB / 447.9 MB, free: 4.289 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.6008, allocations: 12.03 kB / 447.9 MB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.6008, allocations: 7.953 kB / 447.9 MB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.6008, allocations: 4 kB / 447.9 MB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006401/0.6015, allocations: 79.89 kB / 448 MB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.6015, allocations: 7.938 kB / 448 MB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004515/0.602, allocations: 47.66 kB / 448 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.602, allocations: 8 kB / 448 MB, free: 4.125 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0001167/0.6021, allocations: 120.8 kB / 448.2 MB, free: 4 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000379/0.6025, allocations: 129.3 kB / 448.3 MB, free: 3.867 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.6027, allocations: 27.67 kB / 448.3 MB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.996e-05/0.6028, allocations: 29.83 kB / 448.3 MB, free: 3.805 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.6028, allocations: 3.984 kB / 448.3 MB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.6028, allocations: 4 kB / 448.3 MB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.6028, allocations: 0 / 448.3 MB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.6039, allocations: 0.5335 MB / 448.9 MB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/0.6039, allocations: 4.312 kB / 448.9 MB, free: 3.199 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003683/0.6043, allocations: 44.12 kB / 448.9 MB, free: 3.156 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/0.6043, allocations: 4 kB / 448.9 MB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.6043, allocations: 8 kB / 448.9 MB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.448e-06/0.6043, allocations: 7.938 kB / 448.9 MB, free: 3.137 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.6044, allocations: 0 / 448.9 MB, free: 3.137 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004614/0.6048, allocations: 409 kB / 449.3 MB, free: 2.668 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.024e-05/0.6049, allocations: 104.7 kB / 449.4 MB, free: 2.547 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.395e-05/0.605, allocations: 4 kB / 449.4 MB, free: 2.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003837/0.6054, allocations: 19.97 kB / 449.5 MB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.366e-05/0.6055, allocations: 19.92 kB / 449.5 MB, free: 2.504 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.6055, allocations: 4 kB / 449.5 MB, free: 2.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000237/0.6058, allocations: 178 kB / 449.7 MB, free: 2.328 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6058, allocations: 4 kB / 449.7 MB, free: 2.324 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005828/0.6064, allocations: 75.64 kB / 449.7 MB, free: 2.25 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 15 * 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.0009289/0.6073, allocations: 1.343 MB / 451.1 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004279/0.6077, allocations: 135.8 kB / 451.2 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.6078, allocations: 0 / 451.2 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.608, allocations: 47.94 kB / 451.3 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.6084, allocations: 17.7 kB / 451.3 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.6097, allocations: 404.5 kB / 451.7 MB, free: 200 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004616/0.6102, allocations: 0.7791 MB / 452.5 MB, free: 15.39 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002033/0.6104, allocations: 21.84 kB / 452.5 MB, free: 15.37 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.6107, allocations: 99.41 kB / 452.6 MB, free: 15.27 MB / 394.7 MB Notification: Performance of SimCode: time 9.32e-07/0.6107, allocations: 0 / 452.6 MB, free: 15.27 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04138/0.6521, allocations: 3.62 MB / 456.2 MB, free: 11.67 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003638/0.6525, allocations: 118.8 kB / 456.3 MB, free: 11.48 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.559/3.212, allocations: 0 / 456.3 MB, free: 11.48 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources_res.mat does not exist to compare? outputFormat=mat