Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadModel(Buildings): time 4.117/4.117, allocations: 464.6 MB / 476.8 MB, free: 2.223 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.021e-05/4.059e-05, allocations: 7.938 kB / 0.5731 GB, free: 5.754 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.199, allocations: 107.2 MB / 0.6778 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7016/0.9006, allocations: 133.9 MB / 0.8085 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.9009, allocations: 75.25 kB / 0.8086 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01841/0.9193, allocations: 4.996 MB / 0.8135 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.518e-06/0.9193, allocations: 0 / 0.8135 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.9194, allocations: 7.781 kB / 0.8135 GB, free: 11.86 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.0004914/0.9199, allocations: 0.516 MB / 0.814 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.9199, allocations: 7.688 kB / 0.814 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.871e-05/0.92, allocations: 19.5 kB / 0.814 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.9203, allocations: 239.1 kB / 0.8143 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.9203, allocations: 3.844 kB / 0.8143 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/0.9204, allocations: 15.16 kB / 0.8143 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.9206, allocations: 103.6 kB / 0.8144 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.757e-06/0.9206, allocations: 0 / 0.8144 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.9207, allocations: 11.47 kB / 0.8144 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.654e-06/0.9207, allocations: 0 / 0.8144 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.9209, allocations: 52.7 kB / 0.8144 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006902/0.9216, allocations: 428.8 kB / 0.8148 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.9218, allocations: 81.86 kB / 0.8149 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.9219, allocations: 60.27 kB / 0.815 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.985e-05/0.922, allocations: 9.812 kB / 0.815 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002437/0.9222, allocations: 166.1 kB / 0.8151 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 3.362e-06/0.9222, allocations: 4 kB / 0.8152 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0005787/0.9228, allocations: 271.4 kB / 0.8154 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.203e-05/0.9229, allocations: 168.4 kB / 0.8156 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.9231, allocations: 153.5 kB / 0.8157 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.9231, allocations: 29.55 kB / 0.8157 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.825e-05/0.9232, allocations: 112.7 kB / 0.8159 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.9232, allocations: 30.22 kB / 0.8159 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.518e-05/0.9232, allocations: 3.875 kB / 0.8159 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.11e-05/0.9233, allocations: 332.9 kB / 0.8162 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.9234, allocations: 39.98 kB / 0.8162 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.9236, allocations: 93.27 kB / 0.8163 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.9238, allocations: 174.9 kB / 0.8165 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.613e-06/0.9238, allocations: 0 / 0.8165 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005147/0.9243, allocations: 318.5 kB / 0.8168 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.67e-05/0.9244, allocations: 117.7 kB / 0.8169 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.554e-06/0.9244, allocations: 6.922 kB / 0.8169 GB, free: 9.316 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.9244, allocations: 7.797 kB / 0.8169 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.9246, allocations: 14.61 kB / 0.8169 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.9e-06/0.9246, allocations: 7.844 kB / 0.8169 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.9248, allocations: 18.5 kB / 0.817 GB, free: 9.305 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.9248, allocations: 10.45 kB / 0.817 GB, free: 9.305 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.0001205/0.9249, allocations: 187.2 kB / 0.8172 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.925, allocations: 15.47 kB / 0.8172 GB, free: 9.121 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.49e-05/0.925, allocations: 12.84 kB / 0.8172 GB, free: 9.109 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.931e-06/0.925, allocations: 0 / 0.8172 GB, free: 9.109 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.474e-06/0.9251, allocations: 3.234 kB / 0.8172 GB, free: 9.109 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.9251, allocations: 3.844 kB / 0.8172 GB, free: 9.109 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007069/0.9258, allocations: 0.5629 MB / 0.8177 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.253e-06/0.9258, allocations: 6.641 kB / 0.8177 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.209e-05/0.9259, allocations: 14.59 kB / 0.8178 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.857e-06/0.9259, allocations: 0 / 0.8178 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.926, allocations: 14.64 kB / 0.8178 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.118e-06/0.926, allocations: 0 / 0.8178 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.923e-06/0.926, allocations: 0 / 0.8178 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008122/0.9268, allocations: 381.4 kB / 0.8181 GB, free: 24.53 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-05/0.9269, allocations: 91 kB / 0.8182 GB, free: 24.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.462e-05/0.927, allocations: 3.969 kB / 0.8182 GB, free: 24.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.9271, allocations: 11.72 kB / 0.8182 GB, free: 24.43 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.9272, allocations: 10.7 kB / 0.8182 GB, free: 24.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.9272, allocations: 10.72 kB / 0.8183 GB, free: 24.43 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001353/0.9274, allocations: 128.3 kB / 0.8184 GB, free: 24.35 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.23e-07/0.9274, allocations: 3.938 kB / 0.8184 GB, free: 24.34 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000413/0.9278, allocations: 34.75 kB / 0.8184 GB, free: 24.34 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.0002927/0.9281, allocations: 144.3 kB / 0.8186 GB, free: 24.24 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005119/0.9287, allocations: 337.4 kB / 0.8189 GB, free: 23.98 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.672e-06/0.9287, allocations: 0 / 0.8189 GB, free: 23.98 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002477/0.9289, allocations: 193.6 kB / 0.8191 GB, free: 23.86 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.9292, allocations: 22.69 kB / 0.8191 GB, free: 23.85 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005492/0.9298, allocations: 220.7 kB / 0.8193 GB, free: 23.74 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.9302, allocations: 0.7071 MB / 0.82 GB, free: 23.04 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.307e-05/0.9303, allocations: 18.5 kB / 0.82 GB, free: 23.04 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.9304, allocations: 18.06 kB / 0.82 GB, free: 23.04 MB / 0.6511 GB Notification: Performance of SimCode: time 1.475e-06/0.9304, allocations: 0 / 0.82 GB, free: 23.04 MB / 0.6511 GB Notification: Performance of Templates: time 0.006103/0.9365, allocations: 1.908 MB / 0.8219 GB, free: 22.76 MB / 0.6511 GB