Running command: translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadModel(BuildingSystems): time 2.966/2.966, allocations: 343.8 MB / 355.9 MB, free: 9.371 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.198e-05/3.2e-05, allocations: 4 kB / 436.6 MB, free: 2.465 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1655, allocations: 77.73 MB / 0.5023 GB, free: 4.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6823/0.8478, allocations: 107.7 MB / 0.6074 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.8481, allocations: 79.95 kB / 0.6075 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02075/0.8689, allocations: 4.983 MB / 0.6124 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.274e-06/0.8689, allocations: 0 / 0.6124 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.869, allocations: 3.938 kB / 0.6124 GB, free: 8.285 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006843/0.8697, allocations: 0.5173 MB / 0.6129 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.8697, allocations: 8.031 kB / 0.6129 GB, free: 7.691 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.876e-05/0.8698, allocations: 15.91 kB / 0.6129 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003853/0.8702, allocations: 240.6 kB / 0.6132 GB, free: 7.402 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.8702, allocations: 15.94 kB / 0.6132 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.946e-05/0.8703, allocations: 8 kB / 0.6132 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.8706, allocations: 101.6 kB / 0.6133 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.236e-06/0.8706, allocations: 0 / 0.6133 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.8706, allocations: 8 kB / 0.6133 GB, free: 7.266 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.437e-06/0.8707, allocations: 0 / 0.6133 GB, free: 7.266 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.8708, allocations: 51.98 kB / 0.6133 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008414/0.8717, allocations: 424.6 kB / 0.6137 GB, free: 6.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.8719, allocations: 78.56 kB / 0.6138 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.8721, allocations: 64.94 kB / 0.6139 GB, free: 6.598 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.736e-05/0.8722, allocations: 11.98 kB / 0.6139 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002916/0.8725, allocations: 166.8 kB / 0.614 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 2.798e-06/0.8725, allocations: 0 / 0.614 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0006621/0.8732, allocations: 276.8 kB / 0.6143 GB, free: 6.109 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/0.8733, allocations: 170.2 kB / 0.6145 GB, free: 5.906 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.8735, allocations: 153.8 kB / 0.6146 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/0.8736, allocations: 33.7 kB / 0.6146 GB, free: 5.703 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.8737, allocations: 116.2 kB / 0.6148 GB, free: 5.582 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.8738, allocations: 27.64 kB / 0.6148 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.727e-05/0.8738, allocations: 4 kB / 0.6148 GB, free: 5.551 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.874, allocations: 326.8 kB / 0.6151 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.8741, allocations: 39.98 kB / 0.6151 GB, free: 5.184 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.8743, allocations: 90.86 kB / 0.6152 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.8746, allocations: 170.8 kB / 0.6154 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.344e-06/0.8746, allocations: 0 / 0.6154 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006594/0.8753, allocations: 324.1 kB / 0.6157 GB, free: 4.531 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.8754, allocations: 119.4 kB / 0.6158 GB, free: 4.391 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.366e-06/0.8754, allocations: 0 / 0.6158 GB, free: 4.391 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.8755, allocations: 4 kB / 0.6158 GB, free: 4.387 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.8756, allocations: 24.23 kB / 0.6158 GB, free: 4.363 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.8756, allocations: 7.891 kB / 0.6158 GB, free: 4.355 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.8758, allocations: 16 kB / 0.6159 GB, free: 4.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.8758, allocations: 8 kB / 0.6159 GB, free: 4.332 MB / 0.4948 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.0001828/0.876, allocations: 182.3 kB / 0.616 GB, free: 4.137 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.704e-05/0.8761, allocations: 19.81 kB / 0.6161 GB, free: 4.117 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.014e-05/0.8762, allocations: 17.52 kB / 0.6161 GB, free: 4.098 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.8762, allocations: 4 kB / 0.6161 GB, free: 4.094 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.966e-06/0.8762, allocations: 0 / 0.6161 GB, free: 4.094 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.8762, allocations: 3.953 kB / 0.6161 GB, free: 4.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009417/0.8771, allocations: 0.5642 MB / 0.6166 GB, free: 3.457 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.223e-06/0.8772, allocations: 0 / 0.6166 GB, free: 3.457 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.984e-05/0.8773, allocations: 15.92 kB / 0.6166 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.8773, allocations: 0 / 0.6166 GB, free: 3.441 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-05/0.8773, allocations: 8 kB / 0.6167 GB, free: 3.434 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.963e-06/0.8774, allocations: 7.953 kB / 0.6167 GB, free: 3.426 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.737e-06/0.8774, allocations: 0 / 0.6167 GB, free: 3.426 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006893/0.8781, allocations: 382.6 kB / 0.617 GB, free: 3.023 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-05/0.8782, allocations: 89 kB / 0.6171 GB, free: 2.918 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.824e-05/0.8782, allocations: 4 kB / 0.6171 GB, free: 2.914 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.8784, allocations: 12 kB / 0.6171 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/0.8785, allocations: 15.94 kB / 0.6171 GB, free: 2.887 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.8785, allocations: 11.98 kB / 0.6172 GB, free: 2.875 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001491/0.8787, allocations: 128.3 kB / 0.6173 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.41e-07/0.8787, allocations: 0 / 0.6173 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004205/0.8791, allocations: 43.91 kB / 0.6173 GB, free: 2.707 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: 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.0003011/0.8794, allocations: 145.1 kB / 0.6175 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005423/0.88, allocations: 333.5 kB / 0.6178 GB, free: 2.191 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.88, allocations: 0 / 0.6178 GB, free: 2.191 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002854/0.8803, allocations: 194.8 kB / 0.618 GB, free: 1.977 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.8806, allocations: 22.84 kB / 0.618 GB, free: 1.953 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006234/0.8812, allocations: 206.2 kB / 0.6182 GB, free: 1.73 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.8817, allocations: 0.7082 MB / 0.6189 GB, free: 0.9961 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.608e-05/0.8818, allocations: 24.47 kB / 0.6189 GB, free: 0.9727 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.8818, allocations: 11.44 kB / 0.6189 GB, free: 0.9609 MB / 0.4948 GB Notification: Performance of SimCode: time 1.398e-06/0.8818, allocations: 0 / 0.6189 GB, free: 0.9609 MB / 0.4948 GB Notification: Performance of Templates: time 0.006696/0.8885, allocations: 1.915 MB / 0.6208 GB, free: 15.07 MB / 0.5105 GB