Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|triggeredSampler.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") Notification: Performance of loadModel(Modelica): time 2.091/2.091, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.801e-05/2.819e-05, allocations: 0 / 292.7 MB, free: 8.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09093/0.09099, allocations: 50.42 MB / 343.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3601/0.4511, allocations: 77.74 MB / 420.8 MB, free: 432 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.4514, allocations: 80.56 kB / 420.9 MB, free: 384 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006769/0.4582, allocations: 1.685 MB / 422.6 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4583, allocations: 3.938 kB / 422.6 MB, free: 14.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.4583, allocations: 0 / 422.6 MB, free: 14.91 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.0004951/0.4588, allocations: 375.1 kB / 423 MB, free: 14.51 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.4589, allocations: 8.031 kB / 423 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.167e-05/0.4589, allocations: 19.77 kB / 423 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.4592, allocations: 194 kB / 423.2 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.853e-05/0.4592, allocations: 7 kB / 423.2 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.4592, allocations: 7.984 kB / 423.2 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.4596, allocations: 125.6 kB / 423.3 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.376e-06/0.4596, allocations: 0 / 423.3 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.4596, allocations: 11.94 kB / 423.3 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.4596, allocations: 4 kB / 423.3 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.498e-05/0.4597, allocations: 22.25 kB / 423.4 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005683/0.4603, allocations: 304.3 kB / 423.6 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.4606, allocations: 155.2 kB / 423.8 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.62e-05/0.4607, allocations: 34.22 kB / 423.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.4607, allocations: 0 / 423.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001225/0.4609, allocations: 58.31 kB / 423.9 MB, free: 13.49 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.619e-06/0.4609, allocations: 0 / 423.9 MB, free: 13.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002511/0.4611, allocations: 91.83 kB / 424 MB, free: 13.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.451e-05/0.4612, allocations: 81.02 kB / 424.1 MB, free: 13.31 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.4614, allocations: 133.5 kB / 424.2 MB, free: 13.19 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.4614, allocations: 28.7 kB / 424.2 MB, free: 13.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.989e-05/0.4615, allocations: 90.64 kB / 424.3 MB, free: 13.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.4616, allocations: 15.19 kB / 424.3 MB, free: 13.06 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-06/0.4616, allocations: 0 / 424.3 MB, free: 13.06 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.4617, allocations: 322.1 kB / 424.6 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.285e-05/0.4618, allocations: 23.12 kB / 424.7 MB, free: 12.72 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.587e-05/0.4619, allocations: 55.52 kB / 424.7 MB, free: 12.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.84e-05/0.462, allocations: 22.38 kB / 424.7 MB, free: 12.64 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.935e-06/0.462, allocations: 3.953 kB / 424.7 MB, free: 12.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002346/0.4623, allocations: 103.5 kB / 424.8 MB, free: 12.54 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.4623, allocations: 4 kB / 424.8 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.4623, allocations: 0 / 424.8 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.4623, allocations: 7.938 kB / 424.9 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.4625, allocations: 15.98 kB / 424.9 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.4625, allocations: 0 / 424.9 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.28e-05/0.4626, allocations: 11.84 kB / 424.9 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.4626, allocations: 4 kB / 424.9 MB, free: 12.5 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,clockToTrigger.y2,$CLKPRE.clockToTrigger.y2,$whenCondition1,clockToTrigger.y,$PRE.clockToTrigger.y3,clockToTrigger.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 0.0001007/0.4627, allocations: 112.4 kB / 425 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.4628, allocations: 56.8 kB / 425 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.959e-05/0.4629, allocations: 19.05 kB / 425.1 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.4629, allocations: 3.984 kB / 425.1 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.467e-06/0.4629, allocations: 0 / 425.1 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.744e-06/0.463, allocations: 4 kB / 425.1 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004514/0.4634, allocations: 342.7 kB / 425.4 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.568e-06/0.4634, allocations: 0 / 425.4 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.265e-05/0.4635, allocations: 11.98 kB / 425.4 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.874e-06/0.4636, allocations: 0 / 425.4 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.4636, allocations: 4 kB / 425.4 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.109e-06/0.4636, allocations: 0 / 425.4 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.113e-06/0.4636, allocations: 0 / 425.4 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.4639, allocations: 210.9 kB / 425.6 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.677e-05/0.464, allocations: 100.3 kB / 425.7 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.464, allocations: 3.188 kB / 425.7 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.4642, allocations: 7.984 kB / 425.7 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.4642, allocations: 4 kB / 425.7 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.4642, allocations: 0 / 425.7 MB, free: 11.59 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001094/0.4644, allocations: 111.5 kB / 425.9 MB, free: 11.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.11e-07/0.4644, allocations: 4 kB / 425.9 MB, free: 11.49 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000349/0.4647, allocations: 19.98 kB / 425.9 MB, free: 11.48 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 (clockToTrigger.y2,clockToTrigger.y,$whenCondition1,triggeredSampler.y,clockToTrigger.y3) * Number of discrete states: 1 (clockToTrigger.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 0.0001474/0.4649, allocations: 111.1 kB / 426 MB, free: 11.36 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.4651, allocations: 54.56 kB / 426 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.285e-06/0.4651, allocations: 0 / 426 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.19e-05/0.4652, allocations: 11.5 kB / 426 MB, free: 11.31 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.4655, allocations: 27.33 kB / 426.1 MB, free: 11.29 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004086/0.4659, allocations: 133.6 kB / 426.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.4663, allocations: 0.7082 MB / 426.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.438e-05/0.4664, allocations: 4.672 kB / 426.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.164e-05/0.4664, allocations: 11.44 kB / 426.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of SimCode: time 1.572e-06/0.4665, allocations: 0 / 426.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of Templates: time 0.003917/0.4704, allocations: 0.7005 MB / 427.6 MB, free: 9.699 MB / 346.7 MB