Running command: "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Controlled,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Controlled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(FastBuildings): time 2.24/2.24, allocations: 210.6 MB / 222.7 MB, free: 4.309 MB / 186.7 MB Warning: Requested package Modelica of version 3.2, but this package was already loaded with version 3.2.3. You might experience problems if these versions are incompatible. Notification: Performance of FrontEnd - loaded program: time 5.457e-05/5.463e-05, allocations: 0 / 274.4 MB, free: 1.434 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1218, allocations: 48.66 MB / 323 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4518/0.5736, allocations: 78.53 MB / 401.5 MB, free: 14.7 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001671/0.5738, allocations: 47.23 kB / 401.6 MB, free: 14.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02988/0.6037, allocations: 7.235 MB / 408.8 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.6038, allocations: 4 kB / 408.8 MB, free: 8.578 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.598e-05/0.6038, allocations: 4 kB / 408.8 MB, free: 8.574 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001783/0.6056, allocations: 0.6377 MB / 409.5 MB, free: 7.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.492e-05/0.6057, allocations: 12.03 kB / 409.5 MB, free: 7.898 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001449/0.6059, allocations: 66.03 kB / 409.5 MB, free: 7.844 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.606, allocations: 39.53 kB / 409.6 MB, free: 7.805 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005846/0.6066, allocations: 313.7 kB / 409.9 MB, free: 7.504 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001666/0.6068, allocations: 65.22 kB / 410 MB, free: 7.445 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.881e-05/0.6069, allocations: 22.94 kB / 410 MB, free: 7.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009159/0.6078, allocations: 348.9 kB / 410.3 MB, free: 7.188 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.6079, allocations: 0 / 410.3 MB, free: 7.188 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.399e-05/0.6079, allocations: 14 kB / 410.3 MB, free: 7.184 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.608, allocations: 8 kB / 410.3 MB, free: 7.176 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006977/0.6087, allocations: 241.9 kB / 410.6 MB, free: 7.031 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003596/0.6123, allocations: 1.522 MB / 412.1 MB, free: 5.773 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.6134, allocations: 314 kB / 412.4 MB, free: 5.547 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003938/0.6138, allocations: 160.5 kB / 412.6 MB, free: 5.449 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.451e-05/0.6139, allocations: 4 kB / 412.6 MB, free: 5.445 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004975/0.6144, allocations: 214.2 kB / 412.8 MB, free: 5.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 2.614e-06/0.6144, allocations: 0 / 412.8 MB, free: 5.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.0008307/0.6152, allocations: 270.3 kB / 413 MB, free: 5.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.446e-05/0.6153, allocations: 88.36 kB / 413.1 MB, free: 4.969 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004396/0.6158, allocations: 250.3 kB / 413.4 MB, free: 4.766 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.162e-05/0.6159, allocations: 29.64 kB / 413.4 MB, free: 4.734 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002171/0.6161, allocations: 201.3 kB / 413.6 MB, free: 4.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.6162, allocations: 80.31 kB / 413.7 MB, free: 4.504 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.6163, allocations: 7 kB / 413.7 MB, free: 4.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.6165, allocations: 345.7 kB / 414 MB, free: 4.168 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/0.6168, allocations: 103.4 kB / 414.1 MB, free: 4.109 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004017/0.6173, allocations: 157.7 kB / 414.3 MB, free: 3.988 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003924/0.6177, allocations: 154.7 kB / 414.4 MB, free: 3.879 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/0.6177, allocations: 3.953 kB / 414.4 MB, free: 3.875 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001063/0.6188, allocations: 370 kB / 414.8 MB, free: 3.598 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.246e-05/0.6189, allocations: 40.03 kB / 414.8 MB, free: 3.559 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.6189, allocations: 4 kB / 414.8 MB, free: 3.555 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/0.6189, allocations: 0 / 414.8 MB, free: 3.555 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002289/0.6212, allocations: 283.2 kB / 415.1 MB, free: 3.281 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/0.6231, allocations: 1.417 MB / 416.5 MB, free: 1.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000765/0.6239, allocations: 67.14 kB / 416.6 MB, free: 1.707 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-05/0.624, allocations: 11.81 kB / 416.6 MB, free: 1.699 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.simFasBui.powElePul.T_start,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002132/0.6242, allocations: 128.5 kB / 416.7 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.112e-05/0.6243, allocations: 31.61 kB / 416.8 MB, free: 1.543 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009754/0.6253, allocations: 295 kB / 417 MB, free: 1.344 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.6254, allocations: 4 kB / 417.1 MB, free: 1.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6254, allocations: 0 / 417.1 MB, free: 1.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.6254, allocations: 0 / 417.1 MB, free: 1.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009032/0.6263, allocations: 459.1 kB / 417.5 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.6263, allocations: 4 kB / 417.5 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002293/0.6287, allocations: 267.2 kB / 417.8 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-05/0.6287, allocations: 4 kB / 417.8 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.784e-05/0.6288, allocations: 3.375 kB / 417.8 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001726/0.6305, allocations: 1.427 MB / 419.2 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.6306, allocations: 0 / 419.2 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.6319, allocations: 469.6 kB / 419.7 MB, free: 14.83 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/0.6322, allocations: 111.7 kB / 419.8 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.854e-05/0.6323, allocations: 10.88 kB / 419.8 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005365/0.6328, allocations: 41.77 kB / 419.8 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.633, allocations: 27.23 kB / 419.8 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.406e-05/0.6331, allocations: 15.73 kB / 419.9 MB, free: 14.63 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003623/0.6334, allocations: 210.1 kB / 420.1 MB, free: 14.46 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.6334, allocations: 0 / 420.1 MB, free: 14.46 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007304/0.6342, allocations: 90.84 kB / 420.2 MB, free: 14.38 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (bui.zon.capZon.heaPor.T,bui.zon.capWal.heaPor.T,bui.zon.capEmb.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,simFasBui.powElePul.T_start,simFasBui.powElePul.count) * Number of discrete states: 1 (simFasBui.powElePul.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001709/0.6359, allocations: 1.095 MB / 421.3 MB, free: 13.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002149/0.6381, allocations: 476.3 kB / 421.7 MB, free: 13.03 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.6381, allocations: 0 / 421.7 MB, free: 13.03 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00161/0.6398, allocations: 297.7 kB / 422 MB, free: 12.79 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005578/0.6403, allocations: 58.31 kB / 422.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003352/0.6437, allocations: 0.8125 MB / 422.9 MB, free: 11.97 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005275/0.6443, allocations: 0.8089 MB / 423.7 MB, free: 11.14 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003227/0.6446, allocations: 30.06 kB / 423.7 MB, free: 11.11 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/0.6449, allocations: 105.7 kB / 423.8 MB, free: 11.08 MB / 346.7 MB Notification: Performance of SimCode: time 1.663e-06/0.6449, allocations: 3.938 kB / 423.8 MB, free: 11.07 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0329/0.6778, allocations: 6.153 MB / 430 MB, free: 5.012 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002954/0.6782, allocations: 182.2 kB / 430.2 MB, free: 4.777 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.656/3.334, allocations: 0 / 430.2 MB, free: 4.777 MB / 346.7 MB