Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.261/3.261, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.328e-05/2.346e-05, allocations: 0 / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4607/0.4608, allocations: 54.85 MB / 354.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1963/0.6572, allocations: 79.74 MB / 434.1 MB, free: 15.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/0.6576, allocations: 71.91 kB / 434.2 MB, free: 15.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.058/0.7156, allocations: 8.137 MB / 442.4 MB, free: 7.215 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.7157, allocations: 0 / 442.4 MB, free: 7.215 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.7157, allocations: 0 / 442.4 MB, free: 7.215 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004495/0.7161, allocations: 347.1 kB / 442.7 MB, free: 6.832 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/0.7162, allocations: 11.97 kB / 442.7 MB, free: 6.82 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.706e-05/0.7163, allocations: 30.56 kB / 442.7 MB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.7163, allocations: 15.86 kB / 442.7 MB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.7164, allocations: 159.1 kB / 442.9 MB, free: 6.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.7165, allocations: 4 kB / 442.9 MB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.7165, allocations: 0 / 442.9 MB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.043e-05/0.7166, allocations: 4 kB / 442.9 MB, free: 6.562 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.7167, allocations: 33.69 kB / 442.9 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.7167, allocations: 0 / 442.9 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.7168, allocations: 11.92 kB / 443 MB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.7168, allocations: 3.953 kB / 443 MB, free: 6.508 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004146/0.7172, allocations: 221.5 kB / 443.2 MB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.92e-05/0.7173, allocations: 18.58 kB / 443.2 MB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.761e-05/0.7173, allocations: 12.95 kB / 443.2 MB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.7174, allocations: 3.938 kB / 443.2 MB, free: 6.207 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.7174, allocations: 30.56 kB / 443.2 MB, free: 6.168 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.295e-06/0.7174, allocations: 0 / 443.2 MB, free: 6.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002206/0.7176, allocations: 45.59 kB / 443.3 MB, free: 6.117 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.7177, allocations: 51.41 kB / 443.3 MB, free: 6.055 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.7178, allocations: 85 kB / 443.4 MB, free: 5.965 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.7179, allocations: 25.7 kB / 443.4 MB, free: 5.934 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.99e-05/0.7179, allocations: 96.03 kB / 443.5 MB, free: 5.836 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.483e-06/0.7179, allocations: 0 / 443.5 MB, free: 5.836 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.718, allocations: 0 / 443.5 MB, free: 5.836 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.7181, allocations: 311 kB / 443.8 MB, free: 5.523 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.913e-05/0.7181, allocations: 8 kB / 443.8 MB, free: 5.516 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.673e-05/0.7182, allocations: 18.58 kB / 443.9 MB, free: 5.488 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.301e-05/0.7183, allocations: 4 kB / 443.9 MB, free: 5.484 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.7183, allocations: 4 kB / 443.9 MB, free: 5.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001489/0.7184, allocations: 45.62 kB / 443.9 MB, free: 5.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.7185, allocations: 8.094 kB / 443.9 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.7185, allocations: 0 / 443.9 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.7185, allocations: 8 kB / 443.9 MB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.069e-05/0.7186, allocations: 4 kB / 443.9 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.7186, allocations: 3.953 kB / 443.9 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.207e-05/0.7187, allocations: 3.906 kB / 443.9 MB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.7187, allocations: 7.984 kB / 444 MB, free: 5.395 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.76e-05/0.7188, allocations: 101 kB / 444.1 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.7189, allocations: 3.938 kB / 444.1 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001919/0.7191, allocations: 49.41 kB / 444.1 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.7191, allocations: 0 / 444.1 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.7191, allocations: 4 kB / 444.1 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.7191, allocations: 11.88 kB / 444.1 MB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.7193, allocations: 122.2 kB / 444.2 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.7193, allocations: 0 / 444.2 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.302e-06/0.7194, allocations: 0 / 444.2 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.7194, allocations: 4 kB / 444.2 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.7194, allocations: 32 / 444.2 MB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.7194, allocations: 4 kB / 444.2 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.7194, allocations: 0 / 444.2 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.7196, allocations: 143.4 kB / 444.4 MB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.811e-05/0.7197, allocations: 77.11 kB / 444.5 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.7197, allocations: 0 / 444.5 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.992e-05/0.7198, allocations: 4 kB / 444.5 MB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/0.7198, allocations: 0 / 444.5 MB, free: 4.801 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.7199, allocations: 4.031 kB / 444.5 MB, free: 4.797 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.073e-05/0.7199, allocations: 83.27 kB / 444.6 MB, free: 4.715 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.7199, allocations: 0 / 444.6 MB, free: 4.715 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000568/0.7205, allocations: 43.94 kB / 444.6 MB, free: 4.672 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0008765/0.7214, allocations: 0.717 MB / 445.3 MB, free: 3.926 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.7216, allocations: 37.64 kB / 445.4 MB, free: 3.883 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.7216, allocations: 0 / 445.4 MB, free: 3.883 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.585e-05/0.7216, allocations: 33.69 kB / 445.4 MB, free: 3.844 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.7218, allocations: 0 / 445.4 MB, free: 3.844 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005375/0.7224, allocations: 101.1 kB / 445.5 MB, free: 3.707 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.7227, allocations: 0.6729 MB / 446.2 MB, free: 3.008 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.958e-05/0.7228, allocations: 8.234 kB / 446.2 MB, free: 3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.7228, allocations: 11.44 kB / 446.2 MB, free: 2.988 MB / 378.7 MB Notification: Performance of SimCode: time 8.81e-07/0.7228, allocations: 0 / 446.2 MB, free: 2.988 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07786/0.8007, allocations: 1.151 MB / 447.3 MB, free: 1.848 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004103/0.8012, allocations: 149.4 kB / 447.5 MB, free: 1.652 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.082/3.884, allocations: 3.938 kB / 447.5 MB, free: 1.648 MB / 378.7 MB