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.212/2.212, allocations: 209.4 MB / 216.5 MB, free: 6.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.484e-05/3.502e-05, allocations: 10.05 kB / 267.6 MB, free: 4.965 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1555, allocations: 48.69 MB / 316.3 MB, free: 4.18 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4031/0.5587, allocations: 72.26 MB / 388.6 MB, free: 4.09 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.559, allocations: 70.27 kB / 388.7 MB, free: 4.051 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00243/0.5615, allocations: 0.6113 MB / 389.3 MB, free: 3.488 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.5615, allocations: 0 / 389.3 MB, free: 3.488 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.5615, allocations: 0 / 389.3 MB, free: 3.488 MB / 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.0003052/0.5618, allocations: 323 kB / 389.6 MB, free: 3.133 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.5619, allocations: 8.031 kB / 389.6 MB, free: 3.125 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.913e-05/0.5619, allocations: 0 / 389.6 MB, free: 3.125 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.5621, allocations: 180.2 kB / 389.8 MB, free: 2.914 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.5621, allocations: 8 kB / 389.8 MB, free: 2.906 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.734e-05/0.5622, allocations: 0 / 389.8 MB, free: 2.906 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.143e-05/0.5622, allocations: 4 kB / 389.8 MB, free: 2.902 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.153e-05/0.5623, allocations: 29.7 kB / 389.8 MB, free: 2.867 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.5624, allocations: 0 / 389.8 MB, free: 2.867 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-06/0.5624, allocations: 0 / 389.8 MB, free: 2.867 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.5624, allocations: 0 / 389.8 MB, free: 2.867 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001658/0.5626, allocations: 137.5 kB / 389.9 MB, free: 2.699 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.5628, allocations: 46.44 kB / 390 MB, free: 2.648 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.76e-05/0.5628, allocations: 12.84 kB / 390 MB, free: 2.633 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004617/0.5633, allocations: 117.2 kB / 390.1 MB, free: 2.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.5634, allocations: 34.56 kB / 390.1 MB, free: 2.457 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.733e-06/0.5634, allocations: 0 / 390.1 MB, free: 2.457 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.001838/0.5652, allocations: 178.1 kB / 390.3 MB, free: 2.289 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.5653, allocations: 51.41 kB / 390.4 MB, free: 2.227 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.708e-05/0.5654, allocations: 85 kB / 390.5 MB, free: 2.137 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.5654, allocations: 25.7 kB / 390.5 MB, free: 2.105 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.888e-05/0.5655, allocations: 81.02 kB / 390.6 MB, free: 2.023 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.5655, allocations: 14.94 kB / 390.6 MB, free: 2.012 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.5655, allocations: 0 / 390.6 MB, free: 2.012 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.5657, allocations: 319 kB / 390.9 MB, free: 1.691 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.884e-05/0.5657, allocations: 11.25 kB / 390.9 MB, free: 1.684 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.476e-05/0.5658, allocations: 7.375 kB / 390.9 MB, free: 1.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.5659, allocations: 16.23 kB / 390.9 MB, free: 1.668 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.5659, allocations: 0 / 390.9 MB, free: 1.668 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002077/0.5661, allocations: 68.19 kB / 391 MB, free: 1.602 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.5662, allocations: 11.94 kB / 391 MB, free: 1.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.5662, allocations: 0 / 391 MB, free: 1.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.5662, allocations: 0 / 391 MB, free: 1.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.5665, allocations: 21.17 kB / 391 MB, free: 1.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.5665, allocations: 3.984 kB / 391 MB, free: 1.566 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.5666, allocations: 11.98 kB / 391 MB, free: 1.555 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.5667, allocations: 0 / 391 MB, free: 1.555 MB / 314.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.413e-05/0.5668, allocations: 104.9 kB / 391.1 MB, free: 1.445 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001978/0.567, allocations: 64.31 kB / 391.2 MB, free: 1.383 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.411e-05/0.567, allocations: 7.906 kB / 391.2 MB, free: 1.375 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002894/0.5673, allocations: 81.41 kB / 391.3 MB, free: 1.301 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.5673, allocations: 0 / 391.3 MB, free: 1.301 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.5673, allocations: 0 / 391.3 MB, free: 1.301 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.5673, allocations: 0 / 391.3 MB, free: 1.301 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008616/0.5682, allocations: 321 kB / 391.6 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.5682, allocations: 0 / 391.6 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.5684, allocations: 19.98 kB / 391.6 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.5685, allocations: 0 / 391.6 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.5685, allocations: 0 / 391.6 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.5685, allocations: 0.875 kB / 391.6 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.5685, allocations: 4 kB / 391.6 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.5688, allocations: 177.8 kB / 391.8 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.085e-05/0.5688, allocations: 77.11 kB / 391.9 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.5689, allocations: 8.375 kB / 391.9 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.5691, allocations: 11.92 kB / 391.9 MB, free: 0.625 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/0.5691, allocations: 0 / 391.9 MB, free: 0.625 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.5691, allocations: 8 kB / 391.9 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.18e-05/0.5692, allocations: 83.27 kB / 392 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5692, allocations: 0 / 392 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003372/0.5695, allocations: 8 kB / 392 MB, free: 0.5273 MB / 314.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.0006957/0.5702, allocations: 0.7772 MB / 392.8 MB, free: 15.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001425/0.5704, allocations: 34.42 kB / 392.8 MB, free: 15.7 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.5704, allocations: 0 / 392.8 MB, free: 15.7 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.348e-05/0.5705, allocations: 12 kB / 392.8 MB, free: 15.69 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.5707, allocations: 7.531 kB / 392.8 MB, free: 15.69 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006887/0.5714, allocations: 132.8 kB / 392.9 MB, free: 15.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.5717, allocations: 0.6807 MB / 393.6 MB, free: 14.82 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.889e-05/0.5718, allocations: 7.984 kB / 393.6 MB, free: 14.81 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.558e-05/0.5719, allocations: 11.44 kB / 393.6 MB, free: 14.8 MB / 330.7 MB Notification: Performance of SimCode: time 9.02e-07/0.5719, allocations: 4 kB / 393.7 MB, free: 14.79 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03586/0.6078, allocations: 0.9104 MB / 394.6 MB, free: 13.89 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000353/0.6082, allocations: 143.3 kB / 394.7 MB, free: 13.69 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.258/2.867, allocations: 0.5 kB / 394.7 MB, free: 13.69 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