Running command: translateModel(Buildings.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadModel(Buildings): time 3.793/3.793, allocations: 432.7 MB / 444.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.191e-05/3.201e-05, allocations: 3.875 kB / 0.5337 GB, free: 12.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1954, allocations: 98.72 MB / 0.6301 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.195/0.3904, allocations: 126.4 MB / 0.7536 GB, free: 7.66 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.3907, allocations: 79.95 kB / 0.7536 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01459/0.4053, allocations: 2.552 MB / 0.7561 GB, free: 5 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.449e-06/0.4054, allocations: 0 / 0.7561 GB, free: 5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.729e-05/0.4054, allocations: 4 kB / 0.7561 GB, free: 4.996 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.0008768/0.4063, allocations: 0.4932 MB / 0.7566 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.4064, allocations: 12.03 kB / 0.7566 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.4065, allocations: 19.81 kB / 0.7566 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004962/0.407, allocations: 222.7 kB / 0.7569 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.4071, allocations: 12 kB / 0.7569 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.27e-05/0.4072, allocations: 8 kB / 0.7569 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003855/0.4076, allocations: 93.59 kB / 0.757 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.4076, allocations: 0 / 0.757 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.793e-05/0.4076, allocations: 0 / 0.757 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.4077, allocations: 7.984 kB / 0.757 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002651/0.408, allocations: 47.92 kB / 0.757 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.4093, allocations: 396.6 kB / 0.7574 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.4096, allocations: 66.66 kB / 0.7575 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002635/0.4099, allocations: 64.78 kB / 0.7575 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.4099, allocations: 0 / 0.7575 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004337/0.4104, allocations: 158.9 kB / 0.7577 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 4.576e-06/0.4104, allocations: 4 kB / 0.7577 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.001019/0.4115, allocations: 252.7 kB / 0.7579 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001687/0.4117, allocations: 166.2 kB / 0.7581 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.412, allocations: 161.8 kB / 0.7582 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.643e-05/0.4121, allocations: 25.7 kB / 0.7582 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.4123, allocations: 108.4 kB / 0.7584 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.596e-05/0.4124, allocations: 27.61 kB / 0.7584 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.4124, allocations: 4 kB / 0.7584 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002432/0.4127, allocations: 330.8 kB / 0.7587 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.4129, allocations: 35.98 kB / 0.7587 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/0.4132, allocations: 82.86 kB / 0.7588 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.4136, allocations: 158.7 kB / 0.759 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.125e-06/0.4136, allocations: 0 / 0.759 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.001043/0.4147, allocations: 296.2 kB / 0.7592 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001394/0.4148, allocations: 119 kB / 0.7594 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.4149, allocations: 0 / 0.7594 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/0.4149, allocations: 4 kB / 0.7594 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/0.4152, allocations: 19.98 kB / 0.7594 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.387e-05/0.4152, allocations: 3.953 kB / 0.7594 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/0.4155, allocations: 31.72 kB / 0.7594 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.115e-05/0.4156, allocations: 4 kB / 0.7594 GB, free: 1.227 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.0002648/0.4159, allocations: 176.4 kB / 0.7596 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.47e-05/0.416, allocations: 19.75 kB / 0.7596 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.596e-05/0.4161, allocations: 21.52 kB / 0.7596 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.424e-06/0.4161, allocations: 0 / 0.7596 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.109e-06/0.4161, allocations: 0 / 0.7596 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.4161, allocations: 7.953 kB / 0.7596 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.4176, allocations: 0.533 MB / 0.7602 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.478e-06/0.4176, allocations: 0 / 0.7602 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.4178, allocations: 12 kB / 0.7602 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.24e-06/0.4179, allocations: 0 / 0.7602 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.621e-05/0.4179, allocations: 11.98 kB / 0.7602 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-05/0.418, allocations: 7.953 kB / 0.7602 GB, free: 364 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.418, allocations: 0 / 0.7602 GB, free: 364 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.4191, allocations: 346.8 kB / 0.7605 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.4192, allocations: 92.86 kB / 0.7606 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.156e-05/0.4193, allocations: 12 kB / 0.7606 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002874/0.4196, allocations: 12 kB / 0.7606 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.891e-05/0.4197, allocations: 11.94 kB / 0.7606 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.026e-05/0.4198, allocations: 4 kB / 0.7606 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002402/0.42, allocations: 132.3 kB / 0.7608 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.479e-06/0.4201, allocations: 0 / 0.7608 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000792/0.4209, allocations: 36 kB / 0.7608 GB, free: 15.68 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.000466/0.4214, allocations: 141.3 kB / 0.7609 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008694/0.4223, allocations: 317.5 kB / 0.7612 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.974e-06/0.4223, allocations: 3.938 kB / 0.7612 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004309/0.4228, allocations: 186.7 kB / 0.7614 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005152/0.4233, allocations: 12.94 kB / 0.7614 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009392/0.4243, allocations: 193.7 kB / 0.7616 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005332/0.4248, allocations: 0.7082 MB / 0.7623 GB, free: 14 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001533/0.425, allocations: 20.53 kB / 0.7623 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.314e-05/0.4251, allocations: 15.42 kB / 0.7623 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of SimCode: time 2.73e-06/0.4251, allocations: 0 / 0.7623 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of Templates: time 0.0101/0.4352, allocations: 1.648 MB / 0.764 GB, free: 12.33 MB / 0.6511 GB