Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.315/2.315, allocations: 251.5 MB / 266 MB, free: 0.6758 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.0986/0.0986, allocations: 12.61 MB / 336.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.368e-05/4.37e-05, allocations: 4 kB / 399.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3788, allocations: 59.43 MB / 459.2 MB, free: 28.62 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger): time 0.001926/0.3808, allocations: 1.291 MB / 460.5 MB, free: 27.32 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008476/0.3817, allocations: 468 kB / 460.9 MB, free: 26.86 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.665e-05/0.3818, allocations: 0 / 460.9 MB, free: 26.86 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.917e-05/0.3818, allocations: 0 / 460.9 MB, free: 26.86 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.3819, allocations: 11.92 kB / 461 MB, free: 26.84 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003728/0.3823, allocations: 39.83 kB / 461 MB, free: 26.8 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 7.883e-05/0.3824, allocations: 27.91 kB / 461 MB, free: 26.78 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.154e-05/0.3825, allocations: 15.98 kB / 461 MB, free: 26.76 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.724e-05/0.3826, allocations: 15.98 kB / 461 MB, free: 26.75 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.716e-05/0.3827, allocations: 23.86 kB / 461.1 MB, free: 26.72 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.596e-05/0.3827, allocations: 0 / 461.1 MB, free: 26.72 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.3827, allocations: 7.984 kB / 461.1 MB, free: 26.71 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.3828, allocations: 4 kB / 461.1 MB, free: 26.71 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.939e-05/0.3828, allocations: 4 kB / 461.1 MB, free: 26.71 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 7.951e-05/0.3829, allocations: 38.59 kB / 461.1 MB, free: 26.67 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3829, allocations: 0 / 461.1 MB, free: 26.67 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.3829, allocations: 4 kB / 461.1 MB, free: 26.67 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.3829, allocations: 4 kB / 461.1 MB, free: 26.66 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004326/0.3834, allocations: 347.2 kB / 461.5 MB, free: 26.28 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.3834, allocations: 11.97 kB / 461.5 MB, free: 26.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.3835, allocations: 11.86 kB / 461.5 MB, free: 26.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.3836, allocations: 183 kB / 461.7 MB, free: 26.04 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.3837, allocations: 8 kB / 461.7 MB, free: 26.03 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.3837, allocations: 4 kB / 461.7 MB, free: 26.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/0.384, allocations: 141 kB / 461.8 MB, free: 25.87 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3841, allocations: 0 / 461.8 MB, free: 25.87 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.3841, allocations: 8 kB / 461.8 MB, free: 25.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3841, allocations: 3.938 kB / 461.8 MB, free: 25.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.3843, allocations: 35.92 kB / 461.9 MB, free: 25.82 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000486/0.3848, allocations: 305.5 kB / 462.2 MB, free: 25.47 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.3851, allocations: 162.3 kB / 462.3 MB, free: 25.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.3851, allocations: 0 / 462.3 MB, free: 25.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001516/0.3853, allocations: 63.5 kB / 462.4 MB, free: 25.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.944e-06/0.3853, allocations: 0 / 462.4 MB, free: 25.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003992/0.3857, allocations: 133.4 kB / 462.5 MB, free: 25.06 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.3858, allocations: 85.05 kB / 462.6 MB, free: 24.96 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.983e-05/0.3858, allocations: 101.2 kB / 462.7 MB, free: 24.86 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.3859, allocations: 33.7 kB / 462.7 MB, free: 24.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.662e-05/0.3859, allocations: 88.39 kB / 462.8 MB, free: 24.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.3859, allocations: 19.8 kB / 462.8 MB, free: 24.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.261e-06/0.386, allocations: 4 kB / 462.8 MB, free: 24.7 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.995e-05/0.386, allocations: 318.8 kB / 463.2 MB, free: 24.38 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.124e-05/0.3861, allocations: 19.98 kB / 463.2 MB, free: 24.36 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.3862, allocations: 61.12 kB / 463.2 MB, free: 24.29 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.3864, allocations: 32.25 kB / 463.3 MB, free: 24.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3864, allocations: 0 / 463.3 MB, free: 24.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002786/0.3867, allocations: 125.6 kB / 463.4 MB, free: 24.12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3867, allocations: 8 kB / 463.4 MB, free: 24.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.3867, allocations: 3.938 kB / 463.4 MB, free: 24.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3867, allocations: 7.938 kB / 463.4 MB, free: 24.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.3869, allocations: 11.95 kB / 463.4 MB, free: 24.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3869, allocations: 4 kB / 463.4 MB, free: 24.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.142e-05/0.387, allocations: 11.98 kB / 463.4 MB, free: 24.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.387, allocations: 4 kB / 463.4 MB, free: 24.07 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.triggeredSampler.y,triggeredSampler.y,ClockedRealToTrigger.y2,$CLKPRE.ClockedRealToTrigger.y2,$whenCondition1,ClockedRealToTrigger.y,$PRE.ClockedRealToTrigger.y3,ClockedRealToTrigger.y3) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.403e-05/0.3871, allocations: 123.7 kB / 463.6 MB, free: 23.95 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.376e-05/0.3872, allocations: 57.59 kB / 463.6 MB, free: 23.88 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.722e-05/0.3872, allocations: 11.97 kB / 463.6 MB, free: 23.87 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3872, allocations: 0 / 463.6 MB, free: 23.87 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.3873, allocations: 7.953 kB / 463.6 MB, free: 23.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3873, allocations: 384 / 463.6 MB, free: 23.86 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.3877, allocations: 330.5 kB / 464 MB, free: 23.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3877, allocations: 0 / 464 MB, free: 23.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.139e-05/0.3878, allocations: 19.98 kB / 464 MB, free: 23.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3878, allocations: 3.938 kB / 464 MB, free: 23.46 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.3878, allocations: 7.953 kB / 464 MB, free: 23.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3878, allocations: 0 / 464 MB, free: 23.45 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3878, allocations: 4 kB / 464 MB, free: 23.45 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.3881, allocations: 210 kB / 464.2 MB, free: 23.22 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.921e-05/0.3882, allocations: 89 kB / 464.3 MB, free: 23.11 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.3882, allocations: 3.953 kB / 464.3 MB, free: 23.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.3883, allocations: 4 kB / 464.3 MB, free: 23.11 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.3884, allocations: 4 kB / 464.3 MB, free: 23.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.3884, allocations: 7.984 kB / 464.3 MB, free: 23.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.047e-05/0.3884, allocations: 87.28 kB / 464.4 MB, free: 23.01 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3884, allocations: 4 kB / 464.4 MB, free: 23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003029/0.3888, allocations: 12 kB / 464.4 MB, free: 22.99 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: 5 (ClockedRealToTrigger.y2,ClockedRealToTrigger.y,$whenCondition1,ClockedRealToTrigger.y3,triggeredSampler.y) * Number of discrete states: 1 (ClockedRealToTrigger.y3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.112e-05/0.3889, allocations: 107.2 kB / 464.5 MB, free: 22.88 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002572/0.3891, allocations: 68.03 kB / 464.6 MB, free: 22.81 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3891, allocations: 0 / 464.6 MB, free: 22.81 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.165e-05/0.3892, allocations: 24.36 kB / 464.6 MB, free: 22.79 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.3895, allocations: 26.09 kB / 464.6 MB, free: 22.76 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003804/0.3899, allocations: 194.5 kB / 464.8 MB, free: 22.55 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.39, allocations: 0.7004 MB / 465.5 MB, free: 21.82 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.097e-05/0.3901, allocations: 7.984 kB / 465.5 MB, free: 21.81 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.3902, allocations: 15.8 kB / 465.5 MB, free: 21.8 MB / 346.7 MB Notification: Performance of SimCode: time 6.21e-07/0.3902, allocations: 0 / 465.5 MB, free: 21.8 MB / 346.7 MB Notification: Performance of Templates: time 0.003504/0.3937, allocations: 0.5799 MB / 466.1 MB, free: 21.22 MB / 346.7 MB