Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.452/2.452, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.593e-05/4.611e-05, allocations: 4 kB / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4119, allocations: 54.86 MB / 359.9 MB, free: 2.301 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1528/0.5648, allocations: 79.08 MB / 438.9 MB, free: 1.801 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.5651, allocations: 67.95 kB / 439 MB, free: 1.734 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002558/0.5677, allocations: 0.6127 MB / 439.6 MB, free: 1.129 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.5677, allocations: 0 / 439.6 MB, free: 1.129 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.5678, allocations: 0.6562 kB / 439.6 MB, free: 1.129 MB / 362.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.0003109/0.5681, allocations: 326.6 kB / 439.9 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.5681, allocations: 8.031 kB / 439.9 MB, free: 0.7617 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.467e-05/0.5682, allocations: 30.56 kB / 440 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.5682, allocations: 3.953 kB / 440 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.5684, allocations: 167 kB / 440.1 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.5684, allocations: 7.609 kB / 440.2 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.5684, allocations: 7.984 kB / 440.2 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.5686, allocations: 34.27 kB / 440.2 MB, free: 476 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.5686, allocations: 0 / 440.2 MB, free: 476 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.5686, allocations: 0 / 440.2 MB, free: 476 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.5686, allocations: 3.953 kB / 440.2 MB, free: 472 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.926e-05/0.5687, allocations: 11.98 kB / 440.2 MB, free: 460 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002095/0.5689, allocations: 153.6 kB / 440.4 MB, free: 256 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.5692, allocations: 43.83 kB / 440.4 MB, free: 204 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.816e-05/0.5692, allocations: 8.859 kB / 440.4 MB, free: 192 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005103/0.5698, allocations: 117.2 kB / 440.5 MB, free: 56 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.5698, allocations: 34.56 kB / 440.6 MB, free: 12 kB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 2.926e-06/0.5698, allocations: 0 / 440.6 MB, free: 12 kB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.001953/0.5718, allocations: 167.4 kB / 440.7 MB, free: 15.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.5719, allocations: 55.36 kB / 440.8 MB, free: 15.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.223e-05/0.572, allocations: 92.98 kB / 440.9 MB, free: 15.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.572, allocations: 25.7 kB / 440.9 MB, free: 15.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.559e-05/0.5721, allocations: 154.6 kB / 441 MB, free: 15.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.83e-05/0.5722, allocations: 7.812 kB / 441 MB, free: 15.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.134e-06/0.5722, allocations: 0 / 441 MB, free: 15.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.5723, allocations: 319 kB / 441.4 MB, free: 15.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.567e-05/0.5724, allocations: 10.53 kB / 441.4 MB, free: 15.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.652e-05/0.5725, allocations: 12 kB / 441.4 MB, free: 15.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.147e-05/0.5725, allocations: 11.98 kB / 441.4 MB, free: 15.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.5725, allocations: 0 / 441.4 MB, free: 15.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001745/0.5727, allocations: 61.62 kB / 441.5 MB, free: 15.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.5727, allocations: 5.719 kB / 441.5 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.5728, allocations: 0 / 441.5 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.5728, allocations: 4 kB / 441.5 MB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.573, allocations: 15.98 kB / 441.5 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/0.5731, allocations: 4 kB / 441.5 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.5732, allocations: 11.94 kB / 441.5 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.5732, allocations: 1.188 kB / 441.5 MB, free: 15.03 MB / 378.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.64e-05/0.5733, allocations: 112.1 kB / 441.6 MB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.701e-05/0.5734, allocations: 4 kB / 441.6 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002443/0.5736, allocations: 73.17 kB / 441.7 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.5736, allocations: 0 / 441.7 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.5737, allocations: 0 / 441.7 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.5737, allocations: 0 / 441.7 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008544/0.5745, allocations: 336.3 kB / 442 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5746, allocations: 4.031 kB / 442 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.5748, allocations: 19.92 kB / 442 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.5748, allocations: 4 kB / 442 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.5748, allocations: 4 kB / 442 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.5748, allocations: 3.953 kB / 442 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.5748, allocations: 1.25 kB / 442 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.575, allocations: 170.3 kB / 442.2 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.736e-05/0.5751, allocations: 81.11 kB / 442.3 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.5751, allocations: 9.062 kB / 442.3 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.5753, allocations: 11.98 kB / 442.3 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.964e-05/0.5754, allocations: 4 kB / 442.3 MB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.5754, allocations: 0 / 442.3 MB, free: 14.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.428e-05/0.5754, allocations: 79.28 kB / 442.4 MB, free: 14.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.485e-06/0.5755, allocations: 4.094 kB / 442.4 MB, free: 14.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003186/0.5758, allocations: 11.94 kB / 442.4 MB, free: 14.01 MB / 378.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.0005919/0.5764, allocations: 0.769 MB / 443.2 MB, free: 13.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001543/0.5766, allocations: 35.94 kB / 443.2 MB, free: 13.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5766, allocations: 0 / 443.2 MB, free: 13.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.679e-05/0.5766, allocations: 15.98 kB / 443.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.5768, allocations: 5.406 kB / 443.2 MB, free: 13.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007423/0.5776, allocations: 154.3 kB / 443.4 MB, free: 12.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.5779, allocations: 0.681 MB / 444.1 MB, free: 12.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.578, allocations: 16.3 kB / 444.1 MB, free: 12.23 MB / 378.7 MB Notification: Performance of SimCode: time 8.62e-07/0.578, allocations: 0 / 444.1 MB, free: 12.23 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.471/3.049, allocations: 0.8582 MB / 444.9 MB, free: 11.38 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat does not exist to compare? outputFormat=mat