Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadModel(Modelica): time 2.056/2.056, allocations: 224.7 MB / 241.1 MB, free: 1.695 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.188e-05/3.176e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.112, allocations: 50.41 MB / 345 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002265/0.1144, allocations: 1.277 MB / 346.3 MB, free: 7.66 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.1154, allocations: 419.2 kB / 346.7 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.795e-05/0.1156, allocations: 4 kB / 346.7 MB, free: 7.242 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.663e-05/0.1156, allocations: 3.938 kB / 346.7 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.1158, allocations: 4 kB / 346.7 MB, free: 7.234 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.116, allocations: 35.94 kB / 346.7 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.83e-05/0.1162, allocations: 27.92 kB / 346.7 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.453e-05/0.1162, allocations: 11.97 kB / 346.8 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.178e-05/0.1163, allocations: 15.88 kB / 346.8 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.592e-05/0.1164, allocations: 15.92 kB / 346.8 MB, free: 7.129 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.776e-05/0.1164, allocations: 4 kB / 346.8 MB, free: 7.125 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.1165, allocations: 0 / 346.8 MB, free: 7.125 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.056e-05/0.1165, allocations: 11.98 kB / 346.8 MB, free: 7.113 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.052e-05/0.1166, allocations: 4 kB / 346.8 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.1167, allocations: 27.94 kB / 346.8 MB, free: 7.082 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1167, allocations: 4 kB / 346.8 MB, free: 7.078 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1167, allocations: 0 / 346.8 MB, free: 7.078 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.1167, allocations: 0 / 346.8 MB, free: 7.078 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005153/0.1172, allocations: 363.5 kB / 347.2 MB, free: 6.676 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.1173, allocations: 8.031 kB / 347.2 MB, free: 6.668 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.1173, allocations: 11.86 kB / 347.2 MB, free: 6.656 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.1176, allocations: 178.9 kB / 347.4 MB, free: 6.441 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.1176, allocations: 8 kB / 347.4 MB, free: 6.434 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.1176, allocations: 4 kB / 347.4 MB, free: 6.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003736/0.118, allocations: 124.9 kB / 347.5 MB, free: 6.289 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1181, allocations: 0 / 347.5 MB, free: 6.289 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1181, allocations: 0 / 347.5 MB, free: 6.289 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1181, allocations: 0 / 347.5 MB, free: 6.289 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.1182, allocations: 35.88 kB / 347.6 MB, free: 6.254 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.1186, allocations: 261.7 kB / 347.8 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.1189, allocations: 146.2 kB / 347.9 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.119, allocations: 3.984 kB / 348 MB, free: 5.762 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.119, allocations: 30.56 kB / 348 MB, free: 5.723 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.144e-06/0.119, allocations: 4 kB / 348 MB, free: 5.719 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003788/0.1194, allocations: 101.7 kB / 348.1 MB, free: 5.613 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.794e-05/0.1195, allocations: 81.11 kB / 348.2 MB, free: 5.516 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.1197, allocations: 127.8 kB / 348.3 MB, free: 5.387 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.1197, allocations: 25.7 kB / 348.3 MB, free: 5.355 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.618e-05/0.1198, allocations: 158.5 kB / 348.5 MB, free: 5.199 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.1198, allocations: 0 / 348.5 MB, free: 5.199 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.1198, allocations: 0 / 348.5 MB, free: 5.199 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.12, allocations: 319 kB / 348.8 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.219e-05/0.12, allocations: 11.98 kB / 348.8 MB, free: 4.867 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.613e-05/0.1201, allocations: 39.42 kB / 348.8 MB, free: 4.816 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.057e-05/0.1202, allocations: 12 kB / 348.8 MB, free: 4.805 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1202, allocations: 0 / 348.8 MB, free: 4.805 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002264/0.1205, allocations: 73.61 kB / 348.9 MB, free: 4.727 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.1205, allocations: 4 kB / 348.9 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.1205, allocations: 0 / 348.9 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.1206, allocations: 7.938 kB / 348.9 MB, free: 4.715 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.1207, allocations: 12.12 kB / 348.9 MB, free: 4.703 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.1207, allocations: 7.938 kB / 348.9 MB, free: 4.695 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.459e-05/0.1208, allocations: 7.906 kB / 349 MB, free: 4.688 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.1208, allocations: 0 / 349 MB, free: 4.688 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.0001137/0.121, allocations: 120.6 kB / 349.1 MB, free: 4.562 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.95e-05/0.1211, allocations: 41.69 kB / 349.1 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.36e-05/0.1211, allocations: 12.25 kB / 349.1 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.1211, allocations: 7.938 kB / 349.1 MB, free: 4.492 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1212, allocations: 4 kB / 349.1 MB, free: 4.488 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.1212, allocations: 11.94 kB / 349.1 MB, free: 4.477 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.1214, allocations: 173.5 kB / 349.3 MB, free: 4.258 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1214, allocations: 3.938 kB / 349.3 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.1215, allocations: 12 kB / 349.3 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1216, allocations: 0 / 349.3 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.1216, allocations: 3.984 kB / 349.3 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1216, allocations: 0 / 349.3 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1216, allocations: 0 / 349.3 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.1219, allocations: 186.1 kB / 349.5 MB, free: 4.031 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.068e-05/0.122, allocations: 89 kB / 349.6 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.122, allocations: 11.94 kB / 349.6 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1221, allocations: 3.938 kB / 349.6 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.1222, allocations: 7.953 kB / 349.6 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.1222, allocations: 4 kB / 349.6 MB, free: 3.898 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001084/0.1223, allocations: 107.2 kB / 349.7 MB, free: 3.793 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1223, allocations: 0 / 349.7 MB, free: 3.793 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002877/0.1226, allocations: 7.906 kB / 349.7 MB, free: 3.785 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: 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.0001316/0.1228, allocations: 99.25 kB / 349.8 MB, free: 3.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002403/0.123, allocations: 44.09 kB / 349.9 MB, free: 3.637 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.123, allocations: 0 / 349.9 MB, free: 3.637 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.04e-05/0.1231, allocations: 12 kB / 349.9 MB, free: 3.625 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.1235, allocations: 16.02 kB / 349.9 MB, free: 3.609 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004961/0.124, allocations: 222.1 kB / 350.1 MB, free: 3.355 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.1243, allocations: 0.6965 MB / 350.8 MB, free: 2.633 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.1243, allocations: 7.438 kB / 350.8 MB, free: 2.625 MB / 282.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1244, allocations: 0 / 350.8 MB, free: 2.625 MB / 282.7 MB Notification: Performance of Templates: time 0.002845/0.1272, allocations: 0.7268 MB / 351.6 MB, free: 1.898 MB / 282.7 MB