Running command: translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadModel(BuildingSystems): time 3.057/3.057, allocations: 343.8 MB / 355.9 MB, free: 9.379 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.271e-05/3.282e-05, allocations: 4 kB / 436.6 MB, free: 2.477 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1498, allocations: 77.73 MB / 0.5023 GB, free: 4.582 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4977/0.6476, allocations: 106 MB / 0.6057 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.6479, allocations: 79.95 kB / 0.6058 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01069/0.6586, allocations: 2.272 MB / 0.608 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.703e-06/0.6587, allocations: 0 / 0.608 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.6587, allocations: 0 / 0.608 GB, free: 12.79 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004851/0.6592, allocations: 334.5 kB / 0.6084 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.329e-05/0.6593, allocations: 12.03 kB / 0.6084 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.6593, allocations: 3.953 kB / 0.6084 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.6596, allocations: 159.1 kB / 0.6085 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.6596, allocations: 0 / 0.6085 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.6596, allocations: 8 kB / 0.6085 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.6598, allocations: 37.62 kB / 0.6086 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.6598, allocations: 0 / 0.6086 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.6599, allocations: 0 / 0.6086 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.6599, allocations: 4 kB / 0.6086 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.038e-05/0.6599, allocations: 0 / 0.6086 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002926/0.6602, allocations: 157.6 kB / 0.6087 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.816e-05/0.6604, allocations: 26.61 kB / 0.6087 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.985e-05/0.6604, allocations: 8.922 kB / 0.6088 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.6605, allocations: 3.984 kB / 0.6088 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/0.6605, allocations: 30.56 kB / 0.6088 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 6.652e-06/0.6606, allocations: 4 kB / 0.6088 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001833/0.6608, allocations: 37.64 kB / 0.6088 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.6609, allocations: 55.41 kB / 0.6089 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.661, allocations: 89.03 kB / 0.609 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.661, allocations: 25.7 kB / 0.609 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.6611, allocations: 80.14 kB / 0.6091 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.6612, allocations: 15.89 kB / 0.6091 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-06/0.6612, allocations: 0 / 0.6091 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002185/0.6614, allocations: 314.8 kB / 0.6094 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.215e-05/0.6615, allocations: 0 / 0.6094 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.416e-05/0.6615, allocations: 4 kB / 0.6094 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.598e-05/0.6616, allocations: 8.188 kB / 0.6094 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.815e-06/0.6616, allocations: 0 / 0.6094 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001559/0.6618, allocations: 45.58 kB / 0.6094 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.6618, allocations: 6.812 kB / 0.6094 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.735e-06/0.6618, allocations: 3.984 kB / 0.6094 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.6619, allocations: 0 / 0.6094 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.6621, allocations: 8 kB / 0.6095 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006428/0.6628, allocations: 0.5898 MB / 0.61 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.731e-05/0.6628, allocations: 7.969 kB / 0.61 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.888e-06/0.6629, allocations: 0 / 0.61 GB, free: 10.51 MB / 0.4948 GB 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.663, allocations: 105 kB / 0.6101 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.663, allocations: 0 / 0.6101 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/0.6632, allocations: 44.77 kB / 0.6102 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/0.6632, allocations: 4 kB / 0.6102 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.688e-06/0.6633, allocations: 3.984 kB / 0.6102 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.966e-06/0.6633, allocations: 8.078 kB / 0.6102 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.6635, allocations: 149.7 kB / 0.6103 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.026e-06/0.6635, allocations: 4 kB / 0.6103 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.6637, allocations: 11.98 kB / 0.6104 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.68e-06/0.6637, allocations: 3.984 kB / 0.6104 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.518e-06/0.6637, allocations: 0 / 0.6104 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005667/0.6643, allocations: 0.5821 MB / 0.6109 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.691e-06/0.6643, allocations: 4.094 kB / 0.6109 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.6645, allocations: 65.09 kB / 0.611 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.686e-05/0.6646, allocations: 85.02 kB / 0.6111 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.6646, allocations: 0 / 0.6111 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.1e-05/0.6647, allocations: 3.953 kB / 0.6111 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.6647, allocations: 0 / 0.6111 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.638e-06/0.6647, allocations: 0 / 0.6111 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.994e-05/0.6648, allocations: 87.3 kB / 0.6112 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.56e-06/0.6649, allocations: 0 / 0.6112 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005252/0.6654, allocations: 8 kB / 0.6112 GB, free: 9.223 MB / 0.4948 GB 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002667/0.6657, allocations: 117.8 kB / 0.6113 GB, free: 9.102 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002376/0.6659, allocations: 19.98 kB / 0.6113 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.404e-06/0.666, allocations: 0 / 0.6113 GB, free: 9.082 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.6661, allocations: 16.08 kB / 0.6113 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.6663, allocations: 8 kB / 0.6113 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000229/0.6666, allocations: 49.62 kB / 0.6114 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/0.667, allocations: 0.677 MB / 0.612 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.595e-05/0.6671, allocations: 0 / 0.612 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.368e-05/0.6671, allocations: 11.44 kB / 0.612 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of SimCode: time 1.66e-06/0.6672, allocations: 0 / 0.612 GB, free: 8.273 MB / 0.4948 GB Notification: Performance of Templates: time 0.004167/0.6713, allocations: 431.9 kB / 0.6125 GB, free: 7.855 MB / 0.4948 GB