Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.376/2.376, allocations: 235.1 MB / 242.2 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.635e-05/2.651e-05, allocations: 3.938 kB / 299.5 MB, free: 6.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.3982, allocations: 54.85 MB / 354.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1499/0.5482, allocations: 78.52 MB / 432.8 MB, free: 3.699 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.5485, allocations: 71.91 kB / 432.9 MB, free: 3.629 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003775/0.5523, allocations: 0.9049 MB / 433.8 MB, free: 2.727 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.5524, allocations: 0 / 433.8 MB, free: 2.727 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.5524, allocations: 0 / 433.8 MB, free: 2.727 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003088/0.5527, allocations: 339.7 kB / 434.2 MB, free: 2.352 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.5528, allocations: 12.03 kB / 434.2 MB, free: 2.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.717e-05/0.5528, allocations: 7.953 kB / 434.2 MB, free: 2.332 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.553, allocations: 174.9 kB / 434.3 MB, free: 2.121 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.553, allocations: 0 / 434.3 MB, free: 2.121 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.553, allocations: 4 kB / 434.3 MB, free: 2.117 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001524/0.5532, allocations: 43.97 kB / 434.4 MB, free: 2.074 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.5533, allocations: 53.62 kB / 434.4 MB, free: 2.016 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.5533, allocations: 3.984 kB / 434.4 MB, free: 2.012 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.5534, allocations: 0 / 434.4 MB, free: 2.012 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.5534, allocations: 3.953 kB / 434.5 MB, free: 2.008 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002021/0.5536, allocations: 146.1 kB / 434.6 MB, free: 1.828 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.5538, allocations: 66.56 kB / 434.7 MB, free: 1.754 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.607e-05/0.5538, allocations: 28.86 kB / 434.7 MB, free: 1.723 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003894/0.5542, allocations: 251.3 kB / 434.9 MB, free: 1.422 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.5543, allocations: 30.56 kB / 435 MB, free: 1.383 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.913e-06/0.5543, allocations: 288 / 435 MB, free: 1.383 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003313/0.5546, allocations: 89.61 kB / 435 MB, free: 1.289 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.5547, allocations: 51.41 kB / 435.1 MB, free: 1.227 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.336e-05/0.5548, allocations: 85.22 kB / 435.2 MB, free: 1.137 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.5548, allocations: 25.7 kB / 435.2 MB, free: 1.105 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.263e-05/0.5548, allocations: 84.08 kB / 435.3 MB, free: 1.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.296e-05/0.5549, allocations: 35.45 kB / 435.3 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.261e-06/0.5549, allocations: 0 / 435.3 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.5551, allocations: 322.9 kB / 435.6 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.354e-05/0.5551, allocations: 19.94 kB / 435.7 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.974e-05/0.5552, allocations: 12 kB / 435.7 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.5553, allocations: 28.2 kB / 435.7 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5553, allocations: 0 / 435.7 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002544/0.5556, allocations: 81.61 kB / 435.8 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.5556, allocations: 8 kB / 435.8 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.5557, allocations: 0 / 435.8 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.5557, allocations: 0 / 435.8 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.5558, allocations: 15.98 kB / 435.8 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.5559, allocations: 0 / 435.8 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.88e-05/0.5559, allocations: 8 kB / 435.8 MB, free: 496 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.5559, allocations: 0 / 435.8 MB, free: 496 kB / 362.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 (10): * Single equations (assignments): 10 * 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.484e-05/0.556, allocations: 104.9 kB / 435.9 MB, free: 384 kB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002483/0.5563, allocations: 89.52 kB / 436 MB, free: 288 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/0.5563, allocations: 4 kB / 436 MB, free: 284 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003274/0.5566, allocations: 94 kB / 436.1 MB, free: 184 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.5567, allocations: 8 kB / 436.1 MB, free: 176 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.5567, allocations: 0 / 436.1 MB, free: 176 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5567, allocations: 4 kB / 436.1 MB, free: 172 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.5569, allocations: 158 kB / 436.3 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5569, allocations: 0 / 436.3 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.557, allocations: 12 kB / 436.3 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.096e-06/0.5571, allocations: 4 kB / 436.3 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.5571, allocations: 0 / 436.3 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.5571, allocations: 3.938 kB / 436.3 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5571, allocations: 288 / 436.3 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.5574, allocations: 117 kB / 436.4 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.5575, allocations: 81.02 kB / 436.5 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.5575, allocations: 4 kB / 436.5 MB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.465e-05/0.5575, allocations: 0 / 436.5 MB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.694e-05/0.5576, allocations: 11.94 kB / 436.5 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.5576, allocations: 3.984 kB / 436.5 MB, free: 15.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.185e-05/0.5576, allocations: 79.22 kB / 436.6 MB, free: 15.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5576, allocations: 0 / 436.6 MB, free: 15.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003069/0.558, allocations: 19.94 kB / 436.6 MB, free: 15.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (10): * Single equations (assignments): 10 * 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.0006368/0.5586, allocations: 0.6515 MB / 437.2 MB, free: 14.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001578/0.5588, allocations: 47.94 kB / 437.3 MB, free: 14.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.5588, allocations: 0 / 437.3 MB, free: 14.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.975e-05/0.5589, allocations: 24 kB / 437.3 MB, free: 14.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.559, allocations: 4 kB / 437.3 MB, free: 14.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004766/0.5595, allocations: 131 kB / 437.4 MB, free: 14.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.5598, allocations: 0.6807 MB / 438.1 MB, free: 13.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.227e-05/0.5599, allocations: 7.984 kB / 438.1 MB, free: 13.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.825e-05/0.56, allocations: 15.44 kB / 438.1 MB, free: 13.96 MB / 378.7 MB Notification: Performance of SimCode: time 7.21e-07/0.56, allocations: 0.5625 kB / 438.1 MB, free: 13.96 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03598/0.596, allocations: 1.061 MB / 439.2 MB, free: 12.9 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002809/0.5963, allocations: 138.2 kB / 439.3 MB, free: 12.71 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.209/2.805, allocations: 0 / 439.3 MB, free: 12.71 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat does not exist to compare? outputFormat=mat