Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") Notification: Performance of loadModel(Modelica): time 2.197/2.197, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.271e-05/3.304e-05, allocations: 7.984 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1166, allocations: 50.41 MB / 345 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002361/0.119, allocations: 1.167 MB / 346.2 MB, free: 7.77 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002656/0.1193, allocations: 28.14 kB / 346.2 MB, free: 7.742 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.637e-05/0.1194, allocations: 0 / 346.2 MB, free: 7.742 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.051e-05/0.1195, allocations: 7.984 kB / 346.2 MB, free: 7.734 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.73e-05/0.1195, allocations: 0 / 346.2 MB, free: 7.734 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.1198, allocations: 27.84 kB / 346.2 MB, free: 7.707 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.405e-05/0.1199, allocations: 12 kB / 346.2 MB, free: 7.695 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.398e-05/0.12, allocations: 7.984 kB / 346.2 MB, free: 7.688 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.757e-05/0.1201, allocations: 11.98 kB / 346.2 MB, free: 7.676 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.851e-05/0.1202, allocations: 11.92 kB / 346.3 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.628e-05/0.1202, allocations: 0 / 346.3 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.1202, allocations: 0 / 346.3 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.991e-05/0.1202, allocations: 8 kB / 346.3 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.906e-05/0.1203, allocations: 0 / 346.3 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.318e-05/0.1203, allocations: 11.97 kB / 346.3 MB, free: 7.645 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.1204, allocations: 3.938 kB / 346.3 MB, free: 7.641 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.1204, allocations: 4 kB / 346.3 MB, free: 7.637 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.1204, allocations: 0 / 346.3 MB, free: 7.637 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.0005136/0.1209, allocations: 339.4 kB / 346.6 MB, free: 7.258 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/0.121, allocations: 8.031 kB / 346.6 MB, free: 7.25 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.828e-05/0.121, allocations: 11.86 kB / 346.6 MB, free: 7.238 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.1213, allocations: 179.2 kB / 346.8 MB, free: 7.023 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.1213, allocations: 4 kB / 346.8 MB, free: 7.02 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.1214, allocations: 4 kB / 346.8 MB, free: 7.016 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005709/0.1219, allocations: 127.3 kB / 346.9 MB, free: 6.879 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.122, allocations: 0 / 346.9 MB, free: 6.879 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.122, allocations: 0 / 346.9 MB, free: 6.879 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.122, allocations: 3.938 kB / 346.9 MB, free: 6.875 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000204/0.1222, allocations: 31.92 kB / 347 MB, free: 6.844 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001913/0.1224, allocations: 153.7 kB / 347.1 MB, free: 6.645 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.1227, allocations: 62.48 kB / 347.2 MB, free: 6.574 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.1228, allocations: 0 / 347.2 MB, free: 6.574 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.1228, allocations: 34.59 kB / 347.2 MB, free: 6.531 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.963e-06/0.1228, allocations: 0 / 347.2 MB, free: 6.531 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004538/0.1233, allocations: 85.64 kB / 347.3 MB, free: 6.441 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.951e-05/0.1234, allocations: 55.39 kB / 347.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.1235, allocations: 97 kB / 347.5 MB, free: 6.273 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.1235, allocations: 29.7 kB / 347.5 MB, free: 6.238 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.341e-05/0.1236, allocations: 154.6 kB / 347.6 MB, free: 6.086 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.1236, allocations: 4 kB / 347.6 MB, free: 6.082 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.1236, allocations: 0 / 347.6 MB, free: 6.082 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1238, allocations: 318.8 kB / 347.9 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.248e-05/0.1238, allocations: 8 kB / 348 MB, free: 5.754 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.473e-05/0.1239, allocations: 27.44 kB / 348 MB, free: 5.715 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.683e-05/0.1239, allocations: 8 kB / 348 MB, free: 5.707 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1239, allocations: 0 / 348 MB, free: 5.707 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001403/0.1241, allocations: 65.56 kB / 348.1 MB, free: 5.637 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.1241, allocations: 4 kB / 348.1 MB, free: 5.633 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1241, allocations: 0 / 348.1 MB, free: 5.633 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.1242, allocations: 4.188 kB / 348.1 MB, free: 5.629 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.1243, allocations: 12.11 kB / 348.1 MB, free: 5.617 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.1243, allocations: 4 kB / 348.1 MB, free: 5.613 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.521e-05/0.1243, allocations: 3.906 kB / 348.1 MB, free: 5.609 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.1244, allocations: 4 kB / 348.1 MB, free: 5.605 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: 2 (step.counter,$CLKPRE.step.counter) * 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 0.0001194/0.1245, allocations: 117.8 kB / 348.2 MB, free: 5.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002677/0.1248, allocations: 65.61 kB / 348.3 MB, free: 5.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.264e-05/0.1248, allocations: 11.91 kB / 348.3 MB, free: 5.395 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1248, allocations: 7.875 kB / 348.3 MB, free: 5.387 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1249, allocations: 0 / 348.3 MB, free: 5.387 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1249, allocations: 0 / 348.3 MB, free: 5.387 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.125, allocations: 165.6 kB / 348.4 MB, free: 5.176 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.125, allocations: 384 / 348.4 MB, free: 5.176 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.1252, allocations: 11.98 kB / 348.5 MB, free: 5.164 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1252, allocations: 0 / 348.5 MB, free: 5.164 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.1252, allocations: 4 kB / 348.5 MB, free: 5.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1252, allocations: 0 / 348.5 MB, free: 5.16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1252, allocations: 4 kB / 348.5 MB, free: 5.156 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.1255, allocations: 96.91 kB / 348.6 MB, free: 5.043 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-05/0.1256, allocations: 81.11 kB / 348.6 MB, free: 4.945 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.1256, allocations: 7.984 kB / 348.6 MB, free: 4.938 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.486e-05/0.1257, allocations: 4 kB / 348.7 MB, free: 4.934 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.293e-06/0.1257, allocations: 4 kB / 348.7 MB, free: 4.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.1257, allocations: 0 / 348.7 MB, free: 4.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.284e-05/0.1258, allocations: 83.27 kB / 348.7 MB, free: 4.848 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1258, allocations: 0 / 348.7 MB, free: 4.848 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002874/0.1261, allocations: 8 kB / 348.7 MB, free: 4.84 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: 1 (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.0001625/0.1263, allocations: 103.2 kB / 348.8 MB, free: 4.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002288/0.1265, allocations: 31.92 kB / 348.9 MB, free: 4.699 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.1265, allocations: 0 / 348.9 MB, free: 4.699 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.1266, 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.0003439/0.1269, allocations: 31.97 kB / 348.9 MB, free: 4.668 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004523/0.1274, allocations: 154.3 kB / 349.1 MB, free: 4.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.1277, allocations: 0.689 MB / 349.7 MB, free: 3.766 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.78e-05/0.1277, allocations: 11.44 kB / 349.8 MB, free: 3.754 MB / 282.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1278, allocations: 0 / 349.8 MB, free: 3.754 MB / 282.7 MB Notification: Performance of Templates: time 0.002704/0.1305, allocations: 0.6163 MB / 350.4 MB, free: 3.141 MB / 282.7 MB