Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold") Notification: Performance of loadModel(Buildings): time 4.425/4.425, allocations: 431.3 MB / 445.8 MB, free: 7.258 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.261e-05/4.255e-05, allocations: 4 kB / 0.5354 GB, free: 1.215 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7458/0.7459, allocations: 98.71 MB / 0.6318 GB, free: 0.8281 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.FirstOrderHold): time 0.002476/0.7484, allocations: 1.11 MB / 0.6329 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0007458/0.7492, allocations: 224.2 kB / 0.6331 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.839e-05/0.7493, allocations: 3.938 kB / 0.6331 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.256e-05/0.7493, allocations: 3.938 kB / 0.6331 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.546e-05/0.7494, allocations: 4 kB / 0.6331 GB, free: 15.47 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.7496, allocations: 23.95 kB / 0.6331 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.669e-05/0.7497, allocations: 27.97 kB / 0.6332 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.438e-05/0.7498, allocations: 4 kB / 0.6332 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 9.125e-05/0.7499, allocations: 23.92 kB / 0.6332 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 9.256e-05/0.75, allocations: 31.91 kB / 0.6332 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 2.268e-05/0.7501, allocations: 0 / 0.6332 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.7501, allocations: 4 kB / 0.6332 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 3.142e-05/0.7502, allocations: 11.98 kB / 0.6332 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.7502, allocations: 4 kB / 0.6332 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.7503, allocations: 39.89 kB / 0.6333 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.7504, allocations: 0 / 0.6333 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.564e-06/0.7504, allocations: 0 / 0.6333 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.7504, allocations: 0 / 0.6333 GB, free: 15.3 MB / 0.5105 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.0009036/0.7513, allocations: 381.6 kB / 0.6336 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.7514, allocations: 8.031 kB / 0.6337 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.17e-05/0.7514, allocations: 7.906 kB / 0.6337 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.7516, allocations: 167 kB / 0.6338 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.823e-05/0.7517, allocations: 11.98 kB / 0.6338 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.7517, allocations: 4 kB / 0.6338 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003999/0.7521, allocations: 89.59 kB / 0.6339 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.7522, allocations: 0 / 0.6339 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.7522, allocations: 7.984 kB / 0.6339 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.7522, allocations: 0 / 0.6339 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004567/0.7527, allocations: 63.95 kB / 0.634 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007602/0.7535, allocations: 316.6 kB / 0.6343 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003945/0.7539, allocations: 90.52 kB / 0.6344 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.321e-05/0.7539, allocations: 3.984 kB / 0.6344 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004037/0.7544, allocations: 95.5 kB / 0.6345 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 2.775e-06/0.7544, allocations: 0 / 0.6345 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.001031/0.7554, allocations: 193.5 kB / 0.6347 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.7555, allocations: 59.34 kB / 0.6347 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.7556, allocations: 100.9 kB / 0.6348 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.338e-05/0.7557, allocations: 37.7 kB / 0.6348 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.663e-05/0.7558, allocations: 84.36 kB / 0.6349 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.197e-05/0.7558, allocations: 23.72 kB / 0.635 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.106e-05/0.7559, allocations: 0 / 0.635 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.756, allocations: 323.4 kB / 0.6353 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/0.7563, allocations: 39.97 kB / 0.6353 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003047/0.7566, allocations: 75.45 kB / 0.6354 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.7569, allocations: 55.8 kB / 0.6354 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.757, allocations: 4 kB / 0.6354 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006868/0.7577, allocations: 145.5 kB / 0.6356 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.7577, allocations: 4 kB / 0.6356 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.7577, allocations: 7.984 kB / 0.6356 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.7578, allocations: 96 / 0.6356 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.758, allocations: 23.98 kB / 0.6356 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.7581, allocations: 7.938 kB / 0.6356 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/0.7583, allocations: 15.95 kB / 0.6356 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.7583, allocations: 7.984 kB / 0.6356 GB, free: 12.67 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.firOrdHol.firstTrigger,firOrdHol.firstTrigger,$whenCondition1,firOrdHol.sampleTrigger,$PRE.firOrdHol.tSample,firOrdHol.tSample,$PRE.firOrdHol.uSample,firOrdHol.uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.pre_uSample,$PRE.firOrdHol.c,firOrdHol.c) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 0.0001467/0.7584, allocations: 117.8 kB / 0.6357 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.7585, allocations: 11.91 kB / 0.6358 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007495/0.7593, allocations: 162.2 kB / 0.6359 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.7593, allocations: 0 / 0.6359 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.7593, allocations: 0 / 0.6359 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.7593, allocations: 0 / 0.6359 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.7604, allocations: 430.5 kB / 0.6363 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.7604, allocations: 4 kB / 0.6363 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.7606, allocations: 15.98 kB / 0.6363 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.7606, allocations: 3.938 kB / 0.6363 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.7606, allocations: 8 kB / 0.6363 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.7607, allocations: 0 / 0.6363 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.7607, allocations: 3.953 kB / 0.6364 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007131/0.7614, allocations: 239.4 kB / 0.6366 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.195e-05/0.7615, allocations: 89.02 kB / 0.6367 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.102e-05/0.7615, allocations: 4 kB / 0.6367 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.7618, allocations: 11.98 kB / 0.6367 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.496e-05/0.7619, allocations: 11.94 kB / 0.6367 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.7619, allocations: 0 / 0.6367 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.124e-05/0.762, allocations: 91.27 kB / 0.6368 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.01e-07/0.762, allocations: 0 / 0.6368 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005601/0.7626, allocations: 16 kB / 0.6368 GB, free: 11.37 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.firstTrigger,firOrdHol.tSample,firOrdHol.uSample,firOrdHol.pre_uSample,firOrdHol.c) * Number of discrete states: 2 (firOrdHol.uSample,firOrdHol.c) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001962/0.7628, allocations: 103.2 kB / 0.6369 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006334/0.7634, allocations: 107.9 kB / 0.637 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.7635, allocations: 4.188 kB / 0.637 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003039/0.7638, allocations: 56.12 kB / 0.6371 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.7641, allocations: 8 kB / 0.6371 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006261/0.7648, allocations: 169.3 kB / 0.6372 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.7652, allocations: 0.6887 MB / 0.6379 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.99e-05/0.7653, allocations: 8.422 kB / 0.6379 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.69e-05/0.7654, allocations: 11.44 kB / 0.6379 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of SimCode: time 1.012e-06/0.7654, allocations: 3.938 kB / 0.6379 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of Templates: time 0.005149/0.7706, allocations: 0.7506 MB / 0.6387 GB, free: 9.418 MB / 0.5105 GB