Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadModel(Modelica): time 1.91/1.91, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.852e-05/2.854e-05, allocations: 4 kB / 292.1 MB, free: 8.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09057/0.09062, allocations: 50.41 MB / 342.5 MB, free: 6.422 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3878/0.4785, allocations: 76.33 MB / 418.9 MB, free: 1.82 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.4788, allocations: 71.02 kB / 418.9 MB, free: 1.781 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002125/0.4809, allocations: 0.7163 MB / 419.7 MB, free: 1.121 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.161e-06/0.4809, allocations: 0 / 419.7 MB, free: 1.121 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.481, allocations: 0 / 419.7 MB, free: 1.121 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.0003489/0.4813, allocations: 324.1 kB / 420 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.4814, allocations: 12.03 kB / 420 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.4814, allocations: 7.859 kB / 420 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.4816, allocations: 175 kB / 420.2 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.4817, allocations: 7.312 kB / 420.2 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.4817, allocations: 0 / 420.2 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.4819, allocations: 94.25 kB / 420.3 MB, free: 452 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.456e-06/0.482, allocations: 0 / 420.3 MB, free: 452 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.482, allocations: 4 kB / 420.3 MB, free: 448 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.269e-06/0.482, allocations: 7.953 kB / 420.3 MB, free: 440 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.202e-05/0.482, allocations: 7.938 kB / 420.3 MB, free: 432 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/0.4822, allocations: 156 kB / 420.4 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.4823, allocations: 41.06 kB / 420.5 MB, free: 188 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.476e-05/0.4824, allocations: 20.25 kB / 420.5 MB, free: 168 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.4824, allocations: 0 / 420.5 MB, free: 168 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.4825, allocations: 41.81 kB / 420.5 MB, free: 120 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.951e-06/0.4825, allocations: 0 / 420.5 MB, free: 120 kB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001428/0.4826, allocations: 53.17 kB / 420.6 MB, free: 64 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.4827, allocations: 51.41 kB / 420.6 MB, free: 0 / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.4828, allocations: 103.5 kB / 420.7 MB, free: 15.9 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.4829, allocations: 25.7 kB / 420.8 MB, free: 15.87 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.61e-05/0.483, allocations: 150.6 kB / 420.9 MB, free: 15.72 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.088e-05/0.483, allocations: 3.984 kB / 420.9 MB, free: 15.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.483, allocations: 3.312 kB / 420.9 MB, free: 15.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.4832, allocations: 318.8 kB / 421.2 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.174e-05/0.4832, allocations: 0 / 421.2 MB, free: 15.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.525e-05/0.4832, allocations: 30.75 kB / 421.3 MB, free: 15.36 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.365e-05/0.4833, allocations: 4 kB / 421.3 MB, free: 15.35 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.713e-06/0.4833, allocations: 8 kB / 421.3 MB, free: 15.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001039/0.4834, allocations: 49.5 kB / 421.3 MB, free: 15.29 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.4834, allocations: 8 kB / 421.3 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.896e-06/0.4834, allocations: 0 / 421.3 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.4835, allocations: 0 / 421.3 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.71e-05/0.4835, allocations: 15.88 kB / 421.3 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.611e-06/0.4836, allocations: 3.984 kB / 421.4 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.63e-05/0.4836, allocations: 256 / 421.4 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.516e-06/0.4836, allocations: 7.953 kB / 421.4 MB, free: 15.26 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.439e-05/0.4837, allocations: 112.4 kB / 421.5 MB, free: 15.14 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.884e-05/0.4838, allocations: 49.36 kB / 421.5 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.13e-05/0.4839, allocations: 11.39 kB / 421.5 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.472e-06/0.4839, allocations: 0 / 421.5 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.75e-06/0.4839, allocations: 0 / 421.5 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.595e-06/0.4839, allocations: 0 / 421.5 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.484, allocations: 161.2 kB / 421.7 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.999e-06/0.4841, allocations: 0 / 421.7 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.072e-05/0.4841, allocations: 15.92 kB / 421.7 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.391e-06/0.4842, allocations: 4 kB / 421.7 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.458e-06/0.4842, allocations: 0 / 421.7 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.232e-06/0.4842, allocations: 4 kB / 421.7 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.524e-06/0.4842, allocations: 0 / 421.7 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.4843, allocations: 75.95 kB / 421.8 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.577e-05/0.4844, allocations: 81.02 kB / 421.9 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.4844, allocations: 0 / 421.9 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.051e-05/0.4845, allocations: 8 kB / 421.9 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.299e-06/0.4845, allocations: 3.984 kB / 421.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.844e-06/0.4845, allocations: 0 / 421.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.023e-05/0.4846, allocations: 81.72 kB / 422 MB, free: 14.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.4846, allocations: 0 / 422 MB, free: 14.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002422/0.4849, allocations: 7.125 kB / 422 MB, free: 14.58 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.0001213/0.485, allocations: 99.25 kB / 422.1 MB, free: 14.47 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.505e-05/0.4851, allocations: 23.73 kB / 422.1 MB, free: 14.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.302e-06/0.4851, allocations: 4.25 kB / 422.1 MB, free: 14.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.365e-06/0.4851, allocations: 0 / 422.1 MB, free: 14.45 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.4853, allocations: 23.48 kB / 422.1 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002007/0.4855, allocations: 93.08 kB / 422.2 MB, free: 14.32 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.4859, allocations: 0.6887 MB / 422.9 MB, free: 13.6 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.108e-05/0.4859, allocations: 7.438 kB / 422.9 MB, free: 13.6 MB / 346.7 MB Notification: Performance of SimCode: time 1.441e-06/0.4859, allocations: 0 / 422.9 MB, free: 13.6 MB / 346.7 MB Notification: Performance of Templates: time 0.001948/0.4879, allocations: 0.5435 MB / 423.4 MB, free: 13.06 MB / 346.7 MB