Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestUnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestUnitDelay") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.338/2.338, allocations: 251.5 MB / 266 MB, free: 0.6758 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.1235/0.1235, allocations: 12.6 MB / 336.6 MB, free: 14.74 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.573e-05/3.585e-05, allocations: 4 kB / 399.8 MB, free: 15.46 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3805, allocations: 59.43 MB / 459.2 MB, free: 28.61 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestUnitDelay): time 0.002465/0.383, allocations: 1.65 MB / 460.8 MB, free: 26.95 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.3841, allocations: 0.5388 MB / 461.4 MB, free: 26.4 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.3843, allocations: 7.938 kB / 461.4 MB, free: 26.39 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 3.483e-05/0.3844, allocations: 11.86 kB / 461.4 MB, free: 26.38 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.3846, allocations: 27.89 kB / 461.4 MB, free: 26.36 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.3849, allocations: 59.94 kB / 461.5 MB, free: 26.3 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000195/0.3851, allocations: 87.78 kB / 461.6 MB, free: 26.21 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.3853, allocations: 34.7 kB / 461.6 MB, free: 26.18 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.3854, allocations: 43.84 kB / 461.7 MB, free: 26.14 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.205e-05/0.3855, allocations: 39.84 kB / 461.7 MB, free: 26.1 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.394e-05/0.3856, allocations: 4 kB / 461.7 MB, free: 26.09 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.3856, allocations: 4 kB / 461.7 MB, free: 26.09 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.469e-05/0.3856, allocations: 27.91 kB / 461.7 MB, free: 26.06 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.3857, allocations: 4 kB / 461.7 MB, free: 26.06 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.3858, allocations: 95.75 kB / 461.8 MB, free: 25.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3858, allocations: 0 / 461.8 MB, free: 25.96 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.3859, allocations: 0 / 461.8 MB, free: 25.96 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.3859, allocations: 0 / 461.8 MB, free: 25.96 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0007607/0.3866, allocations: 419.3 kB / 462.2 MB, free: 25.51 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.3867, allocations: 8.031 kB / 462.2 MB, free: 25.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.496e-05/0.3868, allocations: 19.77 kB / 462.3 MB, free: 25.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.3871, allocations: 223 kB / 462.5 MB, free: 25.22 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.3871, allocations: 8.234 kB / 462.5 MB, free: 25.21 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.3872, allocations: 11.94 kB / 462.5 MB, free: 25.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005568/0.3877, allocations: 223.7 kB / 462.7 MB, free: 24.96 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3878, allocations: 0 / 462.7 MB, free: 24.96 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.3878, allocations: 0 / 462.7 MB, free: 24.96 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.3878, allocations: 7.953 kB / 462.7 MB, free: 24.95 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003309/0.3882, allocations: 88.83 kB / 462.8 MB, free: 24.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008608/0.389, allocations: 0.7285 MB / 463.5 MB, free: 24.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005087/0.3896, allocations: 145.2 kB / 463.7 MB, free: 23.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.866e-05/0.3896, allocations: 4 kB / 463.7 MB, free: 23.9 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003159/0.3899, allocations: 115.5 kB / 463.8 MB, free: 23.78 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.986e-06/0.39, allocations: 3.938 kB / 463.8 MB, free: 23.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008152/0.3908, allocations: 217.5 kB / 464 MB, free: 23.55 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.3909, allocations: 85.05 kB / 464.1 MB, free: 23.45 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.391, allocations: 153.8 kB / 464.2 MB, free: 23.29 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.3911, allocations: 29.7 kB / 464.3 MB, free: 23.26 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.781e-05/0.3911, allocations: 120.2 kB / 464.4 MB, free: 23.13 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.3912, allocations: 31.55 kB / 464.4 MB, free: 23.1 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.154e-05/0.3912, allocations: 8 kB / 464.4 MB, free: 23.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.832e-05/0.3913, allocations: 326.8 kB / 464.8 MB, free: 22.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.3914, allocations: 39.97 kB / 464.8 MB, free: 22.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.3916, allocations: 106.4 kB / 464.9 MB, free: 22.59 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.3918, allocations: 55.88 kB / 465 MB, free: 22.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3918, allocations: 0 / 465 MB, free: 22.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004389/0.3922, allocations: 185.2 kB / 465.1 MB, free: 22.35 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.3923, allocations: 4.25 kB / 465.1 MB, free: 22.35 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.3923, allocations: 8 kB / 465.1 MB, free: 22.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.3923, allocations: 4 kB / 465.1 MB, free: 22.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.3925, allocations: 27.92 kB / 465.2 MB, free: 22.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.3926, allocations: 4 kB / 465.2 MB, free: 22.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.3927, allocations: 23.83 kB / 465.2 MB, free: 22.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.3927, allocations: 4 kB / 465.2 MB, free: 22.28 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition3,$whenCondition2,$whenCondition1,sampleClock.sampleTrigger,$PRE.sampler.discretePart.ticks,sampler.discretePart.ticks,sampler.discretePart.sampleTrigger,$PRE.ls_unitDelay.discretePart.ticks,ls_unitDelay.discretePart.ticks,ls_unitDelay.discretePart.sampleTrigger,$PRE.ls_unitDelay.discretePart.u_sampled,ls_unitDelay.discretePart.y_sampled,sampler.discretePart.u_sampled,ls_unitDelay.discretePart.u_sampled,ls_unitDelay.discretePart.cont,ls_unitDelay.cont,sampler.discretePart.cont,sampler.cont) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001383/0.3929, allocations: 140 kB / 465.3 MB, free: 22.13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.921e-05/0.393, allocations: 53.59 kB / 465.4 MB, free: 22.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.973e-05/0.3931, allocations: 17.41 kB / 465.4 MB, free: 22.06 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.3931, allocations: 0 / 465.4 MB, free: 22.06 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.3931, allocations: 3.984 kB / 465.4 MB, free: 22.05 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3931, allocations: 4 kB / 465.4 MB, free: 22.05 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009261/0.394, allocations: 498.5 kB / 465.9 MB, free: 21.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.3941, allocations: 0 / 465.9 MB, free: 21.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.3942, allocations: 15.98 kB / 465.9 MB, free: 21.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.3942, allocations: 0 / 465.9 MB, free: 21.49 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.3942, allocations: 11.94 kB / 465.9 MB, free: 21.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3942, allocations: 0 / 465.9 MB, free: 21.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.113e-06/0.3942, allocations: 0 / 465.9 MB, free: 21.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005416/0.3948, allocations: 292.1 kB / 466.2 MB, free: 21.17 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.625e-05/0.3949, allocations: 96.84 kB / 466.3 MB, free: 21.06 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.986e-05/0.3949, allocations: 8 kB / 466.3 MB, free: 21.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.3951, allocations: 11.98 kB / 466.3 MB, free: 21.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.322e-05/0.3952, allocations: 11.98 kB / 466.3 MB, free: 21.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-05/0.3952, allocations: 7.953 kB / 466.4 MB, free: 21.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001078/0.3953, allocations: 119.2 kB / 466.5 MB, free: 20.9 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3954, allocations: 0 / 466.5 MB, free: 20.9 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003608/0.3957, allocations: 31.98 kB / 466.5 MB, free: 20.87 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 (sampler.discretePart.sampleTrigger,ls_unitDelay.discretePart.sampleTrigger,sampleClock.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,sampler.discretePart.u_sampled,sampler.discretePart.ticks,ls_unitDelay.discretePart.u_sampled,ls_unitDelay.discretePart.ticks,ls_unitDelay.discretePart.y_sampled) * Number of discrete states: 3 (ls_unitDelay.discretePart.ticks,ls_unitDelay.discretePart.u_sampled,sampler.discretePart.ticks) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001348/0.3959, allocations: 115.1 kB / 466.6 MB, free: 20.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004693/0.3964, allocations: 128 kB / 466.7 MB, free: 20.62 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.3964, allocations: 0 / 466.7 MB, free: 20.62 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.3966, allocations: 60.41 kB / 466.8 MB, free: 20.56 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005068/0.3971, allocations: 51.94 kB / 466.8 MB, free: 20.51 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006677/0.3978, allocations: 310.9 kB / 467.2 MB, free: 20.18 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/0.398, allocations: 0.7168 MB / 467.9 MB, free: 19.44 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.564e-05/0.3981, allocations: 17.55 kB / 467.9 MB, free: 19.42 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.3982, allocations: 15.44 kB / 467.9 MB, free: 19.41 MB / 346.7 MB Notification: Performance of SimCode: time 1.112e-06/0.3982, allocations: 4 kB / 467.9 MB, free: 19.4 MB / 346.7 MB Notification: Performance of Templates: time 0.005832/0.404, allocations: 1.524 MB / 469.4 MB, free: 17.9 MB / 346.7 MB