Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.999/1.999, allocations: 209.4 MB / 216.5 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.332e-05/2.352e-05, allocations: 0 / 267.6 MB, free: 4.941 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.108, allocations: 48.7 MB / 316.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4412/0.5493, allocations: 72.36 MB / 388.7 MB, free: 4.016 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.5496, allocations: 66.75 kB / 388.8 MB, free: 3.977 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003806/0.5534, allocations: 0.8967 MB / 389.7 MB, free: 3.184 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5534, allocations: 4 kB / 389.7 MB, free: 3.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.5535, allocations: 3.312 kB / 389.7 MB, free: 3.18 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003181/0.5538, allocations: 333.9 kB / 390 MB, free: 2.812 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.5539, allocations: 11.97 kB / 390 MB, free: 2.801 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/0.5539, allocations: 4 kB / 390 MB, free: 2.797 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.5541, allocations: 167.8 kB / 390.2 MB, free: 2.594 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.5541, allocations: 3.984 kB / 390.2 MB, free: 2.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.5541, allocations: 4 kB / 390.2 MB, free: 2.586 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001468/0.5543, allocations: 42.59 kB / 390.2 MB, free: 2.551 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.5544, allocations: 59.56 kB / 390.3 MB, free: 2.492 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.5544, allocations: 0 / 390.3 MB, free: 2.492 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.5544, allocations: 4 kB / 390.3 MB, free: 2.488 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.5545, allocations: 0 / 390.3 MB, free: 2.488 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002026/0.5547, allocations: 145.9 kB / 390.4 MB, free: 2.316 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.5548, allocations: 71.64 kB / 390.5 MB, free: 2.254 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.098e-05/0.5549, allocations: 24.97 kB / 390.5 MB, free: 2.234 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004134/0.5553, allocations: 251.3 kB / 390.8 MB, free: 1.934 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.749e-05/0.5554, allocations: 38.55 kB / 390.8 MB, free: 1.887 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.903e-06/0.5554, allocations: 0 / 390.8 MB, free: 1.887 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003572/0.5558, allocations: 76.84 kB / 390.9 MB, free: 1.816 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.5558, allocations: 51.41 kB / 390.9 MB, free: 1.754 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.836e-05/0.5559, allocations: 96.73 kB / 391 MB, free: 1.656 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.556, allocations: 29.83 kB / 391 MB, free: 1.621 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.547e-05/0.556, allocations: 80.14 kB / 391.1 MB, free: 1.539 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.172e-05/0.5561, allocations: 30.62 kB / 391.2 MB, free: 1.512 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.316e-06/0.5561, allocations: 0 / 391.2 MB, free: 1.512 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.5562, allocations: 318.8 kB / 391.5 MB, free: 1.191 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.593e-05/0.5563, allocations: 23.06 kB / 391.5 MB, free: 1.176 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.982e-05/0.5563, allocations: 11.19 kB / 391.5 MB, free: 1.168 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.5565, allocations: 19.92 kB / 391.5 MB, free: 1.152 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5565, allocations: 0 / 391.5 MB, free: 1.152 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002677/0.5568, allocations: 99.64 kB / 391.6 MB, free: 1.059 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.5568, allocations: 6.344 kB / 391.6 MB, free: 1.055 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.5568, allocations: 0 / 391.6 MB, free: 1.055 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.5569, allocations: 0 / 391.6 MB, free: 1.055 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.557, allocations: 23.05 kB / 391.6 MB, free: 1.035 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.557, allocations: 0 / 391.6 MB, free: 1.035 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.93e-05/0.5571, allocations: 3.906 kB / 391.6 MB, free: 1.031 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.5571, allocations: 4 kB / 391.6 MB, free: 1.027 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 (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.254e-05/0.5572, allocations: 101 kB / 391.7 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002432/0.5575, allocations: 91.19 kB / 391.8 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/0.5575, allocations: 0 / 391.8 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003238/0.5578, allocations: 103.1 kB / 391.9 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.5578, allocations: 0 / 391.9 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5579, allocations: 0 / 391.9 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.5579, allocations: 0 / 391.9 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.558, allocations: 146.2 kB / 392.1 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.558, allocations: 4 kB / 392.1 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.5582, allocations: 15.98 kB / 392.1 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.5582, allocations: 3.953 kB / 392.1 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.5582, allocations: 4 kB / 392.1 MB, free: 0.543 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.5582, allocations: 4 kB / 392.1 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.5582, allocations: 7.938 kB / 392.1 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.5585, allocations: 111.5 kB / 392.2 MB, free: 428 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.437e-05/0.5586, allocations: 81.09 kB / 392.3 MB, free: 328 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.5586, allocations: 4.047 kB / 392.3 MB, free: 324 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.489e-05/0.5587, allocations: 3.938 kB / 392.3 MB, free: 320 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.5587, allocations: 11.94 kB / 392.3 MB, free: 308 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.5587, allocations: 7.438 kB / 392.3 MB, free: 304 kB / 314.7 MB Notification: Performance of sorting global known variables: time 3.696e-05/0.5588, allocations: 75.28 kB / 392.4 MB, free: 228 kB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5588, allocations: 0 / 392.4 MB, free: 228 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002767/0.5591, allocations: 19.92 kB / 392.4 MB, free: 208 kB / 314.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.0007002/0.5598, allocations: 0.6528 MB / 393.1 MB, free: 15.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001571/0.5599, allocations: 45.94 kB / 393.1 MB, free: 15.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.56, allocations: 0 / 393.1 MB, free: 15.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.344e-05/0.56, allocations: 27.38 kB / 393.2 MB, free: 15.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.5602, allocations: 3.953 kB / 393.2 MB, free: 15.48 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004842/0.5607, allocations: 132.3 kB / 393.3 MB, free: 15.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.561, allocations: 0.6846 MB / 394 MB, free: 14.61 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.342e-05/0.561, allocations: 11.98 kB / 394 MB, free: 14.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.665e-05/0.5611, allocations: 15.38 kB / 394 MB, free: 14.58 MB / 330.7 MB Notification: Performance of SimCode: time 6.61e-07/0.5611, allocations: 0 / 394 MB, free: 14.58 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03786/0.599, allocations: 1.052 MB / 395 MB, free: 13.53 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003853/0.5994, allocations: 145.9 kB / 395.2 MB, free: 13.34 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.317/2.917, allocations: 0 / 395.2 MB, free: 13.34 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat does not exist to compare? outputFormat=mat