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 4.098/4.098, allocations: 431.3 MB / 445.8 MB, free: 5.457 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.385e-05/3.39e-05, allocations: 2.5 kB / 0.5354 GB, free: 14.88 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6477/0.6478, allocations: 98.7 MB / 0.6318 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.002504/0.6504, allocations: 1.298 MB / 0.6331 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.6516, allocations: 0.5162 MB / 0.6336 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.807e-05/0.6518, allocations: 4 kB / 0.6336 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.6519, allocations: 19.84 kB / 0.6336 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002321/0.6522, allocations: 35.92 kB / 0.6336 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004992/0.6527, allocations: 75.78 kB / 0.6337 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.6528, allocations: 67.86 kB / 0.6338 GB, free: 9.957 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.6529, allocations: 11.98 kB / 0.6338 GB, free: 9.945 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.6531, allocations: 51.91 kB / 0.6338 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.6533, allocations: 59.8 kB / 0.6339 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 9.232e-05/0.6534, allocations: 12 kB / 0.6339 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.688e-05/0.6535, allocations: 4 kB / 0.6339 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 8.678e-05/0.6536, allocations: 23.92 kB / 0.6339 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 9.076e-05/0.6537, allocations: 12 kB / 0.6339 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002297/0.6539, allocations: 106.2 kB / 0.634 GB, free: 9.684 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.6539, allocations: 0 / 0.634 GB, free: 9.684 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.615e-06/0.6539, allocations: 7.875 kB / 0.634 GB, free: 9.676 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.908e-06/0.654, allocations: 0 / 0.634 GB, free: 9.676 MB / 0.5105 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.000758/0.6547, allocations: 0.4993 MB / 0.6345 GB, free: 9.105 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.6548, allocations: 8.031 kB / 0.6345 GB, free: 9.098 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.306e-05/0.6549, allocations: 19.77 kB / 0.6346 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.6553, allocations: 231.2 kB / 0.6348 GB, free: 8.812 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.6553, allocations: 4 kB / 0.6348 GB, free: 8.809 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.235e-05/0.6554, allocations: 12 kB / 0.6348 GB, free: 8.797 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003691/0.6557, allocations: 105.6 kB / 0.6349 GB, free: 8.688 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.6558, allocations: 0 / 0.6349 GB, free: 8.688 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.6558, allocations: 0 / 0.6349 GB, free: 8.688 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.6558, allocations: 0 / 0.6349 GB, free: 8.688 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003179/0.6561, allocations: 79.84 kB / 0.635 GB, free: 8.609 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008591/0.657, allocations: 392.7 kB / 0.6353 GB, free: 8.176 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.6573, allocations: 90.56 kB / 0.6354 GB, free: 8.078 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.6574, allocations: 0 / 0.6354 GB, free: 8.078 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004302/0.6578, allocations: 174.9 kB / 0.6356 GB, free: 7.883 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 4.749e-06/0.6578, allocations: 0 / 0.6356 GB, free: 7.883 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.001167/0.659, allocations: 494.8 kB / 0.6361 GB, free: 7.344 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.6591, allocations: 158.2 kB / 0.6362 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.6594, allocations: 161.8 kB / 0.6364 GB, free: 6.98 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.6594, allocations: 29.7 kB / 0.6364 GB, free: 6.945 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.72e-05/0.6595, allocations: 108.3 kB / 0.6365 GB, free: 6.836 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.558e-05/0.6596, allocations: 27.92 kB / 0.6365 GB, free: 6.809 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/0.6596, allocations: 8 kB / 0.6365 GB, free: 6.801 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.6598, allocations: 322.8 kB / 0.6368 GB, free: 6.477 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002226/0.66, allocations: 55.91 kB / 0.6369 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/0.6603, allocations: 98.77 kB / 0.637 GB, free: 6.301 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003299/0.6607, allocations: 170.8 kB / 0.6372 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.6607, allocations: 0 / 0.6372 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0008509/0.6615, allocations: 332 kB / 0.6375 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001634/0.6617, allocations: 118.8 kB / 0.6376 GB, free: 5.613 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.6617, allocations: 4 kB / 0.6376 GB, free: 5.609 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.6618, allocations: 4 kB / 0.6376 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.662, allocations: 23.92 kB / 0.6376 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.662, allocations: 8.188 kB / 0.6376 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.6622, allocations: 19.92 kB / 0.6376 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.058e-05/0.6622, allocations: 12 kB / 0.6377 GB, free: 5.543 MB / 0.5105 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.0002451/0.6625, allocations: 185.2 kB / 0.6378 GB, free: 5.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/0.6625, allocations: 15.81 kB / 0.6378 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.02e-05/0.6626, allocations: 13.41 kB / 0.6379 GB, free: 5.305 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.6626, allocations: 0 / 0.6379 GB, free: 5.305 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.6626, allocations: 3.953 kB / 0.6379 GB, free: 5.301 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.6626, allocations: 7.984 kB / 0.6379 GB, free: 5.293 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.6638, allocations: 0.5564 MB / 0.6384 GB, free: 4.668 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.6638, allocations: 0 / 0.6384 GB, free: 4.668 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.6639, allocations: 12 kB / 0.6384 GB, free: 4.656 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.664, allocations: 0 / 0.6384 GB, free: 4.656 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/0.664, allocations: 19.92 kB / 0.6384 GB, free: 4.637 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.664, allocations: 7.891 kB / 0.6385 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.664, allocations: 0 / 0.6385 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008398/0.6649, allocations: 378.7 kB / 0.6388 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.36e-05/0.665, allocations: 96.86 kB / 0.6389 GB, free: 4.117 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.925e-05/0.665, allocations: 0 / 0.6389 GB, free: 4.117 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.6652, allocations: 15.98 kB / 0.6389 GB, free: 4.102 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.623e-05/0.6653, allocations: 11.94 kB / 0.6389 GB, free: 4.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.6654, allocations: 7.938 kB / 0.6389 GB, free: 4.082 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001632/0.6655, allocations: 131.2 kB / 0.6391 GB, free: 3.953 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.6e-07/0.6655, allocations: 0 / 0.6391 GB, free: 3.953 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000428/0.666, allocations: 31.98 kB / 0.6391 GB, free: 3.922 MB / 0.5105 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.0003213/0.6663, allocations: 128.7 kB / 0.6392 GB, free: 3.797 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007542/0.6671, allocations: 349.6 kB / 0.6396 GB, free: 3.406 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6671, allocations: 0 / 0.6396 GB, free: 3.406 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003622/0.6675, allocations: 198.7 kB / 0.6397 GB, free: 3.188 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.6678, allocations: 19.92 kB / 0.6398 GB, free: 3.168 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008585/0.6687, allocations: 298.4 kB / 0.64 GB, free: 2.855 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.6691, allocations: 0.716 MB / 0.6407 GB, free: 2.113 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000124/0.6692, allocations: 16.55 kB / 0.6408 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.441e-05/0.6693, allocations: 23.36 kB / 0.6408 GB, free: 2.074 MB / 0.5105 GB Notification: Performance of SimCode: time 1.283e-06/0.6693, allocations: 0 / 0.6408 GB, free: 2.074 MB / 0.5105 GB Notification: Performance of Templates: time 0.00748/0.6768, allocations: 1.675 MB / 0.6424 GB, free: 424 kB / 0.5105 GB