Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.299/4.299, allocations: 464.6 MB / 476.8 MB, free: 2.188 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.652e-05/3.662e-05, allocations: 4 kB / 0.5732 GB, free: 5.625 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2515, allocations: 107.2 MB / 0.6778 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9265/1.178, allocations: 133.9 MB / 0.8086 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003786/1.179, allocations: 86.53 kB / 0.8087 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02463/1.203, allocations: 4.989 MB / 0.8136 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.554e-06/1.203, allocations: 3.844 kB / 0.8136 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.562e-05/1.203, allocations: 0 / 0.8136 GB, free: 11.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.0006306/1.204, allocations: 0.5185 MB / 0.8141 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/1.204, allocations: 11.53 kB / 0.8141 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.588e-05/1.204, allocations: 38.41 kB / 0.8141 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.227e-05/1.204, allocations: 15.53 kB / 0.8142 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/1.204, allocations: 240.8 kB / 0.8144 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/1.205, allocations: 7.844 kB / 0.8144 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.519e-05/1.205, allocations: 11.25 kB / 0.8144 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003109/1.205, allocations: 98.8 kB / 0.8145 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/1.205, allocations: 3.938 kB / 0.8145 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/1.205, allocations: 3.875 kB / 0.8145 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/1.205, allocations: 4 kB / 0.8145 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/1.205, allocations: 57.83 kB / 0.8146 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000858/1.206, allocations: 416.7 kB / 0.815 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/1.206, allocations: 87.53 kB / 0.815 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/1.206, allocations: 63.17 kB / 0.8151 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/1.206, allocations: 3.875 kB / 0.8151 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002794/1.207, allocations: 162.2 kB / 0.8153 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 3.146e-06/1.207, allocations: 0 / 0.8153 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0007042/1.208, allocations: 286.8 kB / 0.8155 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.632e-05/1.208, allocations: 172 kB / 0.8157 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/1.208, allocations: 156.3 kB / 0.8158 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/1.208, allocations: 33.2 kB / 0.8159 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.899e-05/1.208, allocations: 109.8 kB / 0.816 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/1.208, allocations: 34.39 kB / 0.816 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.909e-05/1.208, allocations: 7.594 kB / 0.816 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.705e-05/1.208, allocations: 322.6 kB / 0.8163 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/1.208, allocations: 40.38 kB / 0.8164 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/1.208, allocations: 98.53 kB / 0.8165 GB, free: 9.293 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/1.209, allocations: 164.4 kB / 0.8166 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.209, allocations: 0 / 0.8166 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006649/1.209, allocations: 323.2 kB / 0.8169 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.063e-05/1.209, allocations: 116.8 kB / 0.817 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.209, allocations: 3.844 kB / 0.817 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/1.209, allocations: 0 / 0.817 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/1.21, allocations: 26.56 kB / 0.8171 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/1.21, allocations: 3.875 kB / 0.8171 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/1.21, allocations: 17.64 kB / 0.8171 GB, free: 8.855 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/1.21, allocations: 11.8 kB / 0.8171 GB, free: 8.852 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.000479/1.21, allocations: 176.3 kB / 0.8173 GB, free: 24.68 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/1.21, allocations: 19.47 kB / 0.8173 GB, free: 24.68 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.452e-05/1.211, allocations: 12.84 kB / 0.8173 GB, free: 24.66 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/1.211, allocations: 4 kB / 0.8173 GB, free: 24.66 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/1.211, allocations: 0 / 0.8173 GB, free: 24.66 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.211, allocations: 6.891 kB / 0.8173 GB, free: 24.66 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009899/1.212, allocations: 0.5616 MB / 0.8179 GB, free: 24.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/1.212, allocations: 2.906 kB / 0.8179 GB, free: 24.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/1.212, allocations: 17.59 kB / 0.8179 GB, free: 24.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.044e-06/1.212, allocations: 0 / 0.8179 GB, free: 24.29 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/1.212, allocations: 11.41 kB / 0.8179 GB, free: 24.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/1.212, allocations: 4 kB / 0.8179 GB, free: 24.28 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/1.212, allocations: 3.344 kB / 0.8179 GB, free: 24.28 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006806/1.213, allocations: 375.9 kB / 0.8183 GB, free: 24.08 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.81e-05/1.213, allocations: 90.52 kB / 0.8183 GB, free: 23.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.134e-05/1.213, allocations: 7.75 kB / 0.8183 GB, free: 23.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/1.213, allocations: 18.09 kB / 0.8184 GB, free: 23.98 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.385e-05/1.213, allocations: 7.094 kB / 0.8184 GB, free: 23.97 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/1.213, allocations: 15.59 kB / 0.8184 GB, free: 23.96 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001554/1.213, allocations: 130.9 kB / 0.8185 GB, free: 23.89 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/1.213, allocations: 0 / 0.8185 GB, free: 23.89 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004961/1.214, allocations: 38.67 kB / 0.8185 GB, free: 23.88 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.001304/1.215, allocations: 0.9425 MB / 0.8195 GB, free: 23.14 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006157/1.216, allocations: 344.1 kB / 0.8198 GB, free: 22.88 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.216, allocations: 0 / 0.8198 GB, free: 22.88 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002861/1.216, allocations: 195 kB / 0.82 GB, free: 22.76 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/1.216, allocations: 20.03 kB / 0.82 GB, free: 22.75 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/1.217, allocations: 267.2 kB / 0.8203 GB, free: 22.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/1.218, allocations: 0.7107 MB / 0.821 GB, free: 21.91 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001211/1.218, allocations: 18.14 kB / 0.821 GB, free: 21.91 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.219e-05/1.218, allocations: 33.66 kB / 0.821 GB, free: 21.9 MB / 0.6511 GB Notification: Performance of SimCode: time 1.623e-06/1.218, allocations: 3.875 kB / 0.821 GB, free: 21.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/1.243, allocations: 3.311 MB / 0.8242 GB, free: 21.42 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003195/1.244, allocations: 156.5 kB / 0.8244 GB, free: 21.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.701/3.945, allocations: 0 / 0.8244 GB, free: 21.2 MB / 0.6511 GB