Running command: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadModel(Buildings): time 4.316/4.316, allocations: 464.7 MB / 476.8 MB, free: 2.098 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.043e-05/3.061e-05, allocations: 4 kB / 0.5731 GB, free: 5.723 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2432, allocations: 107.2 MB / 0.6777 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.006/6.249, allocations: 2.208 GB / 2.886 GB, free: 257.4 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/6.25, allocations: 70.69 kB / 2.886 GB, free: 257.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.08826/6.338, allocations: 29.58 MB / 2.915 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.333e-06/6.338, allocations: 0 / 2.915 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.755e-06/6.338, allocations: 0 / 2.915 GB, free: 235.5 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003427/6.338, allocations: 380.2 kB / 2.915 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/6.338, allocations: 8.031 kB / 2.915 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000461/6.339, allocations: 39.81 kB / 2.915 GB, free: 235 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.204e-05/6.339, allocations: 175 kB / 2.915 GB, free: 234.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/6.339, allocations: 3.812 kB / 2.915 GB, free: 234.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/6.339, allocations: 11.56 kB / 2.915 GB, free: 234.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/6.339, allocations: 65.7 kB / 2.915 GB, free: 234.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/6.339, allocations: 4 kB / 2.915 GB, free: 234.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/6.339, allocations: 0 / 2.915 GB, free: 234.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.607e-06/6.339, allocations: 7.938 kB / 2.915 GB, free: 234.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/6.339, allocations: 42.97 kB / 2.915 GB, free: 234.7 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002589/6.34, allocations: 187.9 kB / 2.916 GB, free: 234.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/6.34, allocations: 77.34 kB / 2.916 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.78e-05/6.34, allocations: 28.67 kB / 2.916 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000205/6.34, allocations: 185.9 kB / 2.916 GB, free: 234.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/6.34, allocations: 30.56 kB / 2.916 GB, free: 234.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=12): time 2.593e-06/6.34, allocations: 3.938 kB / 2.916 GB, free: 234.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.001373/6.342, allocations: 0.512 MB / 2.916 GB, free: 233.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/6.342, allocations: 55.39 kB / 2.916 GB, free: 233.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.015e-05/6.342, allocations: 92.56 kB / 2.917 GB, free: 233.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/6.342, allocations: 29.58 kB / 2.917 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 1.923e-05/6.342, allocations: 84.52 kB / 2.917 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.012e-05/6.342, allocations: 62.89 kB / 2.917 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.286e-06/6.342, allocations: 3.688 kB / 2.917 GB, free: 233.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.07e-05/6.342, allocations: 326.8 kB / 2.917 GB, free: 233 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.878e-05/6.342, allocations: 34.75 kB / 2.917 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.353e-05/6.342, allocations: 62.98 kB / 2.917 GB, free: 232.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.928e-05/6.342, allocations: 46.28 kB / 2.917 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/6.342, allocations: 0 / 2.917 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002666/6.343, allocations: 154.4 kB / 2.917 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/6.343, allocations: 8 kB / 2.917 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.234e-06/6.343, allocations: 4 kB / 2.917 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/6.343, allocations: 4 kB / 2.917 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/6.343, allocations: 31.98 kB / 2.917 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.974e-06/6.343, allocations: 4 kB / 2.917 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.627e-05/6.343, allocations: 7.5 kB / 2.917 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/6.343, allocations: 11.06 kB / 2.917 GB, free: 232.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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 6.468e-05/6.343, allocations: 120.2 kB / 2.917 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/6.343, allocations: 4 kB / 2.918 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.568e-05/6.343, allocations: 19.22 kB / 2.918 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.113e-06/6.343, allocations: 0 / 2.918 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/6.343, allocations: 7.984 kB / 2.918 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.065e-06/6.343, allocations: 0 / 2.918 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/6.343, allocations: 193.3 kB / 2.918 GB, free: 232.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.316e-06/6.343, allocations: 4 kB / 2.918 GB, free: 232.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/6.344, allocations: 39.17 kB / 2.918 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.446e-06/6.344, allocations: 4 kB / 2.918 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/6.344, allocations: 3.688 kB / 2.918 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/6.344, allocations: 0 / 2.918 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.499e-06/6.344, allocations: 0 / 2.918 GB, free: 232.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/6.344, allocations: 211.6 kB / 2.918 GB, free: 232.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.595e-05/6.344, allocations: 93 kB / 2.918 GB, free: 231.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/6.344, allocations: 3.688 kB / 2.918 GB, free: 231.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/6.344, allocations: 7.125 kB / 2.918 GB, free: 231.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-05/6.344, allocations: 11.92 kB / 2.918 GB, free: 231.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/6.344, allocations: 11.98 kB / 2.918 GB, free: 231.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.517e-05/6.344, allocations: 83.28 kB / 2.918 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.75e-07/6.344, allocations: 0 / 2.918 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004194/6.345, allocations: 68.98 kB / 2.918 GB, free: 231.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0006571/6.345, allocations: 0.5753 MB / 2.919 GB, free: 231.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002295/6.346, allocations: 97.38 kB / 2.919 GB, free: 231.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.454e-06/6.346, allocations: 0 / 2.919 GB, free: 231.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.801e-05/6.346, allocations: 54.8 kB / 2.919 GB, free: 231.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001907/6.346, allocations: 7.375 kB / 2.919 GB, free: 231.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007416/6.347, allocations: 457.7 kB / 2.919 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/6.347, allocations: 0.7011 MB / 2.92 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001939/6.347, allocations: 32.73 kB / 2.92 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.201e-05/6.347, allocations: 19.38 kB / 2.92 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.515e-06/6.347, allocations: 0 / 2.92 GB, free: 229.9 MB / 0.8855 GB Notification: Performance of Templates: time 0.01659/6.364, allocations: 9.785 MB / 2.93 GB, free: 220.1 MB / 0.8855 GB