Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadModel(Modelica): time 2.191/2.191, allocations: 224.7 MB / 241.1 MB, free: 1.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.982e-05/2.971e-05, allocations: 4 kB / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1134, allocations: 50.41 MB / 345 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002193/0.1156, allocations: 1.211 MB / 346.2 MB, free: 7.719 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004425/0.1161, allocations: 135.5 kB / 346.3 MB, free: 7.586 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.488e-05/0.1162, allocations: 4 kB / 346.3 MB, free: 7.582 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.162e-05/0.1163, allocations: 0 / 346.3 MB, free: 7.582 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.1164, allocations: 3.938 kB / 346.3 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.1167, allocations: 27.95 kB / 346.4 MB, free: 7.551 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.394e-05/0.1168, allocations: 19.92 kB / 346.4 MB, free: 7.531 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.906e-05/0.1169, allocations: 7.984 kB / 346.4 MB, free: 7.523 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.006e-05/0.1169, allocations: 4 kB / 346.4 MB, free: 7.52 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.211e-05/0.117, allocations: 11.94 kB / 346.4 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.488e-05/0.117, allocations: 4 kB / 346.4 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.117, allocations: 0 / 346.4 MB, free: 7.504 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.189e-05/0.1171, allocations: 11.92 kB / 346.4 MB, free: 7.492 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.204e-05/0.1171, allocations: 4 kB / 346.4 MB, free: 7.488 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.511e-05/0.1172, allocations: 35.88 kB / 346.5 MB, free: 7.453 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1172, allocations: 0 / 346.5 MB, free: 7.453 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1172, allocations: 3.938 kB / 346.5 MB, free: 7.449 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.1173, allocations: 0 / 346.5 MB, free: 7.449 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004998/0.1178, allocations: 351.5 kB / 346.8 MB, free: 7.059 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.1178, allocations: 8.031 kB / 346.8 MB, free: 7.051 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.511e-05/0.1179, allocations: 11.86 kB / 346.8 MB, free: 7.039 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.1181, allocations: 175.1 kB / 347 MB, free: 6.828 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.1181, allocations: 4 kB / 347 MB, free: 6.824 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.1182, allocations: 4 kB / 347 MB, free: 6.82 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003041/0.1185, allocations: 100.9 kB / 347.1 MB, free: 6.703 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1185, allocations: 0 / 347.1 MB, free: 6.703 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.1185, allocations: 0 / 347.1 MB, free: 6.703 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.1185, allocations: 0 / 347.1 MB, free: 6.703 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.1187, allocations: 27.88 kB / 347.1 MB, free: 6.676 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004513/0.1191, allocations: 261.8 kB / 347.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.1193, allocations: 45.22 kB / 347.4 MB, free: 6.305 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.1193, allocations: 0 / 347.4 MB, free: 6.305 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.1193, allocations: 34.56 kB / 347.5 MB, free: 6.262 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 5.851e-06/0.1194, allocations: 4 kB / 347.5 MB, free: 6.258 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003318/0.1197, allocations: 69.56 kB / 347.5 MB, free: 6.184 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.1198, allocations: 81.11 kB / 347.6 MB, free: 6.086 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.12, allocations: 121.2 kB / 347.7 MB, free: 5.957 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.12, allocations: 29.7 kB / 347.8 MB, free: 5.922 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.014e-05/0.1201, allocations: 162.8 kB / 347.9 MB, free: 5.762 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.184e-05/0.1201, allocations: 0 / 347.9 MB, free: 5.762 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.1201, allocations: 0 / 347.9 MB, free: 5.762 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1202, allocations: 310.8 kB / 348.2 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.399e-05/0.1203, allocations: 11.98 kB / 348.2 MB, free: 5.438 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.781e-05/0.1204, allocations: 21.72 kB / 348.3 MB, free: 5.41 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.595e-05/0.1205, allocations: 15.98 kB / 348.3 MB, free: 5.395 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1205, allocations: 0 / 348.3 MB, free: 5.395 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001794/0.1207, allocations: 53.69 kB / 348.3 MB, free: 5.336 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.1207, allocations: 4 kB / 348.3 MB, free: 5.332 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1207, allocations: 0 / 348.3 MB, free: 5.332 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.1208, allocations: 4 kB / 348.3 MB, free: 5.328 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.07e-05/0.1209, allocations: 12.02 kB / 348.3 MB, free: 5.316 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.1209, allocations: 7.922 kB / 348.3 MB, free: 5.309 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.726e-05/0.1209, allocations: 4 kB / 348.3 MB, free: 5.305 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.121, allocations: 0 / 348.3 MB, free: 5.305 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001054/0.1211, allocations: 113.8 kB / 348.5 MB, free: 5.184 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.973e-05/0.1212, allocations: 41.59 kB / 348.5 MB, free: 5.137 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.966e-05/0.1212, allocations: 11.88 kB / 348.5 MB, free: 5.125 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1212, allocations: 4.031 kB / 348.5 MB, free: 5.121 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.1213, allocations: 7.891 kB / 348.5 MB, free: 5.113 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1213, allocations: 0 / 348.5 MB, free: 5.113 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.1215, allocations: 165.6 kB / 348.7 MB, free: 4.902 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.1215, allocations: 0 / 348.7 MB, free: 4.902 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.016e-05/0.1216, allocations: 8 kB / 348.7 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1216, allocations: 0 / 348.7 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.1216, allocations: 0 / 348.7 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.1216, allocations: 0 / 348.7 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/0.1216, allocations: 4 kB / 348.7 MB, free: 4.891 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.1219, allocations: 181.9 kB / 348.9 MB, free: 4.688 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.796e-05/0.122, allocations: 89.09 kB / 349 MB, free: 4.582 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.122, allocations: 0 / 349 MB, free: 4.582 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.476e-05/0.1221, allocations: 8 kB / 349 MB, free: 4.574 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.1222, allocations: 7.984 kB / 349 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.1222, allocations: 0 / 349 MB, free: 4.566 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.98e-05/0.1223, allocations: 107.8 kB / 349.1 MB, free: 4.461 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1223, allocations: 3.938 kB / 349.1 MB, free: 4.457 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002841/0.1226, allocations: 4 kB / 349.1 MB, free: 4.453 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: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000131/0.1227, allocations: 99.25 kB / 349.2 MB, free: 4.348 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002289/0.123, allocations: 31.92 kB / 349.2 MB, free: 4.316 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.123, allocations: 0 / 349.2 MB, free: 4.316 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.248e-05/0.1231, allocations: 8 kB / 349.2 MB, free: 4.309 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.1234, allocations: 10.42 kB / 349.2 MB, free: 4.301 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004126/0.1238, allocations: 187.4 kB / 349.4 MB, free: 4.078 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.1241, allocations: 0.6926 MB / 350.1 MB, free: 3.359 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/0.1242, allocations: 7.438 kB / 350.1 MB, free: 3.352 MB / 282.7 MB Notification: Performance of SimCode: time 8.52e-07/0.1242, allocations: 0 / 350.1 MB, free: 3.352 MB / 282.7 MB Notification: Performance of Templates: time 0.002462/0.1267, allocations: 0.6171 MB / 350.7 MB, free: 2.734 MB / 282.7 MB