Running command: translateModel(BuildingSystems.HAM.Examples.GasGapClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed") Notification: Performance of loadModel(BuildingSystems): time 3.166/3.166, allocations: 343.8 MB / 355.9 MB, free: 9.379 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.483e-05/4.492e-05, allocations: 4 kB / 436.5 MB, free: 2.492 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1764, allocations: 77.74 MB / 0.5022 GB, free: 4.602 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6112/0.7877, allocations: 108.5 MB / 0.6082 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.788, allocations: 71.95 kB / 0.6083 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01815/0.8062, allocations: 4.078 MB / 0.6123 GB, free: 8.438 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.209e-06/0.8062, allocations: 0 / 0.6123 GB, free: 8.438 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.776e-05/0.8063, allocations: 8 kB / 0.6123 GB, free: 8.43 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005623/0.8068, allocations: 398.2 kB / 0.6126 GB, free: 7.996 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.8069, allocations: 12.03 kB / 0.6127 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.8069, allocations: 7.906 kB / 0.6127 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.8072, allocations: 199.4 kB / 0.6129 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.8072, allocations: 4 kB / 0.6129 GB, free: 7.738 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.8073, allocations: 0 / 0.6129 GB, free: 7.738 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.8074, allocations: 69.62 kB / 0.6129 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.8075, allocations: 7.922 kB / 0.6129 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.8075, allocations: 0 / 0.6129 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.973e-06/0.8075, allocations: 0 / 0.6129 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.8076, allocations: 43.98 kB / 0.613 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006659/0.8083, allocations: 384 kB / 0.6133 GB, free: 7.176 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.8084, allocations: 42.56 kB / 0.6134 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.08e-05/0.8085, allocations: 20.86 kB / 0.6134 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000142/0.8087, allocations: 85.11 kB / 0.6135 GB, free: 7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.8087, allocations: 34.52 kB / 0.6135 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 2.39e-06/0.8087, allocations: 0 / 0.6135 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002328/0.809, allocations: 61.69 kB / 0.6136 GB, free: 6.891 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.809, allocations: 55.34 kB / 0.6136 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.8092, allocations: 123 kB / 0.6137 GB, free: 6.695 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.8092, allocations: 29.7 kB / 0.6138 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.422e-05/0.8093, allocations: 108 kB / 0.6139 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.8093, allocations: 8 kB / 0.6139 GB, free: 6.543 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-06/0.8094, allocations: 3.938 kB / 0.6139 GB, free: 6.539 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.8095, allocations: 322.8 kB / 0.6142 GB, free: 6.215 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.893e-05/0.8096, allocations: 8 kB / 0.6142 GB, free: 6.207 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.83e-05/0.8096, allocations: 12 kB / 0.6142 GB, free: 6.195 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.777e-05/0.8097, allocations: 11.98 kB / 0.6142 GB, free: 6.184 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.12e-06/0.8097, allocations: 0 / 0.6142 GB, free: 6.184 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001575/0.8099, allocations: 65.55 kB / 0.6143 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.8099, allocations: 8 kB / 0.6143 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.211e-06/0.8099, allocations: 0 / 0.6143 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.8099, allocations: 0 / 0.6143 GB, free: 6.105 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.8101, allocations: 15.98 kB / 0.6143 GB, free: 6.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.8101, allocations: 3.938 kB / 0.6143 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.363e-05/0.8102, allocations: 4 kB / 0.6143 GB, free: 6.082 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.772e-06/0.8102, allocations: 0 / 0.6143 GB, free: 6.082 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 7.99e-05/0.8103, allocations: 105 kB / 0.6144 GB, free: 5.973 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/0.8104, allocations: 15.86 kB / 0.6144 GB, free: 5.957 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.8106, allocations: 77.64 kB / 0.6145 GB, free: 5.871 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.101e-06/0.8106, allocations: 0 / 0.6145 GB, free: 5.871 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.588e-06/0.8106, allocations: 4 kB / 0.6145 GB, free: 5.867 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.871e-06/0.8106, allocations: 240 / 0.6145 GB, free: 5.867 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.8109, allocations: 185.6 kB / 0.6147 GB, free: 5.637 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.438e-06/0.811, allocations: 0 / 0.6147 GB, free: 5.637 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.8111, allocations: 15.92 kB / 0.6147 GB, free: 5.621 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.135e-05/0.8111, allocations: 3.984 kB / 0.6147 GB, free: 5.617 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.8111, allocations: 7.953 kB / 0.6147 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.898e-06/0.8111, allocations: 0 / 0.6147 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.428e-06/0.8111, allocations: 7.938 kB / 0.6147 GB, free: 5.602 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.8114, allocations: 155.5 kB / 0.6149 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.764e-05/0.8115, allocations: 85.02 kB / 0.615 GB, free: 5.332 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.8115, allocations: 7.984 kB / 0.615 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.8116, allocations: 7.953 kB / 0.615 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.8117, allocations: 4 kB / 0.615 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.8117, allocations: 4 kB / 0.615 GB, free: 5.309 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001061/0.8118, allocations: 106.2 kB / 0.6151 GB, free: 5.207 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.45e-07/0.8118, allocations: 0 / 0.6151 GB, free: 5.207 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004758/0.8123, allocations: 67.86 kB / 0.6151 GB, free: 5.141 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.0003755/0.8127, allocations: 173.7 kB / 0.6153 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001365/0.8128, allocations: 27.94 kB / 0.6153 GB, free: 4.934 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.537e-06/0.8129, allocations: 4 kB / 0.6153 GB, free: 4.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.171e-05/0.8129, allocations: 16 kB / 0.6154 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.8132, allocations: 15.98 kB / 0.6154 GB, free: 4.898 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003211/0.8135, allocations: 109.7 kB / 0.6155 GB, free: 4.766 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.8139, allocations: 0.6926 MB / 0.6162 GB, free: 4.047 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.776e-05/0.814, allocations: 11.92 kB / 0.6162 GB, free: 4.031 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.943e-05/0.8141, allocations: 19.44 kB / 0.6162 GB, free: 4.012 MB / 0.4948 GB Notification: Performance of SimCode: time 1.4e-06/0.8141, allocations: 0 / 0.6162 GB, free: 4.012 MB / 0.4948 GB Notification: Performance of Templates: time 0.005695/0.8198, allocations: 1.585 MB / 0.6177 GB, free: 2.434 MB / 0.4948 GB