Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.273/2.273, allocations: 251.5 MB / 266 MB, free: 0.6797 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.1034/0.1034, allocations: 12.6 MB / 336.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.29e-05/4.291e-05, allocations: 4 kB / 399.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3955, allocations: 59.44 MB / 459.2 MB, free: 28.62 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger): time 0.002212/0.3978, allocations: 1.558 MB / 460.7 MB, free: 27.05 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.3995, allocations: 0.9016 MB / 461.6 MB, free: 26.14 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.3996, allocations: 4 kB / 461.7 MB, free: 26.13 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002597/0.3999, allocations: 55.78 kB / 461.7 MB, free: 26.08 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002057/0.4001, allocations: 63.83 kB / 461.8 MB, free: 26.02 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007289/0.4009, allocations: 187.4 kB / 462 MB, free: 25.83 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.4011, allocations: 75.84 kB / 462 MB, free: 25.76 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.14e-05/0.4012, allocations: 31.91 kB / 462.1 MB, free: 25.73 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.4013, allocations: 59.77 kB / 462.1 MB, free: 25.67 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.4014, allocations: 55.83 kB / 462.2 MB, free: 25.61 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.4016, allocations: 47.92 kB / 462.2 MB, free: 25.57 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.578e-05/0.4016, allocations: 4 kB / 462.2 MB, free: 25.56 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.974e-05/0.4017, allocations: 43.89 kB / 462.3 MB, free: 25.52 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.848e-05/0.4017, allocations: 8 kB / 462.3 MB, free: 25.51 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.402, allocations: 178.3 kB / 462.4 MB, free: 25.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.402, allocations: 0 / 462.4 MB, free: 25.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.402, allocations: 0 / 462.4 MB, free: 25.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.4021, allocations: 0 / 462.4 MB, free: 25.34 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.0006178/0.4027, allocations: 488.3 kB / 462.9 MB, free: 24.81 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.4027, allocations: 12.03 kB / 462.9 MB, free: 24.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.228e-05/0.4028, allocations: 23.72 kB / 463 MB, free: 24.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003742/0.4032, allocations: 265.7 kB / 463.2 MB, free: 24.47 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.4032, allocations: 4 kB / 463.2 MB, free: 24.47 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.4033, allocations: 8 kB / 463.2 MB, free: 24.46 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004121/0.4037, allocations: 192.1 kB / 463.4 MB, free: 24.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.4037, allocations: 0 / 463.4 MB, free: 24.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.4037, allocations: 3.984 kB / 463.4 MB, free: 24.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.4038, allocations: 0 / 463.4 MB, free: 24.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.404, allocations: 47.97 kB / 463.5 MB, free: 24.2 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000635/0.4046, allocations: 409.4 kB / 463.9 MB, free: 23.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/0.405, allocations: 121.4 kB / 464 MB, free: 23.61 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.405, allocations: 7.984 kB / 464 MB, free: 23.6 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/0.4053, allocations: 95.3 kB / 464.1 MB, free: 23.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.074e-06/0.4053, allocations: 0 / 464.1 MB, free: 23.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005564/0.4058, allocations: 177.3 kB / 464.3 MB, free: 23.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/0.4059, allocations: 140.7 kB / 464.4 MB, free: 23.15 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003708/0.4063, allocations: 296 kB / 464.7 MB, free: 22.86 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.4063, allocations: 25.7 kB / 464.7 MB, free: 22.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.545e-05/0.4064, allocations: 144 kB / 464.9 MB, free: 22.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.4065, allocations: 23.66 kB / 464.9 MB, free: 22.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.204e-05/0.4065, allocations: 8 kB / 464.9 MB, free: 22.65 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.412e-05/0.4066, allocations: 338.8 kB / 465.2 MB, free: 22.31 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.4067, allocations: 35.98 kB / 465.2 MB, free: 22.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.4069, allocations: 120.5 kB / 465.4 MB, free: 22.12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.4071, allocations: 40 kB / 465.4 MB, free: 22.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4071, allocations: 384 / 465.4 MB, free: 22.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004041/0.4075, allocations: 173.2 kB / 465.6 MB, free: 21.91 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.4076, allocations: 9.094 kB / 465.6 MB, free: 21.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.4076, allocations: 0 / 465.6 MB, free: 21.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.4076, allocations: 11.92 kB / 465.6 MB, free: 21.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.4078, allocations: 16 kB / 465.6 MB, free: 21.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.4078, allocations: 15.88 kB / 465.6 MB, free: 21.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.408, allocations: 11.91 kB / 465.6 MB, free: 21.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.408, allocations: 8 kB / 465.6 MB, free: 21.84 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.0001573/0.4082, allocations: 156.2 kB / 465.8 MB, free: 21.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.4083, allocations: 69.44 kB / 465.9 MB, free: 21.61 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.807e-05/0.4084, allocations: 25.7 kB / 465.9 MB, free: 21.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.4084, allocations: 4 kB / 465.9 MB, free: 21.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.4084, allocations: 0 / 465.9 MB, free: 21.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.4084, allocations: 3.953 kB / 465.9 MB, free: 21.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006641/0.4091, allocations: 474.2 kB / 466.4 MB, free: 21.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.4091, allocations: 0 / 466.4 MB, free: 21.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.4092, allocations: 16 kB / 466.4 MB, free: 21.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.4092, allocations: 0 / 466.4 MB, free: 21.03 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.4092, allocations: 3.984 kB / 466.4 MB, free: 21.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.4093, allocations: 7.953 kB / 466.4 MB, free: 21.02 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.4093, allocations: 3.938 kB / 466.4 MB, free: 21.02 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003916/0.4097, allocations: 261.9 kB / 466.6 MB, free: 20.73 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.511e-05/0.4097, allocations: 100.9 kB / 466.7 MB, free: 20.62 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.343e-05/0.4098, allocations: 11.95 kB / 466.8 MB, free: 20.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.41, allocations: 4 kB / 466.8 MB, free: 20.6 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/0.4101, allocations: 11.98 kB / 466.8 MB, free: 20.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.4101, allocations: 8.109 kB / 466.8 MB, free: 20.58 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002827/0.4104, allocations: 240.4 kB / 467 MB, free: 20.35 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4104, allocations: 3.938 kB / 467 MB, free: 20.35 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004246/0.4108, allocations: 39.91 kB / 467.1 MB, free: 20.31 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 (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.001083/0.4119, allocations: 408.7 kB / 467.5 MB, free: 19.96 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004222/0.4124, allocations: 103.8 kB / 467.6 MB, free: 19.86 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.4124, allocations: 0 / 467.6 MB, free: 19.86 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.4126, allocations: 43.92 kB / 467.6 MB, free: 19.82 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004944/0.4131, allocations: 60.67 kB / 467.7 MB, free: 19.76 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007784/0.4139, allocations: 407.6 kB / 468.1 MB, free: 19.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.4141, allocations: 0.7479 MB / 468.8 MB, free: 18.56 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001399/0.4143, allocations: 33.53 kB / 468.8 MB, free: 18.53 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.92e-05/0.4143, allocations: 27.42 kB / 468.9 MB, free: 18.5 MB / 346.7 MB Notification: Performance of SimCode: time 9.22e-07/0.4144, allocations: 0 / 468.9 MB, free: 18.5 MB / 346.7 MB Notification: Performance of Templates: time 0.008507/0.4229, allocations: 2.684 MB / 471.6 MB, free: 15.83 MB / 346.7 MB