Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds") Notification: Performance of loadModel(Modelica_Synchronous): time 1.979/1.979, allocations: 218.4 MB / 231.5 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.167e-05/4.175e-05, allocations: 6.188 kB / 284.3 MB, free: 8.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08503/0.08509, allocations: 50.37 MB / 334.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3459/0.431, allocations: 80.25 MB / 414.9 MB, free: 14 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001788/0.4313, allocations: 57.42 kB / 415 MB, free: 13.97 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02418/0.4555, allocations: 5.708 MB / 420.7 MB, free: 9.207 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.403e-06/0.4555, allocations: 0 / 420.7 MB, free: 9.207 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.152e-05/0.4556, allocations: 7.938 kB / 420.7 MB, free: 9.199 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.0007292/0.4563, allocations: 470.6 kB / 421.2 MB, free: 8.715 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.4563, allocations: 11.97 kB / 421.2 MB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.577e-05/0.4564, allocations: 31.62 kB / 421.2 MB, free: 8.672 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004235/0.4569, allocations: 263.7 kB / 421.5 MB, free: 8.383 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.982e-05/0.4569, allocations: 23.27 kB / 421.5 MB, free: 8.367 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.337e-05/0.457, allocations: 23.5 kB / 421.5 MB, free: 8.352 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.4582, allocations: 0.6183 MB / 422.1 MB, free: 7.785 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.4582, allocations: 4 kB / 422.1 MB, free: 7.781 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.4582, allocations: 11.06 kB / 422.1 MB, free: 7.777 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.393e-05/0.4583, allocations: 11.94 kB / 422.1 MB, free: 7.766 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002917/0.4586, allocations: 122.2 kB / 422.3 MB, free: 7.672 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.4598, allocations: 1.018 MB / 423.3 MB, free: 6.613 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008615/0.4607, allocations: 0.6924 MB / 424 MB, free: 5.801 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003802/0.4611, allocations: 217.7 kB / 424.2 MB, free: 5.602 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.136e-05/0.4611, allocations: 19.98 kB / 424.2 MB, free: 5.582 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.4613, allocations: 88.5 kB / 424.3 MB, free: 5.484 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 4.145e-06/0.4613, allocations: 8 kB / 424.3 MB, free: 5.477 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.0007041/0.462, allocations: 306.3 kB / 424.6 MB, free: 5.223 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002502/0.4623, allocations: 344.4 kB / 424.9 MB, free: 4.824 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/0.4626, allocations: 206.8 kB / 425.1 MB, free: 4.645 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.4626, allocations: 32.02 kB / 425.2 MB, free: 4.613 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.4628, allocations: 175.8 kB / 425.3 MB, free: 4.457 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.143e-05/0.4628, allocations: 39.83 kB / 425.4 MB, free: 4.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.602e-05/0.4629, allocations: 9.688 kB / 425.4 MB, free: 4.426 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.463, allocations: 325.6 kB / 425.7 MB, free: 4.105 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.4632, allocations: 51.36 kB / 425.8 MB, free: 4.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003318/0.4635, allocations: 305.5 kB / 426.1 MB, free: 3.672 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002215/0.4638, allocations: 111.8 kB / 426.2 MB, free: 3.582 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.332e-06/0.4638, allocations: 4 kB / 426.2 MB, free: 3.578 MB / 346.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006937/0.4645, allocations: 334.8 kB / 426.5 MB, free: 3.289 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.4645, allocations: 11.95 kB / 426.5 MB, free: 3.277 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/0.4646, allocations: 8 kB / 426.5 MB, free: 3.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.14e-05/0.4646, allocations: 12 kB / 426.5 MB, free: 3.258 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.947e-05/0.4647, allocations: 35.05 kB / 426.6 MB, free: 3.227 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.954e-05/0.4648, allocations: 19.92 kB / 426.6 MB, free: 3.207 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/0.465, allocations: 18.88 kB / 426.6 MB, free: 3.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.969e-05/0.4651, allocations: 23.5 kB / 426.6 MB, free: 3.176 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.0001802/0.4653, allocations: 169.7 kB / 426.8 MB, free: 3.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005471/0.4658, allocations: 258.7 kB / 427 MB, free: 2.805 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.244e-05/0.4659, allocations: 42.72 kB / 427.1 MB, free: 2.785 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.466, allocations: 8 kB / 427.1 MB, free: 2.777 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.905e-06/0.466, allocations: 8.156 kB / 427.1 MB, free: 2.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.466, allocations: 3.984 kB / 427.1 MB, free: 2.766 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000359/0.4664, allocations: 246.9 kB / 427.3 MB, free: 2.508 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.301e-06/0.4664, allocations: 0 / 427.3 MB, free: 2.508 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.621e-05/0.4665, allocations: 23.86 kB / 427.4 MB, free: 2.484 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/0.4665, allocations: 4 kB / 427.4 MB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.4665, allocations: 14.86 kB / 427.4 MB, free: 2.473 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-05/0.4666, allocations: 7.953 kB / 427.4 MB, free: 2.465 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.702e-06/0.4666, allocations: 7.938 kB / 427.4 MB, free: 2.457 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007452/0.4673, allocations: 0.4942 MB / 427.9 MB, free: 1.926 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.57e-05/0.4674, allocations: 104.8 kB / 428 MB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.148e-05/0.4675, allocations: 11.19 kB / 428 MB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.4677, allocations: 18.3 kB / 428 MB, free: 1.789 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.4678, allocations: 4 kB / 428 MB, free: 1.785 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.672e-05/0.4678, allocations: 19.3 kB / 428 MB, free: 1.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001837/0.468, allocations: 156.7 kB / 428.2 MB, free: 1.637 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.99e-07/0.468, allocations: 0 / 428.2 MB, free: 1.637 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000532/0.4686, allocations: 54.14 kB / 428.3 MB, free: 1.594 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.0001914/0.4688, allocations: 135.9 kB / 428.4 MB, free: 1.457 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005181/0.4693, allocations: 235.2 kB / 428.6 MB, free: 1.27 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.167e-06/0.4693, allocations: 0 / 428.6 MB, free: 1.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.602e-05/0.4694, allocations: 19 kB / 428.6 MB, free: 1.254 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007054/0.4701, allocations: 191.7 kB / 428.8 MB, free: 1.105 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009655/0.4711, allocations: 459.3 kB / 429.3 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005076/0.4716, allocations: 0.7907 MB / 430.1 MB, free: 15.85 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.27e-05/0.4717, allocations: 27.42 kB / 430.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of SimCode: time 1.68e-06/0.4717, allocations: 0 / 430.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of Templates: time 0.006416/0.4782, allocations: 3.151 MB / 433.2 MB, free: 12.7 MB / 362.7 MB