Running command: "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.CSVWriter,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVWriter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.519/3.519, allocations: 343.8 MB / 355.9 MB, free: 9.414 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.421e-05/4.428e-05, allocations: 4 kB / 436.7 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1892, allocations: 77.72 MB / 0.5023 GB, free: 4.527 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6857/0.875, allocations: 107.7 MB / 0.6075 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/0.8754, allocations: 87.88 kB / 0.6076 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02355/0.899, allocations: 4.978 MB / 0.6125 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.583e-06/0.899, allocations: 3.938 kB / 0.6125 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.899, allocations: 0 / 0.6125 GB, free: 8.156 MB / 0.4948 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.0007965/0.8999, allocations: 0.5204 MB / 0.613 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.8999, allocations: 8.031 kB / 0.613 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.56e-05/0.9, allocations: 42.55 kB / 0.613 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.99e-05/0.9001, allocations: 19.86 kB / 0.613 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004199/0.9005, allocations: 226.3 kB / 0.6133 GB, free: 7.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.994e-05/0.9006, allocations: 16 kB / 0.6133 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.001e-05/0.9006, allocations: 12 kB / 0.6133 GB, free: 7.203 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003612/0.901, allocations: 105.6 kB / 0.6134 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.901, allocations: 0 / 0.6134 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.9011, allocations: 4 kB / 0.6134 GB, free: 7.09 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.9011, allocations: 3.938 kB / 0.6134 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.9013, allocations: 51.98 kB / 0.6134 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.9023, allocations: 424.5 kB / 0.6139 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.9026, allocations: 78.55 kB / 0.6139 GB, free: 6.484 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.9028, allocations: 68.84 kB / 0.614 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.747e-05/0.9029, allocations: 8.141 kB / 0.614 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000332/0.9032, allocations: 166.7 kB / 0.6142 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 5.72e-06/0.9032, allocations: 4.094 kB / 0.6142 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0008105/0.9041, allocations: 276.7 kB / 0.6144 GB, free: 5.926 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.9042, allocations: 166.2 kB / 0.6146 GB, free: 5.727 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.9045, allocations: 161.8 kB / 0.6147 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.371e-05/0.9045, allocations: 29.7 kB / 0.6148 GB, free: 5.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.9047, allocations: 112.3 kB / 0.6149 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.502e-05/0.9047, allocations: 27.64 kB / 0.6149 GB, free: 5.375 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.04e-05/0.9047, allocations: 4 kB / 0.6149 GB, free: 5.371 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.9049, allocations: 331.5 kB / 0.6152 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.9051, allocations: 36 kB / 0.6153 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.9053, allocations: 102.8 kB / 0.6154 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.9056, allocations: 154.8 kB / 0.6155 GB, free: 4.703 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.9056, allocations: 4 kB / 0.6155 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007354/0.9063, allocations: 324.1 kB / 0.6158 GB, free: 4.352 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.9065, allocations: 119.4 kB / 0.6159 GB, free: 4.211 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.9065, allocations: 0 / 0.6159 GB, free: 4.211 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.9065, allocations: 7.984 kB / 0.6159 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.9067, allocations: 23.89 kB / 0.616 GB, free: 4.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.9068, allocations: 8.234 kB / 0.616 GB, free: 4.172 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.907, allocations: 12 kB / 0.616 GB, free: 4.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.907, allocations: 8 kB / 0.616 GB, free: 4.152 MB / 0.4948 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.0002069/0.9072, allocations: 180.3 kB / 0.6162 GB, free: 3.957 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.145e-05/0.9073, allocations: 19.81 kB / 0.6162 GB, free: 3.938 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.981e-05/0.9074, allocations: 17.52 kB / 0.6162 GB, free: 3.918 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.9074, allocations: 0 / 0.6162 GB, free: 3.918 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.9074, allocations: 3.953 kB / 0.6162 GB, free: 3.914 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.9074, allocations: 4 kB / 0.6162 GB, free: 3.91 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.9085, allocations: 0.5719 MB / 0.6168 GB, free: 3.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.9085, allocations: 0 / 0.6168 GB, free: 3.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.9087, allocations: 8 kB / 0.6168 GB, free: 3.262 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.822e-06/0.9087, allocations: 0 / 0.6168 GB, free: 3.262 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.635e-05/0.9088, allocations: 11.98 kB / 0.6168 GB, free: 3.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/0.9088, allocations: 3.953 kB / 0.6168 GB, free: 3.246 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.9088, allocations: 0 / 0.6168 GB, free: 3.246 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008124/0.9096, allocations: 386.6 kB / 0.6172 GB, free: 2.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.087e-05/0.9097, allocations: 89 kB / 0.6172 GB, free: 2.734 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.571e-05/0.9098, allocations: 8 kB / 0.6172 GB, free: 2.727 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.91, allocations: 8 kB / 0.6173 GB, free: 2.719 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.246e-05/0.9101, allocations: 11.94 kB / 0.6173 GB, free: 2.707 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.341e-05/0.9102, allocations: 12 kB / 0.6173 GB, free: 2.695 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001661/0.9103, allocations: 132.3 kB / 0.6174 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.61e-07/0.9104, allocations: 0 / 0.6174 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004633/0.9108, allocations: 39.91 kB / 0.6174 GB, free: 2.527 MB / 0.4948 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.001346/0.9122, allocations: 0.95 MB / 0.6184 GB, free: 1.551 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006431/0.9129, allocations: 337.5 kB / 0.6187 GB, free: 1.172 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.9129, allocations: 0 / 0.6187 GB, free: 1.172 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003118/0.9133, allocations: 194.7 kB / 0.6189 GB, free: 0.957 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.9136, allocations: 24.38 kB / 0.6189 GB, free: 0.9297 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.9147, allocations: 263.2 kB / 0.6191 GB, free: 0.6367 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.9151, allocations: 0.7121 MB / 0.6198 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001374/0.9153, allocations: 24.52 kB / 0.6199 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.46e-05/0.9154, allocations: 35.42 kB / 0.6199 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of SimCode: time 1.523e-06/0.9154, allocations: 0 / 0.6199 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02927/0.9447, allocations: 3.315 MB / 0.6231 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003095/0.945, allocations: 160.3 kB / 0.6233 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.53/3.476, allocations: 4 kB / 0.6233 GB, free: 12.4 MB / 0.5105 GB