Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.023/2.023, allocations: 209.4 MB / 216.9 MB, free: 6.738 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 2.034e-05/2.033e-05, allocations: 0 / 267.6 MB, free: 5.406 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1321, allocations: 48.7 MB / 316.3 MB, free: 4.613 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.418/0.5502, allocations: 72.27 MB / 388.6 MB, free: 4.23 MB / 314.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.5505, allocations: 61.94 kB / 388.6 MB, free: 4.199 MB / 314.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.002478/0.553, allocations: 0.624 MB / 389.3 MB, free: 3.621 MB / 314.8 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5531, allocations: 0 / 389.3 MB, free: 3.621 MB / 314.8 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.5531, allocations: 0 / 389.3 MB, free: 3.621 MB / 314.8 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.0002952/0.5534, allocations: 314.8 kB / 389.6 MB, free: 3.273 MB / 314.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.5535, allocations: 12.03 kB / 389.6 MB, free: 3.262 MB / 314.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.5535, allocations: 5.859 kB / 389.6 MB, free: 3.258 MB / 314.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.5537, allocations: 174.9 kB / 389.8 MB, free: 3.047 MB / 314.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.5537, allocations: 0 / 389.8 MB, free: 3.047 MB / 314.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.5537, allocations: 0 / 389.8 MB, free: 3.047 MB / 314.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.072e-05/0.5538, allocations: 11.81 kB / 389.8 MB, free: 3.039 MB / 314.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.706e-05/0.5539, allocations: 29.7 kB / 389.8 MB, free: 3.004 MB / 314.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.5539, allocations: 4 kB / 389.8 MB, free: 3 MB / 314.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.5539, allocations: 3.984 kB / 389.8 MB, free: 2.996 MB / 314.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.554, allocations: 0.875 kB / 389.8 MB, free: 2.996 MB / 314.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001561/0.5541, allocations: 126.2 kB / 389.9 MB, free: 2.836 MB / 314.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.5543, allocations: 42.06 kB / 390 MB, free: 2.789 MB / 314.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.458e-05/0.5544, allocations: 12.73 kB / 390 MB, free: 2.777 MB / 314.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004608/0.5549, allocations: 117.2 kB / 390.1 MB, free: 2.645 MB / 314.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.5549, allocations: 34.56 kB / 390.1 MB, free: 2.602 MB / 314.8 MB Notification: Performance of pre-optimization done (n=3): time 1.823e-06/0.5549, allocations: 3.938 kB / 390.1 MB, free: 2.598 MB / 314.8 MB Notification: Performance of matching and sorting (n=5): time 0.001821/0.5568, allocations: 168.6 kB / 390.3 MB, free: 2.438 MB / 314.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.5568, allocations: 51.41 kB / 390.3 MB, free: 2.375 MB / 314.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.106e-05/0.5569, allocations: 89.98 kB / 390.4 MB, free: 2.281 MB / 314.8 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.557, allocations: 25.7 kB / 390.5 MB, free: 2.25 MB / 314.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.771e-05/0.557, allocations: 154.7 kB / 390.6 MB, free: 2.098 MB / 314.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.5571, allocations: 11.75 kB / 390.6 MB, free: 2.09 MB / 314.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-06/0.5571, allocations: 0 / 390.6 MB, free: 2.09 MB / 314.8 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.5572, allocations: 318.8 kB / 390.9 MB, free: 1.77 MB / 314.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.736e-05/0.5573, allocations: 11.88 kB / 390.9 MB, free: 1.762 MB / 314.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.196e-05/0.5573, allocations: 6.312 kB / 391 MB, free: 1.758 MB / 314.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.5574, allocations: 19.86 kB / 391 MB, free: 1.742 MB / 314.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5575, allocations: 3.938 kB / 391 MB, free: 1.738 MB / 314.8 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002238/0.5577, allocations: 65.38 kB / 391 MB, free: 1.676 MB / 314.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.5577, allocations: 10.34 kB / 391.1 MB, free: 1.668 MB / 314.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.5577, allocations: 0 / 391.1 MB, free: 1.668 MB / 314.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.5578, allocations: 0 / 391.1 MB, free: 1.668 MB / 314.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.558, allocations: 15.98 kB / 391.1 MB, free: 1.652 MB / 314.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.558, allocations: 4 kB / 391.1 MB, free: 1.648 MB / 314.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.5582, allocations: 7.984 kB / 391.1 MB, free: 1.641 MB / 314.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.5582, allocations: 0 / 391.1 MB, free: 1.641 MB / 314.8 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 9.224e-05/0.5583, allocations: 108.9 kB / 391.2 MB, free: 1.527 MB / 314.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001998/0.5585, allocations: 73 kB / 391.3 MB, free: 1.457 MB / 314.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.5585, allocations: 3.906 kB / 391.3 MB, free: 1.453 MB / 314.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002755/0.5588, allocations: 70.53 kB / 391.3 MB, free: 1.387 MB / 314.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.5588, allocations: 4.141 kB / 391.3 MB, free: 1.383 MB / 314.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.5589, allocations: 384 / 391.3 MB, free: 1.383 MB / 314.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.5589, allocations: 3.984 kB / 391.3 MB, free: 1.379 MB / 314.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008663/0.5598, allocations: 323.5 kB / 391.7 MB, free: 1.027 MB / 314.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.5598, allocations: 7.938 kB / 391.7 MB, free: 1.02 MB / 314.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.56, allocations: 15.98 kB / 391.7 MB, free: 1.004 MB / 314.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.56, allocations: 0 / 391.7 MB, free: 1.004 MB / 314.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.56, allocations: 4 kB / 391.7 MB, free: 1 MB / 314.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.56, allocations: 4.031 kB / 391.7 MB, free: 0.9961 MB / 314.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.56, allocations: 3.938 kB / 391.7 MB, free: 0.9922 MB / 314.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.5603, allocations: 173.4 kB / 391.9 MB, free: 0.8086 MB / 314.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.5604, allocations: 81.11 kB / 391.9 MB, free: 0.7109 MB / 314.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.5604, allocations: 0 / 391.9 MB, free: 0.7109 MB / 314.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.5606, allocations: 11.98 kB / 391.9 MB, free: 0.6992 MB / 314.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.158e-05/0.5606, allocations: 4 kB / 392 MB, free: 0.6953 MB / 314.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.5606, allocations: 0 / 392 MB, free: 0.6953 MB / 314.8 MB Notification: Performance of sorting global known variables: time 4.66e-05/0.5607, allocations: 83.27 kB / 392 MB, free: 0.6133 MB / 314.8 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5607, allocations: 0 / 392 MB, free: 0.6133 MB / 314.8 MB Notification: Performance of remove unused functions: time 0.0003402/0.5611, allocations: 8 kB / 392 MB, free: 0.6055 MB / 314.8 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.0007802/0.5619, allocations: 0.7834 MB / 392.8 MB, free: 15.8 MB / 330.8 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.562, allocations: 31.67 kB / 392.9 MB, free: 15.78 MB / 330.8 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.5621, allocations: 0 / 392.9 MB, free: 15.78 MB / 330.8 MB Notification: Performance of simCode: created simulation system equations: time 4.745e-05/0.5621, allocations: 15.88 kB / 392.9 MB, free: 15.76 MB / 330.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.5623, allocations: 4 kB / 392.9 MB, free: 15.76 MB / 330.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007971/0.5632, allocations: 155.6 kB / 393 MB, free: 15.57 MB / 330.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.5635, allocations: 0.6807 MB / 393.7 MB, free: 14.86 MB / 330.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.363e-05/0.5636, allocations: 11.42 kB / 393.7 MB, free: 14.85 MB / 330.8 MB Notification: Performance of SimCode: time 1.153e-06/0.5636, allocations: 0 / 393.7 MB, free: 14.85 MB / 330.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.552/3.116, allocations: 0.8471 MB / 394.6 MB, free: 14 MB / 330.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat does not exist to compare? outputFormat=mat