Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Latch") Notification: Performance of loadModel(Buildings): time 4.685/4.685, allocations: 458.9 MB / 473.4 MB, free: 11.86 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.163e-05/3.165e-05, allocations: 5.594 kB / 0.5697 GB, free: 9.805 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2385, allocations: 106.2 MB / 0.6734 GB, free: 2.582 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002095/0.2406, allocations: 1.194 MB / 0.6746 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0009408/0.2416, allocations: 324 kB / 0.6749 GB, free: 1.055 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.659e-05/0.2417, allocations: 4 kB / 0.6749 GB, free: 1.051 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 3.082e-05/0.2417, allocations: 11.86 kB / 0.6749 GB, free: 1.039 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 9.997e-05/0.2419, allocations: 15.97 kB / 0.675 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002982/0.2422, allocations: 79.84 kB / 0.675 GB, free: 0.9453 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.2424, allocations: 111.8 kB / 0.6751 GB, free: 0.8359 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.2425, allocations: 40.05 kB / 0.6752 GB, free: 0.793 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.2427, allocations: 79.88 kB / 0.6753 GB, free: 0.7148 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.2429, allocations: 83.77 kB / 0.6753 GB, free: 0.6328 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 5.114e-05/0.2429, allocations: 16 kB / 0.6753 GB, free: 0.6172 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 4.639e-05/0.243, allocations: 8 kB / 0.6754 GB, free: 0.6094 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 8.623e-05/0.2431, allocations: 55.88 kB / 0.6754 GB, free: 0.5547 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 6.537e-05/0.2432, allocations: 16 kB / 0.6754 GB, free: 0.5391 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.2434, allocations: 175.7 kB / 0.6756 GB, free: 376 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2435, allocations: 0 / 0.6756 GB, free: 376 kB / 0.5417 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2435, allocations: 0 / 0.6756 GB, free: 376 kB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.2435, allocations: 0 / 0.6756 GB, free: 376 kB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001096/0.2446, allocations: 439.2 kB / 0.676 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.554e-05/0.2447, allocations: 8.031 kB / 0.676 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.2449, allocations: 23.84 kB / 0.676 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009889/0.2459, allocations: 258.7 kB / 0.6763 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.689e-05/0.246, allocations: 15.98 kB / 0.6763 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.2461, allocations: 35.98 kB / 0.6763 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009104/0.2471, allocations: 207.6 kB / 0.6765 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.2471, allocations: 3.938 kB / 0.6765 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.962e-05/0.2472, allocations: 11.98 kB / 0.6765 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.2472, allocations: 4 kB / 0.6766 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005242/0.2478, allocations: 91.94 kB / 0.6766 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/0.2501, allocations: 0.5314 MB / 0.6772 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/0.2521, allocations: 310.4 kB / 0.6775 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.2522, allocations: 0 / 0.6775 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001655/0.2539, allocations: 474.4 kB / 0.6779 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=42): time 4.167e-06/0.2539, allocations: 4 kB / 0.6779 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of matching and sorting (n=42): time 0.002201/0.2561, allocations: 0.5239 MB / 0.6784 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.88e-05/0.2563, allocations: 55.41 kB / 0.6785 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.2565, allocations: 143.9 kB / 0.6786 GB, free: 13.08 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001369/0.2567, allocations: 57.69 kB / 0.6787 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.2568, allocations: 117.1 kB / 0.6788 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.257, allocations: 94.94 kB / 0.6789 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.645e-05/0.2571, allocations: 12 kB / 0.6789 GB, free: 12.79 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002127/0.2573, allocations: 334.8 kB / 0.6792 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005888/0.2579, allocations: 133.1 kB / 0.6793 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005124/0.2585, allocations: 215.6 kB / 0.6795 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.2588, allocations: 106.1 kB / 0.6796 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.2588, allocations: 0 / 0.6796 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001035/0.2599, allocations: 390.7 kB / 0.68 GB, free: 11.59 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.2599, allocations: 7.984 kB / 0.68 GB, free: 11.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.2599, allocations: 4 kB / 0.68 GB, free: 11.58 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.977e-05/0.26, allocations: 4 kB / 0.68 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.2602, allocations: 35.86 kB / 0.6801 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/0.2602, allocations: 4 kB / 0.6801 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003158/0.2606, allocations: 43.67 kB / 0.6801 GB, free: 11.49 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.793e-05/0.2606, allocations: 16 kB / 0.6801 GB, free: 11.48 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 68 ($PRE.falCle.y,$PRE.truCle.y,$PRE.iniFalOut.y,$PRE.iniTruOut.y,$PRE.swiCleInp.y,$PRE.swiCleInp1.y,$whenCondition26,$whenCondition25,tru.y,fal.y,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$PRE.falCle.u,falCle.u,falCle.y,$PRE.truCle.u,truCle.u,truCle.y,$PRE.iniFalOut.u,iniFalOut.u,iniFalOut.y,$PRE.iniTruOut.u,iniTruOut.u,iniTruOut.y,$PRE.swiCleInp.u,swiCleInp.u,$PRE.swiCleInp.clr,swiCleInp.clr,swiCleInp.y,$PRE.swiCleInp1.u,swiCleInp1.u,$PRE.swiCleInp1.clr,swiCleInp1.clr,swiCleInp1.y,$PRE.cleInp.pulseStart,cleInp.pulseStart,$PRE.latInp.pulseStart,latInp.pulseStart,$PRE.iniTruOut.clr,iniTruOut.clr,$PRE.iniFalOut.clr,iniFalOut.clr,$PRE.falCle.clr,falCle.clr,$PRE.truCle.clr,truCle.clr) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * 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.000322/0.261, allocations: 167.1 kB / 0.6803 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.2611, allocations: 31.67 kB / 0.6803 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.2612, allocations: 42.3 kB / 0.6803 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.2612, allocations: 4 kB / 0.6804 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.2613, allocations: 0 / 0.6804 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.2613, allocations: 4 kB / 0.6804 GB, free: 11.22 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/0.2631, allocations: 0.7959 MB / 0.6811 GB, free: 10.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.2631, allocations: 3.953 kB / 0.6811 GB, free: 10.37 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.145e-05/0.2632, allocations: 7.938 kB / 0.6811 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.159e-05/0.2632, allocations: 4 kB / 0.6811 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.925e-05/0.2633, allocations: 23.97 kB / 0.6812 GB, free: 10.33 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.2633, allocations: 0 / 0.6812 GB, free: 10.33 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.2633, allocations: 0 / 0.6812 GB, free: 10.33 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.2646, allocations: 0.5105 MB / 0.6817 GB, free: 9.805 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.419e-05/0.2647, allocations: 100.8 kB / 0.6818 GB, free: 9.688 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.2649, allocations: 19.98 kB / 0.6818 GB, free: 9.668 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003012/0.2652, allocations: 27.97 kB / 0.6818 GB, free: 9.641 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002263/0.2654, allocations: 67.86 kB / 0.6819 GB, free: 9.574 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.571e-05/0.2655, allocations: 31.97 kB / 0.6819 GB, free: 9.543 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001139/0.2656, allocations: 105.7 kB / 0.682 GB, free: 9.441 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2657, allocations: 0 / 0.682 GB, free: 9.441 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005356/0.2662, allocations: 83.89 kB / 0.6821 GB, free: 9.359 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition26,$whenCondition25,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,falCle.u,falCle.y,truCle.u,truCle.y,iniFalOut.u,iniFalOut.y,iniTruOut.u,iniTruOut.y,swiCleInp.u,swiCleInp.clr,swiCleInp.y,swiCleInp1.u,swiCleInp1.clr,swiCleInp1.y,cleInp.pulseStart,latInp.pulseStart) * Number of discrete states: 14 (iniFalOut.u,iniTruOut.u,falCle.u,truCle.u,swiCleInp.u,swiCleInp.clr,swiCleInp1.u,swiCleInp1.clr,swiCleInp1.y,swiCleInp.y,iniTruOut.y,iniFalOut.y,truCle.y,falCle.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002599/0.2665, allocations: 140.2 kB / 0.6822 GB, free: 9.215 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001042/0.2675, allocations: 354.8 kB / 0.6826 GB, free: 8.867 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.2675, allocations: 0 / 0.6826 GB, free: 8.867 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00053/0.2681, allocations: 215.9 kB / 0.6828 GB, free: 8.656 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.2685, allocations: 35.84 kB / 0.6828 GB, free: 8.621 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.27, allocations: 0.4903 MB / 0.6833 GB, free: 8.109 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.2703, allocations: 0.7413 MB / 0.684 GB, free: 7.34 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002033/0.2706, allocations: 38.95 kB / 0.684 GB, free: 7.301 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001813/0.2707, allocations: 35.42 kB / 0.6841 GB, free: 7.266 MB / 0.5573 GB Notification: Performance of SimCode: time 1.072e-06/0.2708, allocations: 0 / 0.6841 GB, free: 7.266 MB / 0.5573 GB Notification: Performance of Templates: time 0.01022/0.281, allocations: 3.102 MB / 0.6871 GB, free: 4.164 MB / 0.5573 GB