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 2.402/2.402, allocations: 218.4 MB / 234.2 MB, free: 5.586 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.903e-05/2.921e-05, allocations: 4 kB / 287.6 MB, free: 72 kB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3298, allocations: 50.37 MB / 338 MB, free: 16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger): time 0.002831/0.3327, allocations: 1.565 MB / 339.5 MB, free: 14.41 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.3349, allocations: 0.89 MB / 340.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.335, allocations: 4 kB / 340.4 MB, free: 13.51 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003044/0.3353, allocations: 51.8 kB / 340.5 MB, free: 13.46 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.3356, allocations: 71.81 kB / 340.5 MB, free: 13.39 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008148/0.3364, allocations: 179.5 kB / 340.7 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.3366, allocations: 91.77 kB / 340.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.3368, allocations: 19.97 kB / 340.8 MB, free: 13.11 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.3369, allocations: 55.78 kB / 340.9 MB, free: 13.05 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.337, allocations: 59.81 kB / 340.9 MB, free: 12.99 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.3372, allocations: 51.84 kB / 341 MB, free: 12.94 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.894e-05/0.3373, allocations: 4 kB / 341 MB, free: 12.94 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.926e-05/0.3374, allocations: 43.89 kB / 341 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.271e-05/0.3374, allocations: 12 kB / 341 MB, free: 12.88 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003368/0.3378, allocations: 177.5 kB / 341.2 MB, free: 12.71 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.3378, allocations: 0 / 341.2 MB, free: 12.71 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3378, allocations: 0 / 341.2 MB, free: 12.71 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.3378, allocations: 0 / 341.2 MB, free: 12.71 MB / 282.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.0007853/0.3386, allocations: 476.5 kB / 341.7 MB, free: 12.19 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.3387, allocations: 8.031 kB / 341.7 MB, free: 12.18 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.791e-05/0.3388, allocations: 27.66 kB / 341.7 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004672/0.3392, allocations: 269.7 kB / 342 MB, free: 11.85 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.3393, allocations: 12 kB / 342 MB, free: 11.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.3393, allocations: 8 kB / 342 MB, free: 11.83 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004807/0.3398, allocations: 173.7 kB / 342.2 MB, free: 11.64 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3399, allocations: 0 / 342.2 MB, free: 11.64 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.3399, allocations: 11.95 kB / 342.2 MB, free: 11.63 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.3399, allocations: 4 kB / 342.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001987/0.3401, allocations: 39.97 kB / 342.2 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007709/0.3409, allocations: 409.3 kB / 342.6 MB, free: 11.13 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004108/0.3413, allocations: 133.4 kB / 342.8 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/0.3414, allocations: 0 / 342.8 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002773/0.3417, allocations: 95.22 kB / 342.9 MB, free: 10.88 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 2.325e-06/0.3417, allocations: 4 kB / 342.9 MB, free: 10.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.00062/0.3423, allocations: 177.4 kB / 343 MB, free: 10.7 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.3425, allocations: 132.5 kB / 343.2 MB, free: 10.54 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004783/0.343, allocations: 300.4 kB / 343.5 MB, free: 10.24 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.343, allocations: 29.7 kB / 343.5 MB, free: 10.2 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.3431, allocations: 184.6 kB / 343.7 MB, free: 10.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.66e-05/0.3432, allocations: 27.64 kB / 343.7 MB, free: 9.996 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.258e-05/0.3432, allocations: 7.938 kB / 343.7 MB, free: 9.988 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3434, allocations: 318.8 kB / 344 MB, free: 9.668 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.3435, allocations: 39.91 kB / 344 MB, free: 9.629 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.3437, allocations: 120.5 kB / 344.2 MB, free: 9.48 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.3439, allocations: 43.98 kB / 344.2 MB, free: 9.438 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3439, allocations: 0 / 344.2 MB, free: 9.438 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004389/0.3444, allocations: 153.4 kB / 344.4 MB, free: 9.281 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.3444, allocations: 4 kB / 344.4 MB, free: 9.277 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.3444, allocations: 8.094 kB / 344.4 MB, free: 9.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3445, allocations: 4.234 kB / 344.4 MB, free: 9.266 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.3447, allocations: 31.92 kB / 344.4 MB, free: 9.234 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.3447, allocations: 0 / 344.4 MB, free: 9.234 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.3449, allocations: 16.03 kB / 344.4 MB, free: 9.219 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.3449, allocations: 8 kB / 344.4 MB, free: 9.211 MB / 282.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.0002044/0.3451, allocations: 168 kB / 344.6 MB, free: 9.039 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.3452, allocations: 65.36 kB / 344.7 MB, free: 8.969 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.927e-05/0.3453, allocations: 25.7 kB / 344.7 MB, free: 8.938 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3453, allocations: 4 kB / 344.7 MB, free: 8.934 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3454, allocations: 4 kB / 344.7 MB, free: 8.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.3454, allocations: 3.984 kB / 344.7 MB, free: 8.926 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008096/0.3462, allocations: 470.4 kB / 345.2 MB, free: 8.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3462, allocations: 0 / 345.2 MB, free: 8.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.3463, allocations: 8 kB / 345.2 MB, free: 8.402 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.3463, allocations: 7.984 kB / 345.2 MB, free: 8.395 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.3464, allocations: 4 kB / 345.2 MB, free: 8.391 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.3464, allocations: 3.938 kB / 345.2 MB, free: 8.387 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3464, allocations: 4 kB / 345.2 MB, free: 8.383 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004907/0.3469, allocations: 269.9 kB / 345.4 MB, free: 8.094 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.109e-05/0.347, allocations: 96.83 kB / 345.5 MB, free: 7.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.693e-05/0.3471, allocations: 8 kB / 345.5 MB, free: 7.973 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.3473, allocations: 7.984 kB / 345.6 MB, free: 7.965 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/0.3473, allocations: 15.98 kB / 345.6 MB, free: 7.949 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.453e-05/0.3474, allocations: 4 kB / 345.6 MB, free: 7.945 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003546/0.3477, allocations: 240.5 kB / 345.8 MB, free: 7.707 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.3478, allocations: 3.938 kB / 345.8 MB, free: 7.703 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004169/0.3482, allocations: 39.98 kB / 345.8 MB, free: 7.664 MB / 282.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 (14): * Single equations (assignments): 11 * 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.001184/0.3494, allocations: 409.5 kB / 346.2 MB, free: 7.316 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000404/0.3498, allocations: 107.9 kB / 346.4 MB, free: 7.211 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.3498, allocations: 0 / 346.4 MB, free: 7.211 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.35, allocations: 47.91 kB / 346.4 MB, free: 7.164 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.3505, allocations: 52.44 kB / 346.5 MB, free: 7.113 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009445/0.3515, allocations: 441.4 kB / 346.9 MB, free: 6.648 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00049/0.352, allocations: 0.7479 MB / 347.6 MB, free: 5.875 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.698e-05/0.3521, allocations: 27.42 kB / 347.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.3521, allocations: 0 / 347.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of Templates: time 0.008027/0.3601, allocations: 3.067 MB / 350.7 MB, free: 2.777 MB / 282.7 MB