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 2.277/2.277, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.064e-05/3.063e-05, allocations: 4 kB / 294.6 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1142, allocations: 50.41 MB / 345 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002065/0.1164, allocations: 1.14 MB / 346.1 MB, free: 7.793 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003313/0.1167, allocations: 107.8 kB / 346.2 MB, free: 7.688 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.479e-05/0.1168, allocations: 0 / 346.2 MB, free: 7.688 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.882e-05/0.1168, allocations: 0 / 346.2 MB, free: 7.688 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.402e-05/0.1169, allocations: 4 kB / 346.2 MB, free: 7.684 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.1172, allocations: 27.91 kB / 346.3 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.313e-05/0.1172, allocations: 8 kB / 346.3 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.59e-05/0.1173, allocations: 11.91 kB / 346.3 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.039e-05/0.1174, allocations: 8 kB / 346.3 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.053e-05/0.1174, allocations: 11.92 kB / 346.3 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.416e-05/0.1175, allocations: 0 / 346.3 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.1175, allocations: 0 / 346.3 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.1175, allocations: 7.984 kB / 346.3 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.102e-05/0.1175, allocations: 0 / 346.3 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.313e-05/0.1176, allocations: 15.97 kB / 346.3 MB, free: 7.594 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1176, allocations: 0 / 346.3 MB, free: 7.594 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1176, allocations: 4 kB / 346.3 MB, free: 7.59 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.1177, allocations: 0 / 346.3 MB, free: 7.59 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.0004561/0.1181, allocations: 331.6 kB / 346.6 MB, free: 7.219 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.1182, allocations: 12.03 kB / 346.7 MB, free: 7.207 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.1182, allocations: 7.859 kB / 346.7 MB, free: 7.199 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.1185, allocations: 171 kB / 346.8 MB, free: 6.992 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1185, allocations: 4 kB / 346.8 MB, free: 6.988 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.1185, allocations: 4 kB / 346.8 MB, free: 6.984 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004673/0.119, allocations: 115.3 kB / 346.9 MB, free: 6.859 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.119, allocations: 3.938 kB / 347 MB, free: 6.855 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.119, allocations: 0 / 347 MB, free: 6.855 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.1191, allocations: 4 kB / 347 MB, free: 6.852 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.1192, allocations: 27.94 kB / 347 MB, free: 6.824 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.1194, allocations: 161.6 kB / 347.1 MB, free: 6.617 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.1197, allocations: 62.48 kB / 347.2 MB, free: 6.547 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.1197, allocations: 4 kB / 347.2 MB, free: 6.543 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.1197, allocations: 34.59 kB / 347.2 MB, free: 6.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.653e-06/0.1197, allocations: 0 / 347.2 MB, free: 6.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.000327/0.1201, allocations: 69.81 kB / 347.3 MB, free: 6.426 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.1202, allocations: 55.34 kB / 347.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.353e-05/0.1203, allocations: 105 kB / 347.5 MB, free: 6.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.1203, allocations: 25.7 kB / 347.5 MB, free: 6.219 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/0.1204, allocations: 154.6 kB / 347.6 MB, free: 6.066 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.947e-06/0.1204, allocations: 4 kB / 347.6 MB, free: 6.062 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.1204, allocations: 0 / 347.6 MB, free: 6.062 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1206, allocations: 318.8 kB / 348 MB, free: 5.742 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/0.1206, allocations: 4 kB / 348 MB, free: 5.738 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.923e-05/0.1206, allocations: 27.44 kB / 348 MB, free: 5.699 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.138e-05/0.1207, allocations: 8 kB / 348 MB, free: 5.691 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.1207, allocations: 4 kB / 348 MB, free: 5.688 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000115/0.1208, allocations: 53.56 kB / 348.1 MB, free: 5.629 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.1209, allocations: 8 kB / 348.1 MB, free: 5.621 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1209, allocations: 128 / 348.1 MB, free: 5.621 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1209, allocations: 7.938 kB / 348.1 MB, free: 5.613 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.988e-05/0.121, allocations: 8 kB / 348.1 MB, free: 5.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.121, allocations: 0 / 348.1 MB, free: 5.605 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.03e-05/0.121, allocations: 3.984 kB / 348.1 MB, free: 5.602 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.1211, allocations: 4 kB / 348.1 MB, free: 5.598 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: 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 0.000103/0.1212, allocations: 117.8 kB / 348.2 MB, free: 5.473 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/0.1214, allocations: 61.53 kB / 348.3 MB, free: 5.406 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.05e-05/0.1214, allocations: 12.23 kB / 348.3 MB, free: 5.391 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.1214, allocations: 0 / 348.3 MB, free: 5.391 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.1215, allocations: 7.984 kB / 348.3 MB, free: 5.383 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1215, allocations: 3.984 kB / 348.3 MB, free: 5.379 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.1216, allocations: 161.6 kB / 348.4 MB, free: 5.172 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1216, allocations: 3.938 kB / 348.4 MB, free: 5.168 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.788e-05/0.1217, allocations: 8 kB / 348.5 MB, free: 5.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1218, allocations: 0 / 348.5 MB, free: 5.16 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1218, allocations: 3.984 kB / 348.5 MB, free: 5.156 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.1218, allocations: 3.984 kB / 348.5 MB, free: 5.152 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1218, allocations: 4 kB / 348.5 MB, free: 5.148 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.122, allocations: 89.02 kB / 348.5 MB, free: 5.043 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.797e-05/0.1221, allocations: 85 kB / 348.6 MB, free: 4.941 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.1221, allocations: 4 kB / 348.6 MB, free: 4.938 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.034e-05/0.1222, allocations: 0 / 348.6 MB, free: 4.938 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-06/0.1222, allocations: 4.25 kB / 348.6 MB, free: 4.934 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.1222, allocations: 4 kB / 348.6 MB, free: 4.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.314e-05/0.1223, allocations: 91.27 kB / 348.7 MB, free: 4.84 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1223, allocations: 0 / 348.7 MB, free: 4.84 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002319/0.1225, allocations: 4 kB / 348.7 MB, free: 4.836 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: 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.0001368/0.1227, allocations: 99.25 kB / 348.8 MB, free: 4.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001783/0.1229, allocations: 32.11 kB / 348.9 MB, free: 4.699 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1229, allocations: 0 / 348.9 MB, free: 4.699 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.1229, allocations: 0 / 348.9 MB, free: 4.699 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.1232, allocations: 19.95 kB / 348.9 MB, free: 4.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003516/0.1235, allocations: 146.4 kB / 349 MB, free: 4.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.1239, allocations: 0.6848 MB / 349.7 MB, free: 3.789 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.1239, allocations: 11.5 kB / 349.7 MB, free: 3.777 MB / 282.7 MB Notification: Performance of SimCode: time 1.242e-06/0.1239, allocations: 4 kB / 349.7 MB, free: 3.773 MB / 282.7 MB Notification: Performance of Templates: time 0.002296/0.1262, allocations: 0.547 MB / 350.3 MB, free: 3.227 MB / 282.7 MB