Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestUtilities_TestRegFunctions",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.968/2.968, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.485e-05/2.514e-05, allocations: 0 / 299.5 MB, free: 216 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4491/0.4492, allocations: 54.86 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1795/0.6287, allocations: 78.52 MB / 432.9 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/0.6291, allocations: 63.95 kB / 433 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004982/0.6341, allocations: 0.8924 MB / 433.9 MB, free: 15.6 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.6342, allocations: 0 / 433.9 MB, free: 15.6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.6342, allocations: 0 / 433.9 MB, free: 15.6 MB / 378.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.0003579/0.6346, allocations: 347.1 kB / 434.2 MB, free: 15.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.348e-05/0.6346, allocations: 8.031 kB / 434.2 MB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.711e-05/0.6347, allocations: 38.55 kB / 434.3 MB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.809e-05/0.6348, allocations: 11.95 kB / 434.3 MB, free: 15.15 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.6349, allocations: 167 kB / 434.4 MB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.635, allocations: 4 kB / 434.4 MB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.635, allocations: 0 / 434.4 MB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001939/0.6352, allocations: 51.95 kB / 434.5 MB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.6354, allocations: 49.69 kB / 434.5 MB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.6354, allocations: 0 / 434.5 MB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.6355, allocations: 3.984 kB / 434.6 MB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.6355, allocations: 7.891 kB / 434.6 MB, free: 14.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002338/0.6357, allocations: 150.1 kB / 434.7 MB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.636, allocations: 62.58 kB / 434.8 MB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.817e-05/0.636, allocations: 20.86 kB / 434.8 MB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005128/0.6366, allocations: 267.3 kB / 435 MB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.6366, allocations: 30.56 kB / 435.1 MB, free: 14.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.895e-06/0.6366, allocations: 0 / 435.1 MB, free: 14.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004588/0.6371, allocations: 77.89 kB / 435.2 MB, free: 14.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.6372, allocations: 55.41 kB / 435.2 MB, free: 14.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.484e-05/0.6373, allocations: 89 kB / 435.3 MB, free: 13.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.6373, allocations: 25.92 kB / 435.3 MB, free: 13.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.06e-05/0.6374, allocations: 84.27 kB / 435.4 MB, free: 13.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.625e-05/0.6374, allocations: 39.39 kB / 435.4 MB, free: 13.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-06/0.6375, allocations: 0 / 435.4 MB, free: 13.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.6376, allocations: 318.8 kB / 435.8 MB, free: 13.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.63e-05/0.6377, allocations: 12 kB / 435.8 MB, free: 13.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.019e-05/0.6378, allocations: 15.94 kB / 435.8 MB, free: 13.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.638, allocations: 31.97 kB / 435.8 MB, free: 13.42 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.638, allocations: 0 / 435.8 MB, free: 13.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003507/0.6384, allocations: 73.95 kB / 435.9 MB, free: 13.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.6384, allocations: 8 kB / 435.9 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.6384, allocations: 4 kB / 435.9 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.6385, allocations: 4.031 kB / 435.9 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.6387, allocations: 15.94 kB / 435.9 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.6387, allocations: 0 / 435.9 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.068e-05/0.6388, allocations: 0 / 435.9 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.6388, allocations: 8 kB / 435.9 MB, free: 13.3 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 (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 0.0001037/0.6389, allocations: 108.9 kB / 436 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.639, allocations: 7.906 kB / 436 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004623/0.6394, allocations: 94 kB / 436.1 MB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.6395, allocations: 4 kB / 436.1 MB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.6395, allocations: 0 / 436.1 MB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.6395, allocations: 0 / 436.1 MB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.6397, allocations: 150.1 kB / 436.3 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.6397, allocations: 0 / 436.3 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.6399, allocations: 20 kB / 436.3 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.6399, allocations: 3.984 kB / 436.3 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.64, allocations: 3.938 kB / 436.3 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.175e-06/0.64, allocations: 0 / 436.3 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.768e-06/0.64, allocations: 4 kB / 436.3 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003718/0.6404, allocations: 105 kB / 436.4 MB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.576e-05/0.6405, allocations: 85.06 kB / 436.5 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.6405, allocations: 0 / 436.5 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.188e-05/0.6406, allocations: 0 / 436.5 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/0.6406, allocations: 11.92 kB / 436.5 MB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.6406, allocations: 4 kB / 436.5 MB, free: 12.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.383e-05/0.6407, allocations: 83.28 kB / 436.6 MB, free: 12.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.396e-06/0.6407, allocations: 0 / 436.6 MB, free: 12.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003644/0.6411, allocations: 19.88 kB / 436.6 MB, free: 12.52 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.0008058/0.6419, allocations: 0.6593 MB / 437.3 MB, free: 11.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.6421, allocations: 48.03 kB / 437.3 MB, free: 11.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.6422, allocations: 4 kB / 437.3 MB, free: 11.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.443e-05/0.6422, allocations: 27.98 kB / 437.3 MB, free: 11.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.6424, allocations: 0 / 437.3 MB, free: 11.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005957/0.643, allocations: 125 kB / 437.5 MB, free: 11.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.6434, allocations: 0.6846 MB / 438.2 MB, free: 10.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.651e-05/0.6435, allocations: 8 kB / 438.2 MB, free: 10.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.202e-05/0.6436, allocations: 15.42 kB / 438.2 MB, free: 10.86 MB / 378.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6436, allocations: 0 / 438.2 MB, free: 10.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05587/0.6995, allocations: 1.073 MB / 439.3 MB, free: 9.801 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003973/0.6999, allocations: 163.1 kB / 439.4 MB, free: 9.594 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.147/3.847, allocations: 0 / 439.4 MB, free: 9.594 MB / 378.7 MB "" Variables in the reference:time,x,sqrtx,sqrtx_a,x2,x2_a,x3,x3_a,sqrtxerr,x2err,x3err Variables in the result:delta,sqrtx,sqrtx_a,sqrtxerr,time,x,x2,x2_a,x2err,x3,x3_a,x3err