Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") Notification: Performance of loadModel(Modelica): time 2.138/2.138, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.372e-05/3.371e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1144, allocations: 50.41 MB / 345 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002274/0.1167, allocations: 1.281 MB / 346.3 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.1178, allocations: 455.1 kB / 346.7 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.797e-05/0.1179, allocations: 0 / 346.7 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.544e-05/0.1179, allocations: 3.938 kB / 346.7 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.1181, allocations: 11.97 kB / 346.7 MB, free: 7.191 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.1184, allocations: 43.78 kB / 346.8 MB, free: 7.148 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.627e-05/0.1185, allocations: 19.97 kB / 346.8 MB, free: 7.129 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.008e-05/0.1186, allocations: 7.984 kB / 346.8 MB, free: 7.121 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.346e-05/0.1187, allocations: 23.92 kB / 346.8 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.152e-05/0.1188, allocations: 15.92 kB / 346.8 MB, free: 7.082 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.903e-05/0.1188, allocations: 4 kB / 346.8 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.1188, allocations: 0 / 346.8 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.781e-05/0.1189, allocations: 11.92 kB / 346.8 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.79e-05/0.1189, allocations: 4 kB / 346.8 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.421e-05/0.119, allocations: 35.94 kB / 346.9 MB, free: 7.027 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.119, allocations: 0 / 346.9 MB, free: 7.027 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.119, allocations: 0 / 346.9 MB, free: 7.027 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.119, allocations: 0 / 346.9 MB, free: 7.027 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004873/0.1195, allocations: 351.5 kB / 347.2 MB, free: 6.637 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.1196, allocations: 8.031 kB / 347.2 MB, free: 6.629 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.044e-05/0.1196, allocations: 19.86 kB / 347.3 MB, free: 6.609 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.1199, allocations: 197.6 kB / 347.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.1199, allocations: 8 kB / 347.5 MB, free: 6.371 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.12, allocations: 3.938 kB / 347.5 MB, free: 6.367 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003505/0.1203, allocations: 117.9 kB / 347.6 MB, free: 6.23 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1204, allocations: 0 / 347.6 MB, free: 6.23 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.1204, allocations: 7.953 kB / 347.6 MB, free: 6.223 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1204, allocations: 4 kB / 347.6 MB, free: 6.219 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.1206, allocations: 23.98 kB / 347.6 MB, free: 6.195 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003939/0.121, allocations: 278.5 kB / 347.9 MB, free: 5.867 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.1211, allocations: 63.8 kB / 347.9 MB, free: 5.777 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.1212, allocations: 12.05 kB / 348 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.1212, allocations: 38.52 kB / 348 MB, free: 5.719 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.734e-06/0.1212, allocations: 0 / 348 MB, free: 5.719 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003923/0.1216, allocations: 93.8 kB / 348.1 MB, free: 5.621 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.1217, allocations: 106.8 kB / 348.2 MB, free: 5.492 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.1219, allocations: 125 kB / 348.3 MB, free: 5.363 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.1219, allocations: 25.7 kB / 348.3 MB, free: 5.332 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.506e-05/0.122, allocations: 158.6 kB / 348.5 MB, free: 5.176 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.122, allocations: 0 / 348.5 MB, free: 5.176 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.122, allocations: 0 / 348.5 MB, free: 5.176 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1222, allocations: 322.9 kB / 348.8 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.807e-05/0.1222, allocations: 8 kB / 348.8 MB, free: 4.844 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.524e-05/0.1223, allocations: 35.42 kB / 348.8 MB, free: 4.797 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.293e-05/0.1224, allocations: 19.98 kB / 348.9 MB, free: 4.777 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1225, allocations: 3.938 kB / 348.9 MB, free: 4.773 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002138/0.1227, allocations: 65.62 kB / 348.9 MB, free: 4.703 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.1227, allocations: 15.89 kB / 349 MB, free: 4.688 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1227, allocations: 0 / 349 MB, free: 4.688 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.1228, allocations: 0 / 349 MB, free: 4.688 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.1229, allocations: 16.11 kB / 349 MB, free: 4.672 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.1229, allocations: 4 kB / 349 MB, free: 4.668 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.099e-05/0.123, allocations: 7.906 kB / 349 MB, free: 4.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.123, allocations: 0 / 349 MB, free: 4.66 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: 0 () * 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.0001069/0.1231, allocations: 125.7 kB / 349.1 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.1232, allocations: 45.7 kB / 349.1 MB, free: 4.477 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.666e-05/0.1233, allocations: 19.81 kB / 349.2 MB, free: 4.457 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1233, allocations: 0 / 349.2 MB, free: 4.457 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.1233, allocations: 4.062 kB / 349.2 MB, free: 4.453 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.1233, allocations: 4.078 kB / 349.2 MB, free: 4.449 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.1236, allocations: 177.5 kB / 349.3 MB, free: 4.227 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1236, allocations: 0 / 349.3 MB, free: 4.227 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.1237, allocations: 15.92 kB / 349.4 MB, free: 4.211 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1237, allocations: 4 kB / 349.4 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.1237, allocations: 0 / 349.4 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.1238, allocations: 3.953 kB / 349.4 MB, free: 4.203 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.1238, allocations: 4 kB / 349.4 MB, free: 4.199 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.1241, allocations: 204.6 kB / 349.6 MB, free: 3.965 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.762e-05/0.1242, allocations: 101 kB / 349.7 MB, free: 3.848 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.1242, allocations: 0 / 349.7 MB, free: 3.848 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1243, allocations: 11.98 kB / 349.7 MB, free: 3.836 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.1244, allocations: 0 / 349.7 MB, free: 3.836 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.1244, allocations: 4 kB / 349.7 MB, free: 3.832 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000109/0.1245, allocations: 117.9 kB / 349.8 MB, free: 3.719 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1245, allocations: 0 / 349.8 MB, free: 3.719 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002878/0.1248, allocations: 8 kB / 349.8 MB, free: 3.711 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0001324/0.125, allocations: 99.25 kB / 349.9 MB, free: 3.605 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002058/0.1252, allocations: 35.92 kB / 349.9 MB, free: 3.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1252, allocations: 0 / 349.9 MB, free: 3.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.105e-05/0.1253, allocations: 15.98 kB / 350 MB, free: 3.555 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.1257, allocations: 23.97 kB / 350 MB, free: 3.531 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004917/0.1262, allocations: 232.7 kB / 350.2 MB, free: 3.262 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.1265, allocations: 0.7004 MB / 350.9 MB, free: 2.535 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.1265, allocations: 11.38 kB / 350.9 MB, free: 2.523 MB / 282.7 MB Notification: Performance of SimCode: time 7.91e-07/0.1266, allocations: 4 kB / 350.9 MB, free: 2.52 MB / 282.7 MB Notification: Performance of Templates: time 0.002936/0.1295, allocations: 0.8068 MB / 351.7 MB, free: 1.715 MB / 282.7 MB