Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.253/2.253, allocations: 251.5 MB / 266 MB, free: 0.6914 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.09492/0.09493, allocations: 12.59 MB / 336.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.359e-05/3.344e-05, allocations: 8 kB / 399.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3661, allocations: 59.43 MB / 459.2 MB, free: 28.51 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger): time 0.001812/0.3679, allocations: 1.252 MB / 460.4 MB, free: 27.24 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008096/0.3688, allocations: 448.1 kB / 460.9 MB, free: 26.8 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.037e-05/0.3689, allocations: 4 kB / 460.9 MB, free: 26.79 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.996e-05/0.3689, allocations: 7.922 kB / 460.9 MB, free: 26.79 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.944e-05/0.369, allocations: 11.98 kB / 460.9 MB, free: 26.77 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.3693, allocations: 43.83 kB / 460.9 MB, free: 26.73 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 7.552e-05/0.3694, allocations: 27.97 kB / 461 MB, free: 26.7 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.531e-05/0.3695, allocations: 15.98 kB / 461 MB, free: 26.69 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.366e-05/0.3695, allocations: 19.92 kB / 461 MB, free: 26.67 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.265e-05/0.3696, allocations: 19.91 kB / 461 MB, free: 26.65 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.987e-05/0.3696, allocations: 4 kB / 461 MB, free: 26.64 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.3696, allocations: 0 / 461 MB, free: 26.64 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.928e-05/0.3697, allocations: 11.94 kB / 461 MB, free: 26.63 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.964e-05/0.3697, allocations: 8 kB / 461 MB, free: 26.62 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 7.895e-05/0.3698, allocations: 46.58 kB / 461.1 MB, free: 26.58 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3698, allocations: 0 / 461.1 MB, free: 26.58 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3698, allocations: 0 / 461.1 MB, free: 26.58 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.3698, allocations: 0 / 461.1 MB, free: 26.58 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004812/0.3703, allocations: 359.2 kB / 461.4 MB, free: 26.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.3704, allocations: 8.031 kB / 461.4 MB, free: 26.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.3704, allocations: 11.86 kB / 461.5 MB, free: 26.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.3706, allocations: 186.9 kB / 461.6 MB, free: 25.94 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.3706, allocations: 15.92 kB / 461.7 MB, free: 25.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.3707, allocations: 4 kB / 461.7 MB, free: 25.92 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/0.371, allocations: 129 kB / 461.8 MB, free: 25.78 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.371, allocations: 0 / 461.8 MB, free: 25.78 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.371, allocations: 7.984 kB / 461.8 MB, free: 25.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.371, allocations: 0 / 461.8 MB, free: 25.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.716e-05/0.3711, allocations: 27.98 kB / 461.8 MB, free: 25.74 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.3716, allocations: 301.5 kB / 462.1 MB, free: 25.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.3718, allocations: 154.4 kB / 462.3 MB, free: 25.21 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.3718, allocations: 4 kB / 462.3 MB, free: 25.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001272/0.372, allocations: 71.44 kB / 462.3 MB, free: 25.12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.094e-06/0.372, allocations: 0 / 462.3 MB, free: 25.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002968/0.3723, allocations: 117.5 kB / 462.5 MB, free: 25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.3723, allocations: 89.17 kB / 462.5 MB, free: 24.89 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.218e-05/0.3724, allocations: 116.9 kB / 462.7 MB, free: 24.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.3725, allocations: 25.7 kB / 462.7 MB, free: 24.74 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.798e-05/0.3725, allocations: 88.38 kB / 462.8 MB, free: 24.65 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.3725, allocations: 19.75 kB / 462.8 MB, free: 24.63 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.3726, allocations: 4 kB / 462.8 MB, free: 24.63 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.648e-05/0.3726, allocations: 318.8 kB / 463.1 MB, free: 24.31 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.874e-05/0.3727, allocations: 19.98 kB / 463.1 MB, free: 24.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.102e-05/0.3728, allocations: 76.33 kB / 463.2 MB, free: 24.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.01e-05/0.3729, allocations: 20 kB / 463.2 MB, free: 24.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3729, allocations: 4 kB / 463.2 MB, free: 24.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002178/0.3731, allocations: 113.5 kB / 463.3 MB, free: 24.05 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.3731, allocations: 8 kB / 463.3 MB, free: 24.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.3732, allocations: 320 / 463.3 MB, free: 24.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3732, allocations: 7.953 kB / 463.3 MB, free: 24.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.912e-05/0.3733, allocations: 12.3 kB / 463.4 MB, free: 24.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.3733, allocations: 4 kB / 463.4 MB, free: 24.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.3734, allocations: 12 kB / 463.4 MB, free: 24.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.3734, allocations: 7.984 kB / 463.4 MB, free: 24 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: 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 8.741e-05/0.3735, allocations: 137.6 kB / 463.5 MB, free: 23.86 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-05/0.3736, allocations: 49.61 kB / 463.6 MB, free: 23.8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.828e-05/0.3737, allocations: 12.36 kB / 463.6 MB, free: 23.79 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.3737, allocations: 4 kB / 463.6 MB, free: 23.79 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.3737, allocations: 3.953 kB / 463.6 MB, free: 23.79 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.3737, allocations: 4 kB / 463.6 MB, free: 23.78 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003381/0.3741, allocations: 346.5 kB / 463.9 MB, free: 23.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3741, allocations: 4 kB / 463.9 MB, free: 23.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.899e-05/0.3741, allocations: 7.984 kB / 463.9 MB, free: 23.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3741, allocations: 0 / 463.9 MB, free: 23.38 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.3741, allocations: 7.953 kB / 463.9 MB, free: 23.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3741, allocations: 0 / 463.9 MB, free: 23.37 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3742, allocations: 0 / 463.9 MB, free: 23.37 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.3744, allocations: 206 kB / 464.1 MB, free: 23.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.942e-05/0.3744, allocations: 96.97 kB / 464.2 MB, free: 23.03 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.3744, allocations: 4.281 kB / 464.2 MB, free: 23.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.3746, allocations: 7.984 kB / 464.3 MB, free: 23.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.3746, allocations: 7.984 kB / 464.3 MB, free: 23.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.3747, allocations: 8 kB / 464.3 MB, free: 23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.278e-05/0.3747, allocations: 87.27 kB / 464.4 MB, free: 22.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3747, allocations: 0 / 464.4 MB, free: 22.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003006/0.375, allocations: 20 kB / 464.4 MB, free: 22.89 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.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 9.398e-05/0.3751, allocations: 115.1 kB / 464.5 MB, free: 22.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.3753, allocations: 63.92 kB / 464.6 MB, free: 22.71 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.3753, allocations: 0 / 464.6 MB, free: 22.71 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.867e-05/0.3754, allocations: 19.98 kB / 464.6 MB, free: 22.69 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.3758, allocations: 36 kB / 464.6 MB, free: 22.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000395/0.3762, allocations: 182.3 kB / 464.8 MB, free: 22.45 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.3764, allocations: 0.7004 MB / 465.5 MB, free: 21.73 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.645e-05/0.3764, allocations: 4.719 kB / 465.5 MB, free: 21.72 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.3765, allocations: 15.44 kB / 465.5 MB, free: 21.71 MB / 346.7 MB Notification: Performance of SimCode: time 7.41e-07/0.3765, allocations: 4 kB / 465.5 MB, free: 21.7 MB / 346.7 MB Notification: Performance of Templates: time 0.003861/0.3803, allocations: 0.7757 MB / 466.3 MB, free: 20.93 MB / 346.7 MB