Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestIntegerSamplerAndHolds,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestIntegerSamplerAndHolds") Notification: Performance of loadModel(Modelica_Synchronous): time 2.358/2.358, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.389e-05/3.401e-05, allocations: 6.188 kB / 284.3 MB, free: 8.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08772/0.08778, allocations: 50.36 MB / 334.7 MB, free: 5.742 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4393/0.5271, allocations: 83.79 MB / 418.5 MB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001811/0.5274, allocations: 63.03 kB / 418.6 MB, free: 10.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04262/0.57, allocations: 10.19 MB / 428.7 MB, free: 2.016 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.261e-06/0.57, allocations: 4 kB / 428.7 MB, free: 2.012 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.716e-05/0.5701, allocations: 11.94 kB / 428.8 MB, free: 2 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.001016/0.5711, allocations: 0.5989 MB / 429.4 MB, free: 1.371 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.5712, allocations: 12.03 kB / 429.4 MB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.5713, allocations: 43.44 kB / 429.4 MB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000778/0.5721, allocations: 373.8 kB / 429.8 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.988e-05/0.5722, allocations: 23.25 kB / 429.8 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.425e-05/0.5722, allocations: 27.12 kB / 429.8 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.5735, allocations: 0.662 MB / 430.5 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.5736, allocations: 0 / 430.5 MB, free: 312 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.699e-05/0.5736, allocations: 14.69 kB / 430.5 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.5736, allocations: 4 kB / 430.5 MB, free: 300 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003414/0.574, allocations: 142.2 kB / 430.6 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.5756, allocations: 1.164 MB / 431.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009795/0.5766, allocations: 0.6288 MB / 432.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004236/0.5771, allocations: 238.7 kB / 432.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.497e-05/0.5771, allocations: 16.44 kB / 432.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/0.5774, allocations: 115.7 kB / 432.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 4.166e-06/0.5774, allocations: 0 / 432.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.0008721/0.5783, allocations: 352 kB / 433.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000264/0.5786, allocations: 368.7 kB / 433.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006523/0.5792, allocations: 395.3 kB / 433.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.926e-05/0.5793, allocations: 33.58 kB / 433.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.5795, allocations: 165.1 kB / 434.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.084e-05/0.5795, allocations: 50.45 kB / 434.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.783e-05/0.5796, allocations: 11.75 kB / 434.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000209/0.5798, allocations: 356 kB / 434.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.58, allocations: 70.06 kB / 434.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004429/0.5804, allocations: 359.8 kB / 434.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002726/0.5807, allocations: 125.1 kB / 435 MB, free: 11.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/0.5808, allocations: 4 kB / 435 MB, free: 11.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008599/0.5816, allocations: 392.9 kB / 435.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.5817, allocations: 8.188 kB / 435.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.5817, allocations: 12 kB / 435.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.975e-05/0.5817, allocations: 12 kB / 435.5 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/0.5821, allocations: 91.7 kB / 435.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.446e-05/0.5822, allocations: 15.94 kB / 435.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/0.5825, allocations: 38.55 kB / 435.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.021e-05/0.5826, allocations: 26.86 kB / 435.6 MB, free: 11.29 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.0002219/0.5828, allocations: 176.5 kB / 435.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005953/0.5834, allocations: 283.9 kB / 436.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003802/0.5838, allocations: 144.9 kB / 436.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.5838, allocations: 11.94 kB / 436.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.029e-06/0.5839, allocations: 11.88 kB / 436.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.5839, allocations: 0 / 436.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004994/0.5844, allocations: 340.5 kB / 436.6 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.858e-06/0.5844, allocations: 4.125 kB / 436.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003468/0.5848, allocations: 75.02 kB / 436.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-05/0.5848, allocations: 4 kB / 436.6 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/0.5848, allocations: 14.2 kB / 436.7 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-06/0.5849, allocations: 4 kB / 436.7 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.478e-06/0.5849, allocations: 7.984 kB / 436.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009361/0.5858, allocations: 0.5448 MB / 437.2 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.586, allocations: 135.2 kB / 437.4 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.688e-05/0.5861, allocations: 10.5 kB / 437.4 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.5863, allocations: 14.62 kB / 437.4 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.232e-05/0.5864, allocations: 19.92 kB / 437.4 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.627e-05/0.5865, allocations: 18.55 kB / 437.4 MB, free: 9.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004702/0.5869, allocations: 295.9 kB / 437.7 MB, free: 9.359 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.03e-07/0.587, allocations: 0 / 437.7 MB, free: 9.359 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006953/0.5877, allocations: 93.58 kB / 437.8 MB, free: 9.285 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.001528/0.5892, allocations: 436.6 kB / 438.2 MB, free: 8.918 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007353/0.59, allocations: 284.3 kB / 438.5 MB, free: 8.695 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.034e-06/0.59, allocations: 0 / 438.5 MB, free: 8.695 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.5901, allocations: 49.42 kB / 438.5 MB, free: 8.656 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000893/0.591, allocations: 214.2 kB / 438.8 MB, free: 8.492 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.5924, allocations: 0.5817 MB / 439.3 MB, free: 7.945 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005884/0.593, allocations: 0.8383 MB / 440.2 MB, free: 7.086 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002325/0.5933, allocations: 59.77 kB / 440.2 MB, free: 7.027 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.5934, allocations: 38.42 kB / 440.3 MB, free: 6.992 MB / 362.7 MB Notification: Performance of SimCode: time 4.082e-06/0.5934, allocations: 4 kB / 440.3 MB, free: 6.988 MB / 362.7 MB Notification: Performance of Templates: time 0.01403/0.6075, allocations: 4.595 MB / 444.9 MB, free: 2.418 MB / 362.7 MB