Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger") Notification: Performance of loadModel(Modelica_Synchronous): time 2.593/2.593, allocations: 218.4 MB / 234.2 MB, free: 5.582 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.061e-05/3.069e-05, allocations: 7.938 kB / 287.6 MB, free: 56 kB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3696, allocations: 50.37 MB / 338 MB, free: 15.97 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger): time 0.002419/0.372, allocations: 1.247 MB / 339.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.3731, allocations: 452.7 kB / 339.7 MB, free: 14.26 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.014e-05/0.3732, allocations: 0 / 339.7 MB, free: 14.26 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.536e-05/0.3733, allocations: 7.922 kB / 339.7 MB, free: 14.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.982e-05/0.3734, allocations: 7.984 kB / 339.7 MB, free: 14.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.3737, allocations: 39.89 kB / 339.7 MB, free: 14.21 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.272e-05/0.3738, allocations: 31.91 kB / 339.7 MB, free: 14.18 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.3739, allocations: 15.97 kB / 339.8 MB, free: 14.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.236e-05/0.374, allocations: 15.94 kB / 339.8 MB, free: 14.14 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.226e-05/0.3741, allocations: 23.91 kB / 339.8 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.766e-05/0.3741, allocations: 4 kB / 339.8 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.3741, allocations: 4 kB / 339.8 MB, free: 14.11 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.599e-05/0.3742, allocations: 11.94 kB / 339.8 MB, free: 14.1 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.395e-05/0.3742, allocations: 4 kB / 339.8 MB, free: 14.1 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.762e-05/0.3743, allocations: 39.91 kB / 339.9 MB, free: 14.06 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.3743, allocations: 0 / 339.9 MB, free: 14.06 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3743, allocations: 0 / 339.9 MB, free: 14.06 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.3743, allocations: 0 / 339.9 MB, free: 14.06 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006129/0.375, allocations: 369.1 kB / 340.2 MB, free: 13.65 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.375, allocations: 11.97 kB / 340.2 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.3751, allocations: 7.906 kB / 340.2 MB, free: 13.63 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.3753, allocations: 186.9 kB / 340.4 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.3754, allocations: 4 kB / 340.4 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.3754, allocations: 8 kB / 340.4 MB, free: 13.4 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003866/0.3758, allocations: 136.9 kB / 340.6 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3758, allocations: 0 / 340.6 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.3758, allocations: 4 kB / 340.6 MB, free: 13.24 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.3759, allocations: 0 / 340.6 MB, free: 13.24 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.376, allocations: 23.98 kB / 340.6 MB, free: 13.22 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005618/0.3765, allocations: 305.6 kB / 340.9 MB, free: 12.87 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.3768, allocations: 158.4 kB / 341 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.3769, allocations: 3.938 kB / 341 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.3771, allocations: 67.45 kB / 341.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 7.073e-06/0.3771, allocations: 7.984 kB / 341.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003608/0.3775, allocations: 117.6 kB / 341.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.031e-05/0.3775, allocations: 81.11 kB / 341.3 MB, free: 12.37 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.3777, allocations: 108.9 kB / 341.4 MB, free: 12.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.3777, allocations: 33.7 kB / 341.5 MB, free: 12.21 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.378e-05/0.3778, allocations: 154.8 kB / 341.6 MB, free: 12.06 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.3779, allocations: 19.75 kB / 341.6 MB, free: 12.04 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.127e-06/0.3779, allocations: 4 kB / 341.6 MB, free: 12.04 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.378, allocations: 318.8 kB / 341.9 MB, free: 11.72 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.851e-05/0.3781, allocations: 23.98 kB / 342 MB, free: 11.7 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.3782, allocations: 65.94 kB / 342 MB, free: 11.61 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.53e-05/0.3783, allocations: 28 kB / 342.1 MB, free: 11.58 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.3784, allocations: 4 kB / 342.1 MB, free: 11.58 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002661/0.3786, allocations: 113.4 kB / 342.2 MB, free: 11.46 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.3787, allocations: 8.375 kB / 342.2 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3787, allocations: 0 / 342.2 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.3787, allocations: 4 kB / 342.2 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.239e-05/0.3788, allocations: 7.938 kB / 342.2 MB, free: 11.44 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.3788, allocations: 7.938 kB / 342.2 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.379, allocations: 16.14 kB / 342.2 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.379, allocations: 8 kB / 342.2 MB, free: 11.41 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: 15 ($PRE.triggeredBooleanSampler.y,triggeredBooleanSampler.y,$whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,ClockedSignalToTrigger.uu,ClockedSignalToTrigger.y2,$CLKPRE.ClockedSignalToTrigger.y2,$whenCondition2,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 (15): * Single equations (assignments): 15 * 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.000144/0.3792, allocations: 128.8 kB / 342.3 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.933e-05/0.3793, allocations: 53.59 kB / 342.4 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.026e-05/0.3793, allocations: 8.375 kB / 342.4 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.3793, allocations: 0 / 342.4 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.3794, allocations: 4 kB / 342.4 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.3794, allocations: 0 / 342.4 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005504/0.3799, allocations: 350.4 kB / 342.8 MB, free: 10.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.38, allocations: 0 / 342.8 MB, free: 10.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.576e-05/0.38, allocations: 12.06 kB / 342.8 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.38, allocations: 0 / 342.8 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.38, allocations: 4 kB / 342.8 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.253e-06/0.38, allocations: 0 / 342.8 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.3801, allocations: 3.938 kB / 342.8 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.3803, allocations: 213.9 kB / 343 MB, free: 10.55 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.057e-05/0.3804, allocations: 89 kB / 343.1 MB, free: 10.44 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.3805, allocations: 4 kB / 343.1 MB, free: 10.44 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.3806, allocations: 8 kB / 343.1 MB, free: 10.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.192e-05/0.3807, allocations: 12.22 kB / 343.1 MB, free: 10.42 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.3807, allocations: 0 / 343.1 MB, free: 10.42 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.562e-05/0.3808, allocations: 95.27 kB / 343.2 MB, free: 10.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.3808, allocations: 0 / 343.2 MB, free: 10.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003265/0.3811, allocations: 16 kB / 343.2 MB, free: 10.31 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.uu,ClockedSignalToTrigger.y,$whenCondition2,$whenCondition1,ClockedSignalToTrigger.y3,booleanPulse.y,booleanPulse.pulseStart,triggeredBooleanSampler.y) * Number of discrete states: 1 (ClockedSignalToTrigger.y3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.0001488/0.3813, allocations: 107.2 kB / 343.3 MB, free: 10.2 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002308/0.3816, allocations: 68.23 kB / 343.4 MB, free: 10.13 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3816, allocations: 3.938 kB / 343.4 MB, free: 10.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.877e-05/0.3817, allocations: 20 kB / 343.4 MB, free: 10.11 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.382, allocations: 36.55 kB / 343.4 MB, free: 10.07 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005016/0.3825, allocations: 199.7 kB / 343.6 MB, free: 9.844 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.3829, allocations: 0.7043 MB / 344.3 MB, free: 9.113 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.191e-05/0.383, allocations: 23.38 kB / 344.4 MB, free: 9.09 MB / 282.7 MB Notification: Performance of SimCode: time 7.62e-07/0.383, allocations: 0 / 344.4 MB, free: 9.09 MB / 282.7 MB Notification: Performance of Templates: time 0.00356/0.3865, allocations: 1.038 MB / 345.4 MB, free: 8.051 MB / 282.7 MB