Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestIntegerSamplerAndHolds,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestIntegerSamplerAndHolds") Notification: Performance of loadModel(Modelica_Synchronous): time 2.053/2.053, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.475e-05/4.497e-05, allocations: 6.188 kB / 284.3 MB, free: 8.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08946/0.08954, allocations: 50.36 MB / 334.7 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3643/0.4538, allocations: 83.85 MB / 418.5 MB, free: 10.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001916/0.4541, allocations: 62.8 kB / 418.6 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04346/0.4976, allocations: 10.18 MB / 428.8 MB, free: 1.898 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.513e-06/0.4976, allocations: 4 kB / 428.8 MB, free: 1.895 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.979e-05/0.4977, allocations: 4 kB / 428.8 MB, free: 1.891 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001026/0.4987, allocations: 0.6103 MB / 429.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.4988, allocations: 8.031 kB / 429.4 MB, free: 1.242 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.4989, allocations: 47.44 kB / 429.4 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007412/0.4997, allocations: 372 kB / 429.8 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.836e-05/0.4997, allocations: 15.69 kB / 429.8 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.536e-05/0.4998, allocations: 37.86 kB / 429.9 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.5011, allocations: 0.6593 MB / 430.5 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.5011, allocations: 0 / 430.5 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.791e-05/0.5012, allocations: 15 kB / 430.5 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.5012, allocations: 8 kB / 430.5 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000333/0.5015, allocations: 140.5 kB / 430.7 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/0.5031, allocations: 1.158 MB / 431.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009314/0.504, allocations: 0.6256 MB / 432.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004141/0.5045, allocations: 243.1 kB / 432.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.576e-05/0.5045, allocations: 8.453 kB / 432.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002189/0.5048, allocations: 122.1 kB / 432.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 4.325e-06/0.5048, allocations: 0 / 432.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.0008708/0.5057, allocations: 353.7 kB / 433.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002394/0.5059, allocations: 361.3 kB / 433.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006427/0.5066, allocations: 403 kB / 433.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.785e-05/0.5066, allocations: 31.45 kB / 433.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.5068, allocations: 208.2 kB / 434.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.466e-05/0.5069, allocations: 46.09 kB / 434.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.5069, allocations: 11.12 kB / 434.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.5071, allocations: 325.8 kB / 434.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.5073, allocations: 74.3 kB / 434.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004201/0.5077, allocations: 353.8 kB / 434.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.508, allocations: 135.1 kB / 435.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.667e-06/0.508, allocations: 0 / 435.1 MB, free: 11.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000806/0.5088, allocations: 373.4 kB / 435.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.5089, allocations: 8 kB / 435.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.5089, allocations: 12.16 kB / 435.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.17e-05/0.5089, allocations: 16 kB / 435.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003767/0.5093, allocations: 82.66 kB / 435.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.563e-05/0.5094, allocations: 19.92 kB / 435.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003354/0.5097, allocations: 38.94 kB / 435.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.353e-05/0.5098, allocations: 23.5 kB / 435.6 MB, free: 11.16 MB / 362.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: 51 ($whenCondition1,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,backSample1.y,upSample1.u_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample1.y,backSample1.u,shiftSample1.y,fractionalDelay.y,ClockedSignalToSquare.u,superSample1.y,superSample1.u,subSample1.y,fractionalDelay.u_buffer[1],fractionalDelay.u,UnitDelay1.y,UnitDelay1.u,$CLKPRE.UnitDelay1.u,upSample1.b,$CLKPRE.upSample1.b,upSample1.dummy,upSample1.u,sample3.y,shiftSample1.u,subSample1.u,assignClock2.y[3],assignClock2.y[2],assignClock2.y[1],assignClock2.u[3],assignClock2.u[2],assignClock2.u[1],integerConstant3[3].y,integerConstant3[2].y,integerConstant3[1].y,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 (53): * Single equations (assignments): 53 * 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.0002205/0.51, allocations: 174.5 kB / 435.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005918/0.5106, allocations: 283 kB / 436.1 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003882/0.511, allocations: 151.6 kB / 436.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.5111, allocations: 11.94 kB / 436.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.5111, allocations: 4 kB / 436.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.5111, allocations: 11.92 kB / 436.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004712/0.5116, allocations: 335.9 kB / 436.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.609e-06/0.5116, allocations: 4.125 kB / 436.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003421/0.512, allocations: 71.84 kB / 436.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.258e-05/0.512, allocations: 4 kB / 436.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.053e-05/0.512, allocations: 23 kB / 436.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.919e-06/0.5121, allocations: 4 kB / 436.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.378e-06/0.5121, allocations: 0 / 436.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008865/0.513, allocations: 0.5387 MB / 437.2 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.5132, allocations: 136.1 kB / 437.4 MB, free: 9.508 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.768e-05/0.5132, allocations: 14.56 kB / 437.4 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.5134, allocations: 14.98 kB / 437.4 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.375e-05/0.5135, allocations: 23.91 kB / 437.4 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.262e-05/0.5136, allocations: 15.62 kB / 437.4 MB, free: 9.457 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000464/0.5141, allocations: 300.6 kB / 437.7 MB, free: 9.223 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.88e-07/0.5141, allocations: 0 / 437.7 MB, free: 9.223 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006866/0.5148, allocations: 94.06 kB / 437.8 MB, free: 9.145 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 44 ($whenCondition1,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,ClockedSignalToSquare.y,hold1.y,backSample1.y,upSample1.y,upSample1.b_super,upSample1.u_super,fractionalDelay.y,shiftSample1.y,backSample1.u,superSample1.y,ClockedSignalToSquare.u,subSample1.y,superSample1.u,assignClock1.u,assignClock1.y,hold1.u,sample2.y,sample1.y[1],sample1.y[2],sample1.y[3],integerConstant3[1].y,integerConstant3[2].y,integerConstant3[3].y,assignClock2.u[1],assignClock2.u[2],assignClock2.u[3],assignClock2.y[1],assignClock2.y[2],assignClock2.y[3],subSample1.u,shiftSample1.u,sample3.y,upSample1.u,upSample1.dummy,upSample1.b,UnitDelay1.u,UnitDelay1.y,fractionalDelay.u,fractionalDelay.u_buffer[1],ClockedSignalToSquare.y2) * Number of discrete states: 2 (integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00153/0.5163, allocations: 440.5 kB / 438.2 MB, free: 8.777 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000729/0.5171, allocations: 282.5 kB / 438.5 MB, free: 8.555 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.204e-06/0.5171, allocations: 0 / 438.5 MB, free: 8.555 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.5172, allocations: 39.06 kB / 438.6 MB, free: 8.527 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008848/0.5181, allocations: 227.9 kB / 438.8 MB, free: 8.352 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.5195, allocations: 0.5979 MB / 439.4 MB, free: 7.781 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005705/0.5201, allocations: 0.8427 MB / 440.2 MB, free: 6.918 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.5202, allocations: 42.36 kB / 440.3 MB, free: 6.879 MB / 362.7 MB Notification: Performance of SimCode: time 1.678e-06/0.5203, allocations: 0 / 440.3 MB, free: 6.879 MB / 362.7 MB Notification: Performance of Templates: time 0.01072/0.531, allocations: 5.227 MB / 445.5 MB, free: 1.695 MB / 362.7 MB