Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadModel(Modelica): time 2.382/2.382, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.795e-05/2.785e-05, allocations: 4 kB / 294.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1118, allocations: 50.41 MB / 345 MB, free: 8.977 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.001885/0.1137, allocations: 1.132 MB / 346.1 MB, free: 7.832 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002109/0.1139, allocations: 40.12 kB / 346.1 MB, free: 7.793 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.429e-05/0.114, allocations: 0 / 346.1 MB, free: 7.793 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.011e-05/0.114, allocations: 0 / 346.1 MB, free: 7.793 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.289e-05/0.1141, allocations: 7.922 kB / 346.2 MB, free: 7.785 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.1143, allocations: 15.98 kB / 346.2 MB, free: 7.77 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.759e-05/0.1144, allocations: 23.91 kB / 346.2 MB, free: 7.746 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.741e-05/0.1145, allocations: 0 / 346.2 MB, free: 7.746 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.553e-05/0.1146, allocations: 15.98 kB / 346.2 MB, free: 7.73 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.466e-05/0.1146, allocations: 7.938 kB / 346.2 MB, free: 7.723 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.706e-05/0.1146, allocations: 4 kB / 346.2 MB, free: 7.719 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.1147, allocations: 0 / 346.2 MB, free: 7.719 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.1147, allocations: 7.984 kB / 346.2 MB, free: 7.711 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.789e-05/0.1147, allocations: 4 kB / 346.2 MB, free: 7.707 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.104e-05/0.1148, allocations: 19.89 kB / 346.3 MB, free: 7.688 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1148, allocations: 0 / 346.3 MB, free: 7.688 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1148, allocations: 0 / 346.3 MB, free: 7.688 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.1148, allocations: 0 / 346.3 MB, free: 7.688 MB / 282.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.0004212/0.1152, allocations: 335.4 kB / 346.6 MB, free: 7.312 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.1153, allocations: 8.031 kB / 346.6 MB, free: 7.305 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.1153, allocations: 11.86 kB / 346.6 MB, free: 7.293 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.1155, allocations: 183.2 kB / 346.8 MB, free: 7.074 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.1156, allocations: 4 kB / 346.8 MB, free: 7.07 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.1156, allocations: 0 / 346.8 MB, free: 7.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004966/0.1161, allocations: 131.2 kB / 346.9 MB, free: 6.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1161, allocations: 0 / 346.9 MB, free: 6.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.1162, allocations: 0 / 346.9 MB, free: 6.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1162, allocations: 0 / 346.9 MB, free: 6.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.1164, allocations: 31.94 kB / 346.9 MB, free: 6.898 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.1165, allocations: 153.7 kB / 347.1 MB, free: 6.699 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.1168, allocations: 62.48 kB / 347.2 MB, free: 6.629 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.278e-06/0.1168, allocations: 0 / 347.2 MB, free: 6.629 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.1169, allocations: 34.56 kB / 347.2 MB, free: 6.586 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.1169, allocations: 0 / 347.2 MB, free: 6.586 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003918/0.1173, allocations: 85.73 kB / 347.3 MB, free: 6.496 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/0.1173, allocations: 59.34 kB / 347.3 MB, free: 6.426 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.277e-05/0.1174, allocations: 101 kB / 347.4 MB, free: 6.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.1175, allocations: 25.7 kB / 347.4 MB, free: 6.289 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.1175, allocations: 150.6 kB / 347.6 MB, free: 6.141 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.175e-05/0.1176, allocations: 0 / 347.6 MB, free: 6.141 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-06/0.1176, allocations: 4 kB / 347.6 MB, free: 6.137 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1177, allocations: 322.8 kB / 347.9 MB, free: 5.812 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.774e-05/0.1177, allocations: 3.984 kB / 347.9 MB, free: 5.809 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.754e-05/0.1178, allocations: 27.44 kB / 347.9 MB, free: 5.77 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.177e-05/0.1178, allocations: 12 kB / 348 MB, free: 5.758 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.1178, allocations: 4 kB / 348 MB, free: 5.754 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001393/0.118, allocations: 61.47 kB / 348 MB, free: 5.688 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.118, allocations: 8 kB / 348 MB, free: 5.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.118, allocations: 3.984 kB / 348 MB, free: 5.676 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1181, allocations: 0 / 348 MB, free: 5.676 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.801e-05/0.1181, allocations: 8 kB / 348 MB, free: 5.668 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.1182, allocations: 4 kB / 348 MB, free: 5.664 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.624e-05/0.1182, allocations: 0 / 348 MB, free: 5.664 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.1182, allocations: 8.109 kB / 348.1 MB, free: 5.656 MB / 282.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: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.125e-05/0.1183, allocations: 125.7 kB / 348.2 MB, free: 5.523 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002315/0.1186, allocations: 69.61 kB / 348.2 MB, free: 5.449 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.1186, allocations: 3.906 kB / 348.2 MB, free: 5.441 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.1186, allocations: 0 / 348.2 MB, free: 5.441 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1186, allocations: 4.375 kB / 348.3 MB, free: 5.438 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1186, allocations: 0 / 348.3 MB, free: 5.438 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.1188, allocations: 165.6 kB / 348.4 MB, free: 5.227 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1188, allocations: 0 / 348.4 MB, free: 5.227 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.291e-05/0.1189, allocations: 8.234 kB / 348.4 MB, free: 5.219 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1189, allocations: 4 kB / 348.4 MB, free: 5.215 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.1189, allocations: 7.984 kB / 348.4 MB, free: 5.207 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1189, allocations: 0 / 348.4 MB, free: 5.207 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1189, allocations: 0 / 348.4 MB, free: 5.207 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.1192, allocations: 104.9 kB / 348.5 MB, free: 5.086 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.163e-05/0.1193, allocations: 77.11 kB / 348.6 MB, free: 4.992 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.1193, allocations: 0 / 348.6 MB, free: 4.992 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.495e-05/0.1194, allocations: 7.984 kB / 348.6 MB, free: 4.984 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.484e-06/0.1194, allocations: 4 kB / 348.6 MB, free: 4.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.1194, allocations: 4 kB / 348.6 MB, free: 4.977 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.894e-05/0.1195, allocations: 83.28 kB / 348.7 MB, free: 4.895 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1195, allocations: 0 / 348.7 MB, free: 4.895 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002271/0.1197, allocations: 4 kB / 348.7 MB, free: 4.891 MB / 282.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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * 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.0001243/0.1198, allocations: 103.2 kB / 348.8 MB, free: 4.781 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.12, allocations: 28.11 kB / 348.8 MB, free: 4.754 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1201, allocations: 4.062 kB / 348.8 MB, free: 4.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.71e-07/0.1201, allocations: 4 kB / 348.8 MB, free: 4.746 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.1204, allocations: 31.97 kB / 348.9 MB, free: 4.715 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003596/0.1208, allocations: 150.3 kB / 349 MB, free: 4.531 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.121, allocations: 0.6848 MB / 349.7 MB, free: 3.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.1211, allocations: 7.438 kB / 349.7 MB, free: 3.812 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1211, allocations: 8 kB / 349.7 MB, free: 3.805 MB / 282.7 MB Notification: Performance of Templates: time 0.002426/0.1235, allocations: 0.6096 MB / 350.3 MB, free: 3.195 MB / 282.7 MB