Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger") Notification: Performance of loadModel(Modelica_Synchronous): time 1.963/1.963, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.519e-05/4.525e-05, allocations: 8 kB / 284.3 MB, free: 8.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08736/0.08743, allocations: 50.36 MB / 334.7 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.45/0.5374, allocations: 82.14 MB / 416.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000186/0.5377, allocations: 61.97 kB / 416.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02314/0.5608, allocations: 5.78 MB / 422.6 MB, free: 7.203 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.215e-06/0.5609, allocations: 4 kB / 422.6 MB, free: 7.199 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.433e-05/0.5609, allocations: 0 / 422.6 MB, free: 7.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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007191/0.5617, allocations: 0.4936 MB / 423.1 MB, free: 6.668 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.5617, allocations: 8.031 kB / 423.1 MB, free: 6.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.031e-05/0.5618, allocations: 27.66 kB / 423.2 MB, free: 6.633 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005247/0.5623, allocations: 293.6 kB / 423.5 MB, free: 6.328 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.5624, allocations: 7.375 kB / 423.5 MB, free: 6.324 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.205e-05/0.5624, allocations: 7.984 kB / 423.5 MB, free: 6.316 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000398/0.5628, allocations: 164.9 kB / 423.6 MB, free: 6.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.826e-06/0.5629, allocations: 0 / 423.6 MB, free: 6.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.5629, allocations: 7.062 kB / 423.6 MB, free: 6.156 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.065e-06/0.5629, allocations: 0 / 423.6 MB, free: 6.156 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.5631, allocations: 49.8 kB / 423.7 MB, free: 6.121 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007775/0.5639, allocations: 427.1 kB / 424.1 MB, free: 5.707 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.5641, allocations: 122 kB / 424.2 MB, free: 5.598 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.5643, allocations: 48.66 kB / 424.3 MB, free: 5.555 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.5643, allocations: 7.984 kB / 424.3 MB, free: 5.547 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001995/0.5645, allocations: 88.28 kB / 424.4 MB, free: 5.465 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 3.128e-06/0.5645, allocations: 0 / 424.4 MB, free: 5.465 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004017/0.565, allocations: 149.4 kB / 424.5 MB, free: 5.336 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.5651, allocations: 136.5 kB / 424.6 MB, free: 5.172 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004512/0.5656, allocations: 300.8 kB / 424.9 MB, free: 4.926 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/0.5656, allocations: 28.95 kB / 425 MB, free: 4.895 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.5657, allocations: 178.8 kB / 425.1 MB, free: 4.738 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.592e-05/0.5658, allocations: 34.2 kB / 425.2 MB, free: 4.711 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.04e-05/0.5658, allocations: 2.938 kB / 425.2 MB, free: 4.711 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.566, allocations: 313.6 kB / 425.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.308e-05/0.5661, allocations: 33.12 kB / 425.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.5663, allocations: 125.6 kB / 425.6 MB, free: 4.246 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.5664, allocations: 46.47 kB / 425.7 MB, free: 4.211 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.5664, allocations: 0 / 425.7 MB, free: 4.211 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003429/0.5668, allocations: 149 kB / 425.8 MB, free: 4.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.5668, allocations: 7.984 kB / 425.8 MB, free: 4.082 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.478e-06/0.5668, allocations: 4 kB / 425.8 MB, free: 4.078 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.5669, allocations: 128 / 425.8 MB, free: 4.078 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.567, allocations: 31.92 kB / 425.9 MB, free: 4.047 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.788e-06/0.5671, allocations: 0 / 425.9 MB, free: 4.047 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.5672, allocations: 16.09 kB / 425.9 MB, free: 4.035 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.5672, allocations: 4 kB / 425.9 MB, free: 4.031 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.triggeredBooleanSampler.y,triggeredBooleanSampler.y,$whenCondition2,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,ClockedSignalToTrigger.y2,$CLKPRE.ClockedSignalToTrigger.y2,$whenCondition1,ClockedSignalToTrigger.y,$PRE.ClockedSignalToTrigger.y3,ClockedSignalToTrigger.y3,ClockedSignalToTrigger.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001266/0.5674, allocations: 129.5 kB / 426 MB, free: 3.906 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.5675, allocations: 69.3 kB / 426.1 MB, free: 3.836 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003399/0.5679, allocations: 141 kB / 426.2 MB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.5679, allocations: 4 kB / 426.2 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.441e-06/0.5679, allocations: 0 / 426.2 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.336e-06/0.5679, allocations: 3.984 kB / 426.2 MB, free: 3.719 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007692/0.5687, allocations: 0.4914 MB / 426.7 MB, free: 3.242 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.914e-06/0.5688, allocations: 96 / 426.7 MB, free: 3.242 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.932e-05/0.5689, allocations: 15.92 kB / 426.7 MB, free: 3.227 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.997e-06/0.5689, allocations: 4 kB / 426.7 MB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.5689, allocations: 0 / 426.7 MB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-05/0.5689, allocations: 11.92 kB / 426.8 MB, free: 3.211 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.049e-06/0.5689, allocations: 0 / 426.8 MB, free: 3.211 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004207/0.5694, allocations: 272.8 kB / 427 MB, free: 2.949 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.5695, allocations: 112 kB / 427.1 MB, free: 2.828 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5e-05/0.5696, allocations: 4 kB / 427.1 MB, free: 2.824 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.5698, allocations: 7.875 kB / 427.1 MB, free: 2.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.023e-05/0.5698, allocations: 7.984 kB / 427.2 MB, free: 2.812 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.5699, allocations: 11.11 kB / 427.2 MB, free: 2.805 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003272/0.5702, allocations: 232.8 kB / 427.4 MB, free: 2.617 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.15e-07/0.5702, allocations: 4 kB / 427.4 MB, free: 2.613 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005145/0.5708, allocations: 61.94 kB / 427.5 MB, free: 2.562 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (sample1.y,ClockedSignalToTrigger.u,ClockedSignalToTrigger.y2,ClockedSignalToTrigger.y,$whenCondition2,$whenCondition1,ClockedSignalToTrigger.y3,triggeredBooleanSampler.y,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 3 (integerTable.combiTimeTable.nextTimeEvent,ClockedSignalToTrigger.y3,integerTable.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001443/0.5722, allocations: 417.3 kB / 427.9 MB, free: 2.207 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003345/0.5726, allocations: 111.9 kB / 428 MB, free: 2.121 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.644e-06/0.5726, allocations: 4.312 kB / 428 MB, free: 2.117 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.5727, allocations: 46.23 kB / 428 MB, free: 2.082 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/0.5732, allocations: 54.06 kB / 428.1 MB, free: 2.043 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000717/0.5739, allocations: 329.9 kB / 428.4 MB, free: 1.734 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/0.5744, allocations: 0.7523 MB / 429.1 MB, free: 0.957 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.937e-05/0.5745, allocations: 27.3 kB / 429.2 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of SimCode: time 1.508e-06/0.5745, allocations: 3.938 kB / 429.2 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of Templates: time 0.00674/0.5812, allocations: 3.137 MB / 432.3 MB, free: 13.82 MB / 362.7 MB