Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadModel(Modelica): time 2.175/2.175, allocations: 224.7 MB / 241.1 MB, free: 1.648 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.624e-05/2.616e-05, allocations: 4 kB / 294.6 MB, free: 11.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1089, allocations: 50.41 MB / 345 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002154/0.1112, allocations: 1.226 MB / 346.2 MB, free: 7.695 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004288/0.1116, allocations: 139.5 kB / 346.3 MB, free: 7.559 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.97e-05/0.1117, allocations: 3.938 kB / 346.3 MB, free: 7.555 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.248e-05/0.1118, allocations: 0 / 346.3 MB, free: 7.555 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.1119, allocations: 4 kB / 346.3 MB, free: 7.551 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.1122, allocations: 31.89 kB / 346.4 MB, free: 7.52 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.223e-05/0.1123, allocations: 15.98 kB / 346.4 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.387e-05/0.1124, allocations: 11.98 kB / 346.4 MB, free: 7.492 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.83e-05/0.1124, allocations: 11.94 kB / 346.4 MB, free: 7.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.741e-05/0.1125, allocations: 11.92 kB / 346.4 MB, free: 7.469 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.414e-05/0.1125, allocations: 0 / 346.4 MB, free: 7.469 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.1125, allocations: 7.938 kB / 346.4 MB, free: 7.461 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.661e-05/0.1126, allocations: 8 kB / 346.4 MB, free: 7.453 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.572e-05/0.1126, allocations: 0 / 346.4 MB, free: 7.453 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.214e-05/0.1127, allocations: 39.86 kB / 346.5 MB, free: 7.414 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.1127, allocations: 0 / 346.5 MB, free: 7.414 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1127, allocations: 3.938 kB / 346.5 MB, free: 7.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.327e-06/0.1127, allocations: 4 kB / 346.5 MB, free: 7.406 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004737/0.1132, allocations: 351.5 kB / 346.8 MB, free: 7.016 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1133, allocations: 8.031 kB / 346.8 MB, free: 7.008 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.1133, allocations: 11.86 kB / 346.9 MB, free: 6.996 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.1135, allocations: 182.9 kB / 347 MB, free: 6.777 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1136, allocations: 0 / 347 MB, free: 6.777 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.1136, allocations: 4 kB / 347 MB, free: 6.773 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003853/0.114, allocations: 125 kB / 347.2 MB, free: 6.633 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.114, allocations: 0 / 347.2 MB, free: 6.633 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.114, allocations: 0 / 347.2 MB, free: 6.633 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.114, allocations: 0 / 347.2 MB, free: 6.633 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.1142, allocations: 27.94 kB / 347.2 MB, free: 6.605 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003631/0.1146, allocations: 261.8 kB / 347.4 MB, free: 6.297 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.1148, allocations: 134.2 kB / 347.6 MB, free: 6.129 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.1149, allocations: 0 / 347.6 MB, free: 6.129 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.1149, allocations: 46.7 kB / 347.6 MB, free: 6.074 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 3.426e-06/0.1149, allocations: 0 / 347.6 MB, free: 6.074 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003571/0.1153, allocations: 85.47 kB / 347.7 MB, free: 5.984 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/0.1154, allocations: 81.05 kB / 347.8 MB, free: 5.887 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.1155, allocations: 125.4 kB / 347.9 MB, free: 5.754 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.1156, allocations: 29.7 kB / 347.9 MB, free: 5.719 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.499e-05/0.1157, allocations: 150.6 kB / 348.1 MB, free: 5.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.348e-05/0.1157, allocations: 7.844 kB / 348.1 MB, free: 5.562 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.1157, allocations: 4 kB / 348.1 MB, free: 5.559 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1158, allocations: 314.8 kB / 348.4 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.348e-05/0.1159, allocations: 7.984 kB / 348.4 MB, free: 5.234 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.271e-05/0.116, allocations: 47.59 kB / 348.4 MB, free: 5.176 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.101e-05/0.1161, allocations: 8 kB / 348.5 MB, free: 5.168 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1161, allocations: 0 / 348.5 MB, free: 5.168 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002184/0.1163, allocations: 77.55 kB / 348.5 MB, free: 5.086 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.1164, allocations: 7.938 kB / 348.5 MB, free: 5.078 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.1164, allocations: 4 kB / 348.5 MB, free: 5.074 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1164, allocations: 0 / 348.5 MB, free: 5.074 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.829e-05/0.1165, allocations: 11.95 kB / 348.6 MB, free: 5.062 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1165, allocations: 0 / 348.6 MB, free: 5.062 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.666e-05/0.1166, allocations: 4 kB / 348.6 MB, free: 5.059 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.1166, allocations: 4.125 kB / 348.6 MB, free: 5.055 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: 4 (step.y,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 0.0001123/0.1167, allocations: 124.6 kB / 348.7 MB, free: 4.926 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.1169, allocations: 53.53 kB / 348.7 MB, free: 4.867 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.289e-05/0.1169, allocations: 12.25 kB / 348.8 MB, free: 4.852 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1169, allocations: 0 / 348.8 MB, free: 4.852 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.1169, allocations: 3.953 kB / 348.8 MB, free: 4.848 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.117, allocations: 0 / 348.8 MB, free: 4.848 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.1172, allocations: 177.6 kB / 348.9 MB, free: 4.625 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1172, allocations: 0 / 348.9 MB, free: 4.625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.306e-05/0.1173, allocations: 15.98 kB / 348.9 MB, free: 4.609 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1173, allocations: 0 / 348.9 MB, free: 4.609 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1173, allocations: 0 / 348.9 MB, free: 4.609 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.1173, allocations: 4 kB / 348.9 MB, free: 4.605 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1174, allocations: 0 / 348.9 MB, free: 4.605 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.1176, allocations: 185.9 kB / 349.1 MB, free: 4.398 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.268e-05/0.1177, allocations: 93.03 kB / 349.2 MB, free: 4.289 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.1177, allocations: 4 kB / 349.2 MB, free: 4.285 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.356e-05/0.1179, allocations: 0 / 349.2 MB, free: 4.285 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.1179, allocations: 7.953 kB / 349.2 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.1179, allocations: 0 / 349.2 MB, free: 4.277 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.826e-05/0.118, allocations: 107.8 kB / 349.3 MB, free: 4.172 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.094e-06/0.118, allocations: 0 / 349.3 MB, free: 4.172 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002762/0.1183, allocations: 7.938 kB / 349.3 MB, free: 4.164 MB / 282.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 (step.y,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.0001215/0.1185, allocations: 103.2 kB / 349.4 MB, free: 4.055 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.1187, allocations: 35.92 kB / 349.5 MB, free: 4.02 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1187, allocations: 0 / 349.5 MB, free: 4.02 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.413e-05/0.1188, allocations: 12.23 kB / 349.5 MB, free: 4.008 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.1191, allocations: 20 kB / 349.5 MB, free: 3.988 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004264/0.1195, allocations: 191.4 kB / 349.7 MB, free: 3.758 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.1198, allocations: 0.6926 MB / 350.4 MB, free: 3.039 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.197e-05/0.1199, allocations: 11.44 kB / 350.4 MB, free: 3.027 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1199, allocations: 4 kB / 350.4 MB, free: 3.023 MB / 282.7 MB Notification: Performance of Templates: time 0.002572/0.1225, allocations: 0.6681 MB / 351.1 MB, free: 2.355 MB / 282.7 MB