Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.305/4.305, allocations: 460.4 MB / 472.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.257e-05/5.267e-05, allocations: 4 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2543, allocations: 106.2 MB / 0.6719 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.912/1.166, allocations: 133.5 MB / 0.8023 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003262/1.167, allocations: 79.84 kB / 0.8024 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02101/1.188, allocations: 4.991 MB / 0.8073 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.545e-06/1.188, allocations: 0 / 0.8073 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.255e-05/1.188, allocations: 3.938 kB / 0.8073 GB, free: 12.45 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.0005714/1.188, allocations: 0.5262 MB / 0.8078 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/1.189, allocations: 10.8 kB / 0.8078 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.467e-05/1.189, allocations: 36.97 kB / 0.8078 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.438e-05/1.189, allocations: 23.23 kB / 0.8079 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003043/1.189, allocations: 221.8 kB / 0.8081 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/1.189, allocations: 7.688 kB / 0.8081 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.472e-05/1.189, allocations: 14.84 kB / 0.8081 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/1.189, allocations: 103.7 kB / 0.8082 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/1.189, allocations: 3.938 kB / 0.8082 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/1.189, allocations: 7.188 kB / 0.8082 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/1.189, allocations: 4 kB / 0.8082 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/1.19, allocations: 52.41 kB / 0.8083 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007721/1.19, allocations: 423.8 kB / 0.8087 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/1.191, allocations: 84.27 kB / 0.8087 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/1.191, allocations: 63.8 kB / 0.8088 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/1.191, allocations: 3.047 kB / 0.8088 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002481/1.191, allocations: 163.3 kB / 0.809 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.064e-06/1.191, allocations: 0 / 0.809 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0006327/1.192, allocations: 280.8 kB / 0.8092 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.069e-05/1.192, allocations: 170.1 kB / 0.8094 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/1.192, allocations: 158.6 kB / 0.8095 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/1.192, allocations: 29.61 kB / 0.8096 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.332e-05/1.192, allocations: 110.4 kB / 0.8097 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/1.192, allocations: 28.86 kB / 0.8097 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.723e-05/1.192, allocations: 0 / 0.8097 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.33e-05/1.192, allocations: 328.1 kB / 0.81 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/1.192, allocations: 39.72 kB / 0.8101 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/1.193, allocations: 112.1 kB / 0.8102 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/1.193, allocations: 163.9 kB / 0.8103 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.193, allocations: 0 / 0.8103 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005841/1.193, allocations: 319.6 kB / 0.8106 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.564e-05/1.194, allocations: 116.6 kB / 0.8107 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/1.194, allocations: 0 / 0.8107 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/1.194, allocations: 7.797 kB / 0.8107 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/1.194, allocations: 26.48 kB / 0.8108 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/1.194, allocations: 2.812 kB / 0.8108 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/1.194, allocations: 18.91 kB / 0.8108 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/1.194, allocations: 7.781 kB / 0.8108 GB, free: 9.855 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.0001448/1.194, allocations: 189.1 kB / 0.811 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/1.194, allocations: 15.5 kB / 0.811 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.696e-05/1.194, allocations: 15.88 kB / 0.811 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/1.194, allocations: 4 kB / 0.811 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/1.194, allocations: 14.56 kB / 0.811 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/1.194, allocations: 3.781 kB / 0.811 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008553/1.195, allocations: 0.5597 MB / 0.8116 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/1.195, allocations: 3.938 kB / 0.8116 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/1.195, allocations: 10.27 kB / 0.8116 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/1.195, allocations: 0 / 0.8116 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-05/1.195, allocations: 14.58 kB / 0.8116 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/1.195, allocations: 4 kB / 0.8116 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/1.195, allocations: 0 / 0.8116 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/1.196, allocations: 380.8 kB / 0.812 GB, free: 25.08 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.36e-05/1.197, allocations: 92.02 kB / 0.8121 GB, free: 24.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.132e-05/1.197, allocations: 3.688 kB / 0.8121 GB, free: 24.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/1.197, allocations: 14.84 kB / 0.8121 GB, free: 24.97 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.185e-05/1.197, allocations: 9.938 kB / 0.8121 GB, free: 24.97 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/1.197, allocations: 10.53 kB / 0.8121 GB, free: 24.97 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001475/1.197, allocations: 123 kB / 0.8122 GB, free: 24.89 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.9e-07/1.197, allocations: 0 / 0.8122 GB, free: 24.89 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004649/1.198, allocations: 40.92 kB / 0.8122 GB, free: 24.89 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.001196/1.199, allocations: 0.9484 MB / 0.8132 GB, free: 24.14 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005831/1.199, allocations: 334.7 kB / 0.8135 GB, free: 23.89 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/1.199, allocations: 0 / 0.8135 GB, free: 23.89 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002648/1.2, allocations: 200.7 kB / 0.8137 GB, free: 23.76 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/1.2, allocations: 17.94 kB / 0.8137 GB, free: 23.75 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009186/1.201, allocations: 265.8 kB / 0.814 GB, free: 23.61 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/1.201, allocations: 0.7161 MB / 0.8147 GB, free: 22.91 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001072/1.202, allocations: 21.39 kB / 0.8147 GB, free: 22.91 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.115e-05/1.202, allocations: 31.81 kB / 0.8147 GB, free: 22.9 MB / 0.6511 GB Notification: Performance of SimCode: time 1.102e-06/1.202, allocations: 7.844 kB / 0.8147 GB, free: 22.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02784/1.229, allocations: 3.3 MB / 0.8179 GB, free: 22.42 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002398/1.23, allocations: 159.3 kB / 0.8181 GB, free: 22.19 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.676/3.906, allocations: 0 / 0.8181 GB, free: 22.19 MB / 0.6511 GB