Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadModel(Modelica): time 2.134/2.134, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.318e-05/2.324e-05, allocations: 0 / 292.2 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09498/0.09503, allocations: 50.4 MB / 342.6 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3579/0.453, allocations: 76.26 MB / 418.8 MB, free: 1.891 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.4533, allocations: 70.77 kB / 418.9 MB, free: 1.852 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00201/0.4553, allocations: 0.6809 MB / 419.6 MB, free: 1.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.453e-06/0.4554, allocations: 0.75 kB / 419.6 MB, free: 1.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.4554, allocations: 4 kB / 419.6 MB, free: 1.227 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003378/0.4557, allocations: 322.5 kB / 419.9 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.4558, allocations: 8.031 kB / 419.9 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.4558, allocations: 15.8 kB / 419.9 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.456, allocations: 170.5 kB / 420.1 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.4561, allocations: 0 / 420.1 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.4561, allocations: 4 kB / 420.1 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.4563, allocations: 94.45 kB / 420.2 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.874e-06/0.4564, allocations: 0.6875 kB / 420.2 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.4564, allocations: 0 / 420.2 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.041e-06/0.4564, allocations: 0 / 420.2 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.754e-05/0.4565, allocations: 15.77 kB / 420.2 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.4566, allocations: 157.6 kB / 420.3 MB, free: 348 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.4568, allocations: 42.45 kB / 420.4 MB, free: 304 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.816e-05/0.4568, allocations: 16.83 kB / 420.4 MB, free: 288 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.4569, allocations: 0 / 420.4 MB, free: 288 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.4569, allocations: 34.7 kB / 420.4 MB, free: 244 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.918e-06/0.4569, allocations: 0 / 420.4 MB, free: 244 kB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001566/0.4571, allocations: 57.28 kB / 420.5 MB, free: 184 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.4571, allocations: 55.34 kB / 420.5 MB, free: 120 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.346e-05/0.4572, allocations: 101 kB / 420.6 MB, free: 12 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.4573, allocations: 33.58 kB / 420.7 MB, free: 15.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.582e-05/0.4574, allocations: 80.14 kB / 420.8 MB, free: 15.89 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.228e-06/0.4574, allocations: 0 / 420.8 MB, free: 15.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-06/0.4574, allocations: 0 / 420.8 MB, free: 15.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.4575, allocations: 322.5 kB / 421.1 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.201e-05/0.4576, allocations: 0 / 421.1 MB, free: 15.57 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.94e-05/0.4576, allocations: 30.86 kB / 421.1 MB, free: 15.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.84e-05/0.4577, allocations: 8 kB / 421.1 MB, free: 15.53 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.509e-06/0.4577, allocations: 7.938 kB / 421.1 MB, free: 15.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001048/0.4578, allocations: 49.5 kB / 421.2 MB, free: 15.47 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.4578, allocations: 8 kB / 421.2 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.169e-06/0.4578, allocations: 0 / 421.2 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.4579, allocations: 4.125 kB / 421.2 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.064e-05/0.4579, allocations: 7.938 kB / 421.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.4579, allocations: 0 / 421.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.264e-05/0.458, allocations: 4 kB / 421.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.709e-06/0.458, allocations: 0 / 421.2 MB, free: 15.45 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: 3 (assignClock1.y,assignClock1.u,step.y) * 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 8.812e-05/0.4581, allocations: 108.9 kB / 421.3 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.4582, allocations: 53.38 kB / 421.4 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.235e-05/0.4583, allocations: 3.5 kB / 421.4 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.278e-06/0.4583, allocations: 0 / 421.4 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.347e-06/0.4583, allocations: 4 kB / 421.4 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.425e-06/0.4583, allocations: 4 kB / 421.4 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.4585, allocations: 161.5 kB / 421.5 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.132e-06/0.4585, allocations: 0 / 421.5 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.453e-05/0.4585, allocations: 7.938 kB / 421.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.034e-06/0.4585, allocations: 0 / 421.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.4585, allocations: 0 / 421.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.35e-06/0.4586, allocations: 0 / 421.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.849e-06/0.4586, allocations: 0 / 421.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.4587, allocations: 84.61 kB / 421.6 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/0.4588, allocations: 81.11 kB / 421.7 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.4588, allocations: 0 / 421.7 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.403e-05/0.4589, allocations: 7.734 kB / 421.7 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-06/0.4589, allocations: 0 / 421.7 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.95e-06/0.4589, allocations: 4.25 kB / 421.7 MB, free: 14.86 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.822e-05/0.459, allocations: 83.28 kB / 421.8 MB, free: 14.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.97e-07/0.459, allocations: 0 / 421.8 MB, free: 14.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002542/0.4592, allocations: 0 / 421.8 MB, free: 14.77 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.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.0001323/0.4594, allocations: 111.1 kB / 421.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.609e-05/0.4595, allocations: 19.75 kB / 421.9 MB, free: 14.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.722e-06/0.4595, allocations: 0 / 421.9 MB, free: 14.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.327e-06/0.4595, allocations: 4 kB / 421.9 MB, free: 14.64 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/0.4597, allocations: 23.62 kB / 421.9 MB, free: 14.62 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001991/0.4599, allocations: 64.53 kB / 422 MB, free: 14.54 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.4603, allocations: 0.6851 MB / 422.7 MB, free: 13.83 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.46e-05/0.4603, allocations: 4 kB / 422.7 MB, free: 13.82 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.477e-05/0.4603, allocations: 11.44 kB / 422.7 MB, free: 13.81 MB / 346.7 MB Notification: Performance of SimCode: time 1.838e-06/0.4604, allocations: 0 / 422.7 MB, free: 13.81 MB / 346.7 MB Notification: Performance of Templates: time 0.002477/0.4628, allocations: 282.6 kB / 423 MB, free: 13.55 MB / 346.7 MB