Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadModel(Modelica): time 2.201/2.201, allocations: 225.8 MB / 238.8 MB, free: 11.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.947e-05/2.968e-05, allocations: 4 kB / 292.1 MB, free: 8.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09092/0.09097, allocations: 50.41 MB / 342.6 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3726/0.4636, allocations: 76.66 MB / 419.2 MB, free: 1.492 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.4639, allocations: 76.83 kB / 419.3 MB, free: 1.449 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003926/0.4679, allocations: 1.1 MB / 420.4 MB, free: 484 kB / 330.7 MB Notification: Performance of FrontEnd: time 4.764e-06/0.4679, allocations: 0 / 420.4 MB, free: 484 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.4679, allocations: 7.875 kB / 420.4 MB, free: 476 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003883/0.4683, allocations: 344.9 kB / 420.7 MB, free: 92 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.4684, allocations: 8.031 kB / 420.7 MB, free: 84 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/0.4684, allocations: 11.86 kB / 420.8 MB, free: 72 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.4687, allocations: 188.9 kB / 420.9 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.4687, allocations: 4 kB / 420.9 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.4688, allocations: 0 / 420.9 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.4691, allocations: 108.8 kB / 421.1 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.4691, allocations: 3.938 kB / 421.1 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.376e-06/0.4691, allocations: 4 kB / 421.1 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.267e-06/0.4691, allocations: 0 / 421.1 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.329e-05/0.4692, allocations: 15.27 kB / 421.1 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.4696, allocations: 257.4 kB / 421.3 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.4698, allocations: 140.4 kB / 421.5 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.719e-05/0.4699, allocations: 24.16 kB / 421.5 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.4699, allocations: 0 / 421.5 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.4699, allocations: 30.56 kB / 421.5 MB, free: 15.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.039e-06/0.4699, allocations: 0 / 421.5 MB, free: 15.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001875/0.4701, allocations: 57.3 kB / 421.6 MB, free: 15.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/0.4702, allocations: 88.95 kB / 421.7 MB, free: 15.04 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.4704, allocations: 120.7 kB / 421.8 MB, free: 14.92 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.4704, allocations: 25.7 kB / 421.8 MB, free: 14.89 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.541e-05/0.4705, allocations: 88.08 kB / 421.9 MB, free: 14.8 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.227e-05/0.4705, allocations: 3.984 kB / 421.9 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-06/0.4705, allocations: 0 / 421.9 MB, free: 14.8 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.4707, allocations: 314.6 kB / 422.2 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.4707, allocations: 4 kB / 422.2 MB, free: 14.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.682e-05/0.4707, allocations: 31.19 kB / 422.2 MB, free: 14.44 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.262e-05/0.4708, allocations: 13.08 kB / 422.2 MB, free: 14.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.984e-06/0.4708, allocations: 4 kB / 422.3 MB, free: 14.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001167/0.4709, allocations: 49.64 kB / 422.3 MB, free: 14.38 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.471, allocations: 8 kB / 422.3 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.471, allocations: 0 / 422.3 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.471, allocations: 4 kB / 422.3 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.022e-05/0.471, allocations: 8.078 kB / 422.3 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.578e-06/0.471, allocations: 0 / 422.3 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.723e-05/0.4711, allocations: 4 kB / 422.3 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.021e-06/0.4711, allocations: 0 / 422.3 MB, free: 14.35 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.131e-05/0.4712, allocations: 109.4 kB / 422.4 MB, free: 14.24 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.4714, allocations: 61.08 kB / 422.5 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/0.4714, allocations: 11.59 kB / 422.5 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.351e-06/0.4714, allocations: 4 kB / 422.5 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.08e-06/0.4715, allocations: 3.953 kB / 422.5 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.813e-06/0.4715, allocations: 0 / 422.5 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.4717, allocations: 161.5 kB / 422.7 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.17e-06/0.4717, allocations: 0 / 422.7 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.477e-05/0.4718, allocations: 7.562 kB / 422.7 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.249e-06/0.4718, allocations: 0 / 422.7 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.362e-06/0.4718, allocations: 0 / 422.7 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.523e-06/0.4718, allocations: 0 / 422.7 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.243e-06/0.4718, allocations: 8 kB / 422.7 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.472, allocations: 173.6 kB / 422.9 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.575e-05/0.4721, allocations: 88.83 kB / 422.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.4722, allocations: 3.984 kB / 422.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.4723, allocations: 8 kB / 423 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.4723, allocations: 7.953 kB / 423 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.155e-06/0.4723, allocations: 0 / 423 MB, free: 13.64 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.754e-05/0.4724, allocations: 107.5 kB / 423.1 MB, free: 13.54 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.15e-07/0.4725, allocations: 0 / 423.1 MB, free: 13.54 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000315/0.4728, allocations: 4 kB / 423.1 MB, free: 13.54 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: 4 (sample1.u,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001364/0.4729, allocations: 103.2 kB / 423.2 MB, free: 13.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001036/0.473, allocations: 23.56 kB / 423.2 MB, free: 13.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.903e-06/0.4731, allocations: 256 / 423.2 MB, free: 13.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.969e-05/0.4731, allocations: 11.88 kB / 423.2 MB, free: 13.4 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.4734, allocations: 23.7 kB / 423.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002963/0.4737, allocations: 93.64 kB / 423.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.4741, allocations: 0.6926 MB / 424 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.171e-05/0.4741, allocations: 4 kB / 424 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.4742, allocations: 7.438 kB / 424 MB, free: 12.54 MB / 346.7 MB Notification: Performance of SimCode: time 1.73e-06/0.4742, allocations: 4.062 kB / 424 MB, free: 12.54 MB / 346.7 MB Notification: Performance of Templates: time 0.003066/0.4773, allocations: 438.2 kB / 424.5 MB, free: 12.12 MB / 346.7 MB