Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.315/2.315, allocations: 209.3 MB / 221.5 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.982e-05/4.989e-05, allocations: 11.98 kB / 273.2 MB, free: 140 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1115, allocations: 48.71 MB / 321.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4254/0.5369, allocations: 72.68 MB / 394.6 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.5372, allocations: 75.94 kB / 394.6 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002404/0.5396, allocations: 0.6154 MB / 395.3 MB, free: 128 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5397, allocations: 4 kB / 395.3 MB, free: 124 kB / 314.7 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.5397, allocations: 4 kB / 395.3 MB, free: 120 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003175/0.54, allocations: 318.4 kB / 395.6 MB, free: 15.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.5401, allocations: 8.031 kB / 395.6 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.063e-05/0.5401, allocations: 35.66 kB / 395.6 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.6e-05/0.5402, allocations: 4 kB / 395.6 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.5403, allocations: 171 kB / 395.8 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.5404, allocations: 0 / 395.8 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.5404, allocations: 0 / 395.8 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.691e-05/0.5405, allocations: 37.64 kB / 395.8 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.5405, allocations: 0 / 395.8 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.5405, allocations: 8 kB / 395.8 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.5406, allocations: 0 / 395.8 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.006e-05/0.5406, allocations: 4 kB / 395.8 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000203/0.5408, allocations: 159.5 kB / 396 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.541, allocations: 30.61 kB / 396 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.021e-05/0.5411, allocations: 16.84 kB / 396 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004596/0.5416, allocations: 121.2 kB / 396.2 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.5416, allocations: 34.5 kB / 396.2 MB, free: 15.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.763e-06/0.5416, allocations: 0 / 396.2 MB, free: 15.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.001757/0.5434, allocations: 165.5 kB / 396.4 MB, free: 14.84 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.5435, allocations: 55.41 kB / 396.4 MB, free: 14.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.846e-05/0.5436, allocations: 89 kB / 396.5 MB, free: 14.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.5436, allocations: 25.7 kB / 396.5 MB, free: 14.65 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.665e-05/0.5436, allocations: 80.14 kB / 396.6 MB, free: 14.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/0.5437, allocations: 15.8 kB / 396.6 MB, free: 14.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-06/0.5437, allocations: 0 / 396.6 MB, free: 14.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.5439, allocations: 314.8 kB / 396.9 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.429e-05/0.5439, allocations: 11.94 kB / 396.9 MB, free: 14.22 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.406e-05/0.544, allocations: 16.12 kB / 397 MB, free: 14.21 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.082e-05/0.544, allocations: 12.44 kB / 397 MB, free: 14.2 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5441, allocations: 7.938 kB / 397 MB, free: 14.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001583/0.5442, allocations: 53.69 kB / 397 MB, free: 14.13 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.5443, allocations: 8 kB / 397 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.5443, allocations: 0.875 kB / 397 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.5443, allocations: 0 / 397 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.5445, allocations: 15.98 kB / 397 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.5446, allocations: 0 / 397 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.5447, allocations: 12 kB / 397.1 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.5447, allocations: 7.984 kB / 397.1 MB, free: 14.09 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 5 * 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 8.842e-05/0.5448, allocations: 112.8 kB / 397.2 MB, free: 13.97 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.5449, allocations: 4 kB / 397.2 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002353/0.5451, allocations: 66.11 kB / 397.2 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.5451, allocations: 4 kB / 397.3 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5452, allocations: 10.06 kB / 397.3 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5452, allocations: 0 / 397.3 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008346/0.546, allocations: 335.2 kB / 397.6 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.546, allocations: 4 kB / 397.6 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.5462, allocations: 20.02 kB / 397.6 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.5463, allocations: 0 / 397.6 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.5463, allocations: 0 / 397.6 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.5463, allocations: 0 / 397.6 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/0.5463, allocations: 4 kB / 397.6 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.5465, allocations: 178 kB / 397.8 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.5466, allocations: 81.11 kB / 397.9 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.5466, allocations: 0 / 397.9 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.5468, allocations: 8 kB / 397.9 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.873e-05/0.5468, allocations: 4.859 kB / 397.9 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.5469, allocations: 4 kB / 397.9 MB, free: 13.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.07e-05/0.5469, allocations: 75.28 kB / 398 MB, free: 13.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5469, allocations: 0 / 398 MB, free: 13.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003272/0.5473, allocations: 15.95 kB / 398 MB, free: 13.07 MB / 330.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 (5): * Single equations (assignments): 5 * 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.0005817/0.5479, allocations: 0.776 MB / 398.8 MB, free: 12.26 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001496/0.548, allocations: 20.44 kB / 398.8 MB, free: 12.24 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.548, allocations: 0 / 398.8 MB, free: 12.24 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.442e-05/0.5481, allocations: 20 kB / 398.8 MB, free: 12.22 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.5483, allocations: 15.88 kB / 398.8 MB, free: 12.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000701/0.549, allocations: 127.3 kB / 398.9 MB, free: 12.04 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.5494, allocations: 0.6809 MB / 399.6 MB, free: 11.33 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.506e-05/0.5495, allocations: 12.19 kB / 399.6 MB, free: 11.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.118e-05/0.5496, allocations: 15.42 kB / 399.6 MB, free: 11.3 MB / 330.7 MB Notification: Performance of SimCode: time 1.132e-06/0.5496, allocations: 0 / 399.6 MB, free: 11.3 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/0.5723, allocations: 1.212 MB / 400.8 MB, free: 10.15 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003598/0.5727, allocations: 149.5 kB / 401 MB, free: 9.93 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.37/2.943, allocations: 0 / 401 MB, free: 9.93 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat does not exist to compare? outputFormat=mat