Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadModel(Buildings): time 4.094/4.094, allocations: 460.5 MB / 472.6 MB, free: 5.375 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.037e-05/3.045e-05, allocations: 2.672 kB / 0.5681 GB, free: 10.17 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1959, allocations: 106.2 MB / 0.6718 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7095/0.9054, allocations: 133.5 MB / 0.8022 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.9057, allocations: 80.38 kB / 0.8023 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01873/0.9245, allocations: 4.983 MB / 0.8072 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.046e-06/0.9245, allocations: 3.938 kB / 0.8072 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.688e-05/0.9246, allocations: 3.969 kB / 0.8072 GB, free: 12.49 MB / 0.6355 GB 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.00049/0.9251, allocations: 0.517 MB / 0.8077 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.9251, allocations: 7.656 kB / 0.8077 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.488e-05/0.9252, allocations: 27.17 kB / 0.8077 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.9255, allocations: 224 kB / 0.8079 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.9255, allocations: 7.375 kB / 0.808 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.98e-05/0.9256, allocations: 11.59 kB / 0.808 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.9258, allocations: 109.1 kB / 0.8081 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.9258, allocations: 0 / 0.8081 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.9259, allocations: 3.844 kB / 0.8081 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.9259, allocations: 4 kB / 0.8081 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.9261, allocations: 51.61 kB / 0.8081 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007325/0.9268, allocations: 431.8 kB / 0.8085 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.927, allocations: 83.86 kB / 0.8086 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.9272, allocations: 65.2 kB / 0.8087 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.9272, allocations: 0 / 0.8087 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000228/0.9274, allocations: 170.9 kB / 0.8088 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.96e-06/0.9275, allocations: 0 / 0.8088 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0005712/0.928, allocations: 273.9 kB / 0.8091 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/0.9281, allocations: 167.9 kB / 0.8093 GB, free: 11 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.9283, allocations: 159.7 kB / 0.8094 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.9283, allocations: 32.67 kB / 0.8094 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.881e-05/0.9284, allocations: 105.7 kB / 0.8095 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.9284, allocations: 33.56 kB / 0.8096 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.632e-05/0.9285, allocations: 7.156 kB / 0.8096 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.874e-05/0.9286, allocations: 326.8 kB / 0.8099 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.9287, allocations: 37.95 kB / 0.8099 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.9288, allocations: 97.69 kB / 0.81 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.929, allocations: 168.9 kB / 0.8102 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.233e-06/0.929, allocations: 0 / 0.8102 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005216/0.9296, allocations: 315.7 kB / 0.8105 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.768e-05/0.9296, allocations: 121.2 kB / 0.8106 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.361e-06/0.9296, allocations: 0 / 0.8106 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.9297, allocations: 6.516 kB / 0.8106 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.9298, allocations: 30.89 kB / 0.8106 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.59e-06/0.9299, allocations: 0 / 0.8106 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.93, allocations: 18.44 kB / 0.8107 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/0.9301, allocations: 11.59 kB / 0.8107 GB, free: 9.938 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.combiTimeTableWriter.str,combiTimeTableWriter.str,$PRE.csvWriter.str,csvWriter.str,$whenCondition2,combiTimeTableWriter.sampleTrigger,$whenCondition1,csvWriter.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 4 * 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.0001214/0.9302, allocations: 175.8 kB / 0.8108 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/0.9303, allocations: 15.5 kB / 0.8109 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.652e-05/0.9303, allocations: 20.08 kB / 0.8109 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.207e-06/0.9303, allocations: 0 / 0.8109 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.07e-06/0.9304, allocations: 15.77 kB / 0.8109 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.374e-06/0.9304, allocations: 0 / 0.8109 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007565/0.9311, allocations: 0.5581 MB / 0.8114 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.843e-06/0.9312, allocations: 3.938 kB / 0.8114 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.9313, allocations: 18.16 kB / 0.8115 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.681e-06/0.9313, allocations: 0 / 0.8115 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.9313, allocations: 6.406 kB / 0.8115 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.361e-06/0.9313, allocations: 3.953 kB / 0.8115 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.012e-06/0.9313, allocations: 4 kB / 0.8115 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008453/0.9322, allocations: 378.1 kB / 0.8118 GB, free: 25.17 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.393e-05/0.9323, allocations: 91.42 kB / 0.8119 GB, free: 25.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.653e-05/0.9324, allocations: 3.875 kB / 0.8119 GB, free: 25.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.9325, allocations: 14.55 kB / 0.8119 GB, free: 25.07 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.9326, allocations: 17.25 kB / 0.8119 GB, free: 25.06 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.9326, allocations: 7.719 kB / 0.812 GB, free: 25.06 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001352/0.9328, allocations: 127.9 kB / 0.8121 GB, free: 24.98 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.11e-07/0.9328, allocations: 0 / 0.8121 GB, free: 24.98 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004188/0.9332, allocations: 36.75 kB / 0.8121 GB, free: 24.98 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,combiTimeTableWriter.str,combiTimeTableWriter.sampleTrigger,csvWriter.str,csvWriter.sampleTrigger) * Number of discrete states: 4 (combiTimeTableWriter.str,$whenCondition2,csvWriter.str,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0002981/0.9335, allocations: 145.2 kB / 0.8123 GB, free: 24.87 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005119/0.9341, allocations: 333.8 kB / 0.8126 GB, free: 24.62 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.887e-06/0.9341, allocations: 3.938 kB / 0.8126 GB, free: 24.61 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002473/0.9343, allocations: 200.4 kB / 0.8128 GB, free: 24.48 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.9346, allocations: 13.73 kB / 0.8128 GB, free: 24.48 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005642/0.9352, allocations: 203.5 kB / 0.813 GB, free: 24.38 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.9356, allocations: 0.7187 MB / 0.8137 GB, free: 23.68 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.193e-05/0.9357, allocations: 20.36 kB / 0.8137 GB, free: 23.68 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.9358, allocations: 15.09 kB / 0.8137 GB, free: 23.67 MB / 0.6511 GB Notification: Performance of SimCode: time 1.622e-06/0.9358, allocations: 0 / 0.8137 GB, free: 23.67 MB / 0.6511 GB Notification: Performance of Templates: time 0.00624/0.942, allocations: 1.907 MB / 0.8156 GB, free: 23.4 MB / 0.6511 GB