Running command: "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.795/2.795, allocations: 288.1 MB / 300.7 MB, free: 15.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 5.163e-05/5.171e-05, allocations: 4.141 kB / 370.6 MB, free: 7.812 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1719, allocations: 67 MB / 437.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6611/0.8331, allocations: 99.78 MB / 0.5248 GB, free: 16.95 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/0.8334, allocations: 78.97 kB / 0.5249 GB, free: 16.95 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02359/0.857, allocations: 4.986 MB / 0.5298 GB, free: 32.33 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.8571, allocations: 3.938 kB / 0.5298 GB, free: 32.33 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.535e-05/0.8571, allocations: 1.438 kB / 0.5298 GB, free: 32.33 MB / 458.7 MB 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.0007618/0.8579, allocations: 0.5149 MB / 0.5303 GB, free: 31.82 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.858, allocations: 9.25 kB / 0.5303 GB, free: 31.82 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.656e-05/0.858, allocations: 40.88 kB / 0.5303 GB, free: 31.79 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.529e-05/0.8581, allocations: 18.41 kB / 0.5303 GB, free: 31.78 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.8585, allocations: 226 kB / 0.5306 GB, free: 31.57 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.8585, allocations: 7.594 kB / 0.5306 GB, free: 31.57 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.166e-05/0.8586, allocations: 16.31 kB / 0.5306 GB, free: 31.57 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.8589, allocations: 110.5 kB / 0.5307 GB, free: 31.53 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.8589, allocations: 0 / 0.5307 GB, free: 31.53 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.859, allocations: 5.75 kB / 0.5307 GB, free: 31.52 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.859, allocations: 1.781 kB / 0.5307 GB, free: 31.52 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.8592, allocations: 57.92 kB / 0.5308 GB, free: 31.52 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009413/0.8601, allocations: 420.1 kB / 0.5312 GB, free: 31.25 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.8604, allocations: 80.64 kB / 0.5312 GB, free: 31.22 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.8606, allocations: 68.28 kB / 0.5313 GB, free: 31.21 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.8607, allocations: 3.422 kB / 0.5313 GB, free: 31.21 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002896/0.861, allocations: 171.7 kB / 0.5315 GB, free: 31.1 MB / 458.7 MB Notification: Performance of pre-optimization done (n=10): time 3.477e-06/0.861, allocations: 1.469 kB / 0.5315 GB, free: 31.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007734/0.8618, allocations: 266.2 kB / 0.5317 GB, free: 31 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.8619, allocations: 170.3 kB / 0.5319 GB, free: 30.81 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.8621, allocations: 160.1 kB / 0.532 GB, free: 30.71 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.684e-05/0.8622, allocations: 29.2 kB / 0.5321 GB, free: 30.68 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.458e-05/0.8623, allocations: 107.3 kB / 0.5322 GB, free: 30.59 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.517e-05/0.8624, allocations: 29.44 kB / 0.5322 GB, free: 30.57 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.052e-05/0.8624, allocations: 3.156 kB / 0.5322 GB, free: 30.57 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.8626, allocations: 332.3 kB / 0.5325 GB, free: 30.26 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.8627, allocations: 38.53 kB / 0.5325 GB, free: 30.26 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.8629, allocations: 100.3 kB / 0.5326 GB, free: 30.19 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.8632, allocations: 168 kB / 0.5328 GB, free: 30.05 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.8632, allocations: 0 / 0.5328 GB, free: 30.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007302/0.864, allocations: 325.4 kB / 0.5331 GB, free: 29.88 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.8641, allocations: 118.7 kB / 0.5332 GB, free: 29.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.8641, allocations: 3.031 kB / 0.5332 GB, free: 29.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.8642, allocations: 6.062 kB / 0.5332 GB, free: 29.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.8644, allocations: 27.53 kB / 0.5333 GB, free: 29.74 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.8644, allocations: 1.625 kB / 0.5333 GB, free: 29.74 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.8646, allocations: 16.64 kB / 0.5333 GB, free: 29.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.8647, allocations: 12.41 kB / 0.5333 GB, free: 29.74 MB / 458.7 MB 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.0002078/0.8649, allocations: 178.6 kB / 0.5335 GB, free: 29.57 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.096e-05/0.865, allocations: 17.05 kB / 0.5335 GB, free: 29.56 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.845e-05/0.865, allocations: 20.42 kB / 0.5335 GB, free: 29.55 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.865, allocations: 4 kB / 0.5335 GB, free: 29.54 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.8651, allocations: 0 / 0.5335 GB, free: 29.54 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.8651, allocations: 1.906 kB / 0.5335 GB, free: 29.54 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009562/0.866, allocations: 0.5631 MB / 0.5341 GB, free: 29.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.8661, allocations: 0 / 0.5341 GB, free: 29.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.8662, allocations: 12.47 kB / 0.5341 GB, free: 29.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-06/0.8663, allocations: 0.9688 kB / 0.5341 GB, free: 29.18 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.385e-05/0.8663, allocations: 11.77 kB / 0.5341 GB, free: 29.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/0.8663, allocations: 5.125 kB / 0.5341 GB, free: 29.17 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.8663, allocations: 0 / 0.5341 GB, free: 29.17 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007626/0.8671, allocations: 383.4 kB / 0.5344 GB, free: 28.96 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.968e-05/0.8672, allocations: 97.97 kB / 0.5345 GB, free: 28.86 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.569e-05/0.8673, allocations: 4.656 kB / 0.5345 GB, free: 28.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.8675, allocations: 9.359 kB / 0.5346 GB, free: 28.86 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.705e-05/0.8676, allocations: 9.25 kB / 0.5346 GB, free: 28.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.8676, allocations: 11.5 kB / 0.5346 GB, free: 28.86 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001739/0.8678, allocations: 123.7 kB / 0.5347 GB, free: 28.78 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.8678, allocations: 3.938 kB / 0.5347 GB, free: 28.78 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004838/0.8683, allocations: 36.47 kB / 0.5347 GB, free: 28.78 MB / 458.7 MB 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.001317/0.8696, allocations: 0.9608 MB / 0.5357 GB, free: 28.02 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000616/0.8703, allocations: 337.9 kB / 0.536 GB, free: 27.77 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.8703, allocations: 1.281 kB / 0.536 GB, free: 27.77 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002933/0.8706, allocations: 195.7 kB / 0.5362 GB, free: 27.64 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.871, allocations: 22.48 kB / 0.5362 GB, free: 27.63 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.8721, allocations: 258.1 kB / 0.5364 GB, free: 27.49 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.8724, allocations: 0.7087 MB / 0.5371 GB, free: 26.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.8726, allocations: 20.55 kB / 0.5372 GB, free: 26.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.544e-05/0.8727, allocations: 34.95 kB / 0.5372 GB, free: 26.79 MB / 458.7 MB Notification: Performance of SimCode: time 1.172e-06/0.8727, allocations: 4 kB / 0.5372 GB, free: 26.79 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03088/0.9036, allocations: 3.283 MB / 0.5404 GB, free: 26.35 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/0.9039, allocations: 160.7 kB / 0.5406 GB, free: 26.12 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.58/3.484, allocations: 0 / 0.5406 GB, free: 26.12 MB / 458.7 MB