Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") Notification: Performance of loadModel(Modelica): time 2.134/2.134, allocations: 224.7 MB / 241.1 MB, free: 1.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.223e-05/3.255e-05, allocations: 4 kB / 294.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1122, allocations: 50.42 MB / 345 MB, free: 8.961 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002364/0.1146, allocations: 1.312 MB / 346.3 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.1158, allocations: 463.1 kB / 346.7 MB, free: 7.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.116, allocations: 7.938 kB / 346.8 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.375e-05/0.116, allocations: 11.92 kB / 346.8 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.1162, allocations: 7.984 kB / 346.8 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.1165, allocations: 47.83 kB / 346.8 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.937e-05/0.1166, allocations: 35.88 kB / 346.9 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.213e-05/0.1167, allocations: 8 kB / 346.9 MB, free: 7.062 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.358e-05/0.1168, allocations: 19.92 kB / 346.9 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.949e-05/0.1169, allocations: 23.91 kB / 346.9 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.745e-05/0.1169, allocations: 0 / 346.9 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.117, allocations: 7.938 kB / 346.9 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.644e-05/0.117, allocations: 15.94 kB / 346.9 MB, free: 6.996 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.1171, allocations: 4 kB / 346.9 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.609e-05/0.1172, allocations: 39.92 kB / 347 MB, free: 6.953 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1172, allocations: 0 / 347 MB, free: 6.953 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1172, allocations: 0 / 347 MB, free: 6.953 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.1172, allocations: 0 / 347 MB, free: 6.953 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005416/0.1177, allocations: 363.5 kB / 347.3 MB, free: 6.551 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.1178, allocations: 8.031 kB / 347.3 MB, free: 6.543 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.029e-05/0.1179, allocations: 19.77 kB / 347.4 MB, free: 6.523 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.1182, allocations: 198.9 kB / 347.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.1182, allocations: 0 / 347.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.1182, allocations: 11.94 kB / 347.6 MB, free: 6.277 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003913/0.1186, allocations: 134.7 kB / 347.7 MB, free: 6.121 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1186, allocations: 0 / 347.7 MB, free: 6.121 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1187, allocations: 0 / 347.7 MB, free: 6.121 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.1187, allocations: 4 kB / 347.7 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.1189, allocations: 35.88 kB / 347.7 MB, free: 6.082 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/0.1193, allocations: 287.5 kB / 348 MB, free: 5.742 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.1195, allocations: 94.42 kB / 348.1 MB, free: 5.613 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.1195, allocations: 4 kB / 348.1 MB, free: 5.609 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.1196, allocations: 38.61 kB / 348.1 MB, free: 5.562 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.853e-06/0.1196, allocations: 0 / 348.1 MB, free: 5.562 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.000437/0.12, allocations: 109.7 kB / 348.3 MB, free: 5.449 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.1202, allocations: 144.4 kB / 348.4 MB, free: 5.277 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.1204, allocations: 135.2 kB / 348.5 MB, free: 5.137 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1204, allocations: 25.7 kB / 348.6 MB, free: 5.105 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.606e-05/0.1205, allocations: 162.7 kB / 348.7 MB, free: 4.945 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.1205, allocations: 8.219 kB / 348.7 MB, free: 4.938 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.1205, allocations: 4 kB / 348.7 MB, free: 4.934 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1207, allocations: 310.8 kB / 349 MB, free: 4.621 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-05/0.1208, allocations: 15.98 kB / 349 MB, free: 4.605 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.1209, allocations: 49.14 kB / 349.1 MB, free: 4.539 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.478e-05/0.121, allocations: 20 kB / 349.1 MB, free: 4.52 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1211, allocations: 0 / 349.1 MB, free: 4.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002678/0.1213, allocations: 85.55 kB / 349.2 MB, free: 4.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.1214, allocations: 11.94 kB / 349.2 MB, free: 4.418 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.1214, allocations: 0 / 349.2 MB, free: 4.418 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.1214, allocations: 4 kB / 349.2 MB, free: 4.414 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.1216, allocations: 15.92 kB / 349.2 MB, free: 4.398 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/0.1216, allocations: 11.94 kB / 349.2 MB, free: 4.387 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.484e-05/0.1217, allocations: 11.84 kB / 349.2 MB, free: 4.375 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.1217, allocations: 4.125 kB / 349.3 MB, free: 4.371 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001295/0.1219, allocations: 122 kB / 349.4 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.122, allocations: 69.53 kB / 349.4 MB, free: 4.168 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.632e-05/0.1221, allocations: 11.88 kB / 349.5 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.1221, allocations: 4 kB / 349.5 MB, free: 4.152 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1221, allocations: 0 / 349.5 MB, free: 4.152 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.1221, allocations: 3.953 kB / 349.5 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.1224, allocations: 181.6 kB / 349.6 MB, free: 3.922 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.1224, allocations: 4 kB / 349.6 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.1225, allocations: 20.02 kB / 349.7 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/0.1226, allocations: 4 kB / 349.7 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.1226, allocations: 0 / 349.7 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.1226, allocations: 4 kB / 349.7 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1226, allocations: 0 / 349.7 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.123, allocations: 239.1 kB / 349.9 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.709e-05/0.1231, allocations: 96.94 kB / 350 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.1231, allocations: 11.98 kB / 350 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.1232, allocations: 0 / 350 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.1233, allocations: 11.94 kB / 350 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.1233, allocations: 4 kB / 350 MB, free: 3.473 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001228/0.1234, allocations: 109.1 kB / 350.1 MB, free: 3.367 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1234, allocations: 0 / 350.1 MB, free: 3.367 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003058/0.1238, allocations: 12 kB / 350.1 MB, free: 3.355 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0001565/0.1239, allocations: 103.2 kB / 350.2 MB, free: 3.246 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002547/0.1242, allocations: 51.97 kB / 350.3 MB, free: 3.195 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1242, allocations: 0 / 350.3 MB, free: 3.195 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.252e-05/0.1243, allocations: 11.94 kB / 350.3 MB, free: 3.184 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.1247, allocations: 36.02 kB / 350.3 MB, free: 3.148 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005994/0.1253, allocations: 257.8 kB / 350.6 MB, free: 2.852 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.1257, allocations: 0.7004 MB / 351.3 MB, free: 2.125 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.185e-05/0.1258, allocations: 15.44 kB / 351.3 MB, free: 2.109 MB / 282.7 MB Notification: Performance of SimCode: time 9.01e-07/0.1258, allocations: 4 kB / 351.3 MB, free: 2.105 MB / 282.7 MB Notification: Performance of Templates: time 0.0033/0.1291, allocations: 0.9728 MB / 352.3 MB, free: 1.137 MB / 282.7 MB