Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds") Notification: Performance of loadModel(Modelica_Synchronous): time 2.38/2.38, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.186e-05/3.196e-05, allocations: 6.188 kB / 284.3 MB, free: 8.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09517/0.09523, allocations: 50.36 MB / 334.7 MB, free: 5.742 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3803/0.4755, allocations: 80.19 MB / 414.9 MB, free: 14.13 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001823/0.4758, allocations: 64.41 kB / 414.9 MB, free: 14.1 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02764/0.5034, allocations: 5.703 MB / 420.6 MB, free: 9.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.604e-06/0.5035, allocations: 3.938 kB / 420.7 MB, free: 9.336 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.517e-05/0.5035, allocations: 4 kB / 420.7 MB, free: 9.332 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001025/0.5046, allocations: 476.4 kB / 421.1 MB, free: 8.844 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.5046, allocations: 8.031 kB / 421.1 MB, free: 8.836 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/0.5048, allocations: 31.62 kB / 421.2 MB, free: 8.805 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006741/0.5055, allocations: 270 kB / 421.4 MB, free: 8.508 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.883e-05/0.5056, allocations: 19.08 kB / 421.4 MB, free: 8.496 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.46e-05/0.5057, allocations: 22.81 kB / 421.5 MB, free: 8.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00194/0.5076, allocations: 0.6104 MB / 422.1 MB, free: 7.922 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.5077, allocations: 3.938 kB / 422.1 MB, free: 7.918 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.888e-05/0.5078, allocations: 18.88 kB / 422.1 MB, free: 7.906 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.5078, allocations: 8 kB / 422.1 MB, free: 7.898 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005127/0.5083, allocations: 123 kB / 422.2 MB, free: 7.805 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.5102, allocations: 1.023 MB / 423.2 MB, free: 6.742 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.5118, allocations: 0.6921 MB / 423.9 MB, free: 5.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007072/0.5125, allocations: 217.1 kB / 424.2 MB, free: 5.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.036e-05/0.5126, allocations: 11.98 kB / 424.2 MB, free: 5.719 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002498/0.5129, allocations: 93.12 kB / 424.3 MB, free: 5.617 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 7.528e-06/0.5129, allocations: 7.938 kB / 424.3 MB, free: 5.609 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.001273/0.5142, allocations: 299.8 kB / 424.6 MB, free: 5.363 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003534/0.5146, allocations: 346.5 kB / 424.9 MB, free: 4.961 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004754/0.5151, allocations: 208.2 kB / 425.1 MB, free: 4.781 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.161e-05/0.5152, allocations: 32.77 kB / 425.1 MB, free: 4.746 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.5154, allocations: 120.3 kB / 425.2 MB, free: 4.648 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.067e-05/0.5155, allocations: 34.09 kB / 425.3 MB, free: 4.625 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.5155, allocations: 7.125 kB / 425.3 MB, free: 4.625 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002436/0.5158, allocations: 340.6 kB / 425.6 MB, free: 4.297 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.5161, allocations: 54.11 kB / 425.7 MB, free: 4.258 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005538/0.5166, allocations: 302.3 kB / 426 MB, free: 3.863 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004074/0.5171, allocations: 114.7 kB / 426.1 MB, free: 3.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/0.5171, allocations: 0 / 426.1 MB, free: 3.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00134/0.5185, allocations: 348.3 kB / 426.4 MB, free: 3.469 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.315e-05/0.5185, allocations: 15.95 kB / 426.4 MB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.764e-05/0.5186, allocations: 8 kB / 426.4 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.855e-05/0.5187, allocations: 12 kB / 426.5 MB, free: 3.434 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.5188, allocations: 30.92 kB / 426.5 MB, free: 3.406 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-05/0.5189, allocations: 19.92 kB / 426.5 MB, free: 3.387 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005288/0.5195, allocations: 19.38 kB / 426.5 MB, free: 3.371 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.326e-05/0.5195, allocations: 23.44 kB / 426.5 MB, free: 3.352 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 49 ($whenCondition1,booleanConstant.y,$PRE.booleanConstant.pulseStart,booleanConstant.pulseStart,superSample1.y,fractionalDelay.y,backSample1.y,superSample1.u,subSample1.y,backSample1.u,ClockedSignalToSquare.u,shiftSample1.y,UnitDelay1.y,UnitDelay1.u,$CLKPRE.UnitDelay1.u,upSample1.u_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample1.y,fractionalDelay.u_buffer[1],fractionalDelay.u,upSample1.b,$CLKPRE.upSample1.b,upSample1.dummy,upSample1.u,sample3.y,booleanConstant1[3].y,booleanConstant1[2].y,booleanConstant1[1].y,shiftSample1.u,subSample1.u,assignClock2.y[3],assignClock2.y[2],assignClock2.y[1],assignClock2.u[3],assignClock2.u[2],assignClock2.u[1],sample1.y[3],sample1.y[2],sample1.y[1],sample2.y,hold1.u,hold1.y,assignClock1.y,assignClock1.u,ClockedSignalToSquare.y2,$CLKPRE.ClockedSignalToSquare.y2,ClockedSignalToSquare.y,fractionalDelay.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.0003205/0.5199, allocations: 171.7 kB / 426.7 MB, free: 3.195 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001024/0.5209, allocations: 261 kB / 427 MB, free: 2.98 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/0.5211, allocations: 42.78 kB / 427 MB, free: 2.961 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/0.5212, allocations: 8 kB / 427 MB, free: 2.953 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.5212, allocations: 4.156 kB / 427 MB, free: 2.949 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.979e-05/0.5212, allocations: 8 kB / 427 MB, free: 2.941 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000574/0.5218, allocations: 245.9 kB / 427.3 MB, free: 2.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.5219, allocations: 3.938 kB / 427.3 MB, free: 2.676 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.522, allocations: 19.61 kB / 427.3 MB, free: 2.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.507e-05/0.522, allocations: 8 kB / 427.3 MB, free: 2.652 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-05/0.5221, allocations: 12 kB / 427.3 MB, free: 2.645 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.681e-05/0.5221, allocations: 7.953 kB / 427.3 MB, free: 2.637 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.286e-05/0.5222, allocations: 7.938 kB / 427.3 MB, free: 2.629 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.5235, allocations: 0.5003 MB / 427.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/0.5237, allocations: 104.7 kB / 427.9 MB, free: 1.973 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.227e-05/0.5238, allocations: 15.5 kB / 427.9 MB, free: 1.965 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003232/0.5241, allocations: 15.55 kB / 428 MB, free: 1.953 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.908e-05/0.5242, allocations: 7.375 kB / 428 MB, free: 1.949 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-05/0.5243, allocations: 15.98 kB / 428 MB, free: 1.934 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003211/0.5247, allocations: 156.8 kB / 428.1 MB, free: 1.801 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.255e-06/0.5247, allocations: 0 / 428.1 MB, free: 1.801 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001007/0.5257, allocations: 58.58 kB / 428.2 MB, free: 1.754 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 43 ($whenCondition1,booleanConstant.y,booleanConstant.pulseStart,ClockedSignalToSquare.y,hold1.y,superSample1.y,fractionalDelay.y,backSample1.y,subSample1.y,superSample1.u,shiftSample1.y,ClockedSignalToSquare.u,backSample1.u,upSample1.y,upSample1.b_super,upSample1.u_super,UnitDelay1.u,UnitDelay1.y,assignClock1.u,assignClock1.y,hold1.u,sample2.y,sample1.y[1],sample1.y[2],sample1.y[3],assignClock2.u[1],assignClock2.u[2],assignClock2.u[3],assignClock2.y[1],assignClock2.y[2],assignClock2.y[3],subSample1.u,shiftSample1.u,booleanConstant1[1].y,booleanConstant1[2].y,booleanConstant1[3].y,sample3.y,upSample1.u,upSample1.dummy,upSample1.b,fractionalDelay.u,fractionalDelay.u_buffer[1],ClockedSignalToSquare.y2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002809/0.526, allocations: 125.3 kB / 428.3 MB, free: 1.629 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009141/0.527, allocations: 235.4 kB / 428.5 MB, free: 1.441 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.527, allocations: 4.062 kB / 428.6 MB, free: 1.438 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.5271, allocations: 11.5 kB / 428.6 MB, free: 1.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.5285, allocations: 202.3 kB / 428.8 MB, free: 1.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.5302, allocations: 421 kB / 429.2 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006973/0.531, allocations: 0.7897 MB / 430 MB, free: 56 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002068/0.5312, allocations: 26.97 kB / 430 MB, free: 24 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.5314, allocations: 27 kB / 430 MB, free: 0 / 346.7 MB Notification: Performance of SimCode: time 2.216e-06/0.5314, allocations: 0 / 430 MB, free: 0 / 346.7 MB Notification: Performance of Templates: time 0.01504/0.5465, allocations: 2.529 MB / 432.5 MB, free: 13.5 MB / 362.7 MB