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.324/4.324, allocations: 458.9 MB / 473.4 MB, free: 11.8 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.218e-05/3.216e-05, allocations: 4.031 kB / 0.5697 GB, free: 9.805 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2239, allocations: 106.2 MB / 0.6734 GB, free: 2.625 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVWriter): time 0.002411/0.2264, allocations: 1.301 MB / 0.6747 GB, free: 1.309 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.2278, allocations: 0.5702 MB / 0.6753 GB, free: 0.7305 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.566e-05/0.2279, allocations: 7.938 kB / 0.6753 GB, free: 0.7227 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.228, allocations: 3.938 kB / 0.6753 GB, free: 0.7188 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.2283, allocations: 43.86 kB / 0.6753 GB, free: 0.6758 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005448/0.2289, allocations: 91.73 kB / 0.6754 GB, free: 0.5859 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.229, allocations: 75.84 kB / 0.6755 GB, free: 0.5117 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 9.77e-05/0.2291, allocations: 12 kB / 0.6755 GB, free: 0.5 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.2293, allocations: 71.81 kB / 0.6756 GB, free: 440 kB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.2295, allocations: 63.8 kB / 0.6756 GB, free: 376 kB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 8.487e-05/0.2296, allocations: 12 kB / 0.6756 GB, free: 364 kB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 4.321e-05/0.2296, allocations: 8 kB / 0.6756 GB, free: 356 kB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 8.464e-05/0.2297, allocations: 23.92 kB / 0.6757 GB, free: 332 kB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 7.529e-05/0.2298, allocations: 19.94 kB / 0.6757 GB, free: 312 kB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.2301, allocations: 116 kB / 0.6758 GB, free: 196 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.2301, allocations: 0 / 0.6758 GB, free: 196 kB / 0.5417 GB Notification: Performance of FrontEnd: time 2.425e-06/0.2301, allocations: 4 kB / 0.6758 GB, free: 192 kB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.2301, allocations: 4 kB / 0.6758 GB, free: 188 kB / 0.5417 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.0007844/0.2309, allocations: 0.498 MB / 0.6763 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.231, allocations: 12.03 kB / 0.6763 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.224e-05/0.2311, allocations: 23.77 kB / 0.6763 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004545/0.2315, allocations: 226.8 kB / 0.6765 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.2316, allocations: 8 kB / 0.6765 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.145e-05/0.2316, allocations: 15.94 kB / 0.6766 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000417/0.2321, allocations: 121.5 kB / 0.6767 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.2321, allocations: 3.984 kB / 0.6767 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.2321, allocations: 4 kB / 0.6767 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.2321, allocations: 0 / 0.6767 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003619/0.2325, allocations: 87.89 kB / 0.6768 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009341/0.2334, allocations: 420.5 kB / 0.6772 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003131/0.2338, allocations: 94.53 kB / 0.6773 GB, free: 14.51 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/0.2338, allocations: 7.984 kB / 0.6773 GB, free: 14.5 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004087/0.2342, allocations: 178.8 kB / 0.6774 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=10): time 2.494e-06/0.2343, allocations: 0 / 0.6774 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=10): time 0.001286/0.2356, allocations: 0.5106 MB / 0.6779 GB, free: 13.74 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.2357, allocations: 170.3 kB / 0.6781 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.2359, allocations: 165.8 kB / 0.6782 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.236, allocations: 29.7 kB / 0.6783 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.2361, allocations: 116.3 kB / 0.6784 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.57e-05/0.2361, allocations: 27.64 kB / 0.6784 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.082e-05/0.2362, allocations: 8 kB / 0.6784 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.2363, allocations: 318.8 kB / 0.6787 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.2366, allocations: 59.95 kB / 0.6788 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.2369, allocations: 106.8 kB / 0.6789 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003351/0.2372, allocations: 178.7 kB / 0.6791 GB, free: 12.47 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2372, allocations: 0 / 0.6791 GB, free: 12.47 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0008915/0.2381, allocations: 352.2 kB / 0.6794 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.2383, allocations: 122.8 kB / 0.6795 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2383, allocations: 0 / 0.6795 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.2383, allocations: 4 kB / 0.6795 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.2385, allocations: 23.88 kB / 0.6795 GB, free: 11.92 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.2385, allocations: 4 kB / 0.6795 GB, free: 11.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.2387, allocations: 12 kB / 0.6795 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.2388, allocations: 11.98 kB / 0.6796 GB, free: 11.89 MB / 0.5573 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.0002349/0.239, allocations: 201.2 kB / 0.6798 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.2391, allocations: 23.75 kB / 0.6798 GB, free: 11.65 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.701e-05/0.2391, allocations: 13.41 kB / 0.6798 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.2391, allocations: 0 / 0.6798 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.2392, allocations: 3.953 kB / 0.6798 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.2392, allocations: 3.984 kB / 0.6798 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.2404, allocations: 0.5838 MB / 0.6804 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2404, allocations: 0 / 0.6804 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.2405, allocations: 19.98 kB / 0.6804 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.2406, allocations: 0 / 0.6804 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-05/0.2406, allocations: 8 kB / 0.6804 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.2406, allocations: 4.234 kB / 0.6804 GB, free: 10.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.2406, allocations: 4 kB / 0.6804 GB, free: 10.94 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009071/0.2415, allocations: 414.5 kB / 0.6808 GB, free: 10.51 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.89e-05/0.2416, allocations: 92.92 kB / 0.6809 GB, free: 10.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.681e-05/0.2417, allocations: 4 kB / 0.6809 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.2419, allocations: 15.98 kB / 0.6809 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.416e-05/0.242, allocations: 15.94 kB / 0.6809 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/0.242, allocations: 8 kB / 0.6809 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001496/0.2422, allocations: 119.2 kB / 0.681 GB, free: 10.24 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.2e-07/0.2422, allocations: 0 / 0.681 GB, free: 10.24 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004015/0.2426, allocations: 43.98 kB / 0.6811 GB, free: 10.2 MB / 0.5573 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.0003075/0.2429, allocations: 140.3 kB / 0.6812 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008124/0.2437, allocations: 369.8 kB / 0.6816 GB, free: 9.652 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.2438, allocations: 4.062 kB / 0.6816 GB, free: 9.648 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003904/0.2442, allocations: 202.8 kB / 0.6818 GB, free: 9.426 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.2445, allocations: 16.17 kB / 0.6818 GB, free: 9.41 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008708/0.2454, allocations: 321.8 kB / 0.6821 GB, free: 9.07 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.2457, allocations: 0.7121 MB / 0.6828 GB, free: 8.332 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001135/0.2459, allocations: 20.53 kB / 0.6828 GB, free: 8.312 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.821e-05/0.2459, allocations: 15.44 kB / 0.6828 GB, free: 8.297 MB / 0.5573 GB Notification: Performance of SimCode: time 9.42e-07/0.2459, allocations: 0 / 0.6828 GB, free: 8.297 MB / 0.5573 GB Notification: Performance of Templates: time 0.007566/0.2535, allocations: 1.94 MB / 0.6847 GB, free: 6.375 MB / 0.5573 GB