Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|triggeredSampler.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") Notification: Performance of loadModel(Modelica): time 2.129/2.129, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.154e-05/3.173e-05, allocations: 4 kB / 292.2 MB, free: 8.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0987/0.09876, allocations: 50.41 MB / 342.6 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4569/0.5557, allocations: 77.74 MB / 420.3 MB, free: 452 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.556, allocations: 82.5 kB / 420.4 MB, free: 404 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006578/0.5626, allocations: 1.681 MB / 422.1 MB, free: 14.94 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.001e-06/0.5626, allocations: 0 / 422.1 MB, free: 14.94 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.5627, allocations: 7.938 kB / 422.1 MB, free: 14.93 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.0004841/0.5631, allocations: 366.2 kB / 422.4 MB, free: 14.53 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.5632, allocations: 8.031 kB / 422.4 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.837e-05/0.5633, allocations: 15.77 kB / 422.5 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.5635, allocations: 190.8 kB / 422.6 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.5635, allocations: 6.562 kB / 422.7 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.5636, allocations: 11.31 kB / 422.7 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003221/0.5639, allocations: 133.1 kB / 422.8 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.5639, allocations: 0 / 422.8 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.564, allocations: 7.891 kB / 422.8 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.976e-06/0.564, allocations: 0 / 422.8 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.604e-05/0.5641, allocations: 22.88 kB / 422.8 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005693/0.5647, allocations: 302.7 kB / 423.1 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.565, allocations: 152.1 kB / 423.3 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.039e-05/0.5651, allocations: 40.77 kB / 423.3 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.5651, allocations: 4 kB / 423.3 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001267/0.5652, allocations: 57.91 kB / 423.4 MB, free: 13.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 3.129e-06/0.5653, allocations: 0 / 423.4 MB, free: 13.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002459/0.5655, allocations: 82.84 kB / 423.4 MB, free: 13.44 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.74e-05/0.5656, allocations: 96.38 kB / 423.5 MB, free: 13.33 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.5658, allocations: 126 kB / 423.7 MB, free: 13.21 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.5658, allocations: 25.7 kB / 423.7 MB, free: 13.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.205e-05/0.5659, allocations: 94.56 kB / 423.8 MB, free: 13.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.566, allocations: 19.5 kB / 423.8 MB, free: 13.08 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.058e-06/0.566, allocations: 0 / 423.8 MB, free: 13.08 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.5661, allocations: 322.7 kB / 424.1 MB, free: 12.76 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.019e-05/0.5662, allocations: 15.06 kB / 424.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.5663, allocations: 59.78 kB / 424.2 MB, free: 12.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.5665, allocations: 22.86 kB / 424.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/0.5665, allocations: 3.953 kB / 424.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004127/0.5669, allocations: 98.84 kB / 424.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/0.567, allocations: 11.98 kB / 424.3 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.795e-06/0.567, allocations: 0 / 424.3 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.992e-05/0.5671, allocations: 4 kB / 424.3 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.5673, allocations: 14.5 kB / 424.3 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.98e-05/0.5673, allocations: 7.984 kB / 424.3 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.5675, allocations: 7.984 kB / 424.4 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.5675, allocations: 7.875 kB / 424.4 MB, free: 12.52 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.0001419/0.5677, allocations: 117.1 kB / 424.5 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.5679, allocations: 59.73 kB / 424.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.628e-05/0.568, allocations: 9.594 kB / 424.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.905e-06/0.568, allocations: 4 kB / 424.6 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.176e-06/0.568, allocations: 0 / 424.6 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.269e-06/0.568, allocations: 0 / 424.6 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006514/0.5687, allocations: 332.7 kB / 424.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.5687, allocations: 4 kB / 424.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.5689, allocations: 12 kB / 424.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.994e-06/0.5689, allocations: 192 / 424.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.569, allocations: 11.05 kB / 424.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.529e-06/0.569, allocations: 4 kB / 424.9 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.569, allocations: 0 / 424.9 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003871/0.5694, allocations: 202.4 kB / 425.1 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.5696, allocations: 104.2 kB / 425.2 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.113e-05/0.5696, allocations: 7.938 kB / 425.2 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.5698, allocations: 7.5 kB / 425.2 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.5699, allocations: 3.984 kB / 425.2 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.57, allocations: 4 kB / 425.2 MB, free: 11.61 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001595/0.5701, allocations: 112.2 kB / 425.3 MB, free: 11.51 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.116e-06/0.5701, allocations: 0 / 425.3 MB, free: 11.51 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006784/0.5708, allocations: 11.95 kB / 425.4 MB, free: 11.5 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.0002271/0.5711, allocations: 114.3 kB / 425.5 MB, free: 11.38 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003011/0.5714, allocations: 53.36 kB / 425.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.182e-06/0.5715, allocations: 0 / 425.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.8e-05/0.5716, allocations: 15 kB / 425.5 MB, free: 11.33 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.5721, allocations: 25.09 kB / 425.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005174/0.5726, allocations: 131.1 kB / 425.7 MB, free: 11.17 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005126/0.5731, allocations: 0.7086 MB / 426.4 MB, free: 10.43 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.81e-05/0.5732, allocations: 8.656 kB / 426.4 MB, free: 10.42 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.822e-05/0.5733, allocations: 15.44 kB / 426.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of SimCode: time 1.887e-06/0.5733, allocations: 0 / 426.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of Templates: time 0.005303/0.5787, allocations: 0.6997 MB / 427.1 MB, free: 9.723 MB / 346.7 MB