Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadModel(Modelica): time 2.202/2.202, allocations: 224.7 MB / 241.1 MB, free: 1.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.367e-05/3.366e-05, allocations: 7.984 kB / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1136, allocations: 50.41 MB / 345 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002378/0.116, allocations: 1.265 MB / 346.2 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001024/0.1171, allocations: 415.2 kB / 346.6 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.275e-05/0.1172, allocations: 8 kB / 346.7 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.365e-05/0.1173, allocations: 3.938 kB / 346.7 MB, free: 7.242 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.1174, allocations: 7.984 kB / 346.7 MB, free: 7.234 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.1177, allocations: 35.89 kB / 346.7 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.117e-05/0.1178, allocations: 15.97 kB / 346.7 MB, free: 7.184 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.385e-05/0.1179, allocations: 8 kB / 346.7 MB, free: 7.176 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.899e-05/0.118, allocations: 15.86 kB / 346.7 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.785e-05/0.1181, allocations: 15.94 kB / 346.8 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.547e-05/0.1181, allocations: 0 / 346.8 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.1181, allocations: 7.938 kB / 346.8 MB, free: 7.137 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.816e-05/0.1182, allocations: 7.984 kB / 346.8 MB, free: 7.129 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.769e-05/0.1182, allocations: 4 kB / 346.8 MB, free: 7.125 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.621e-05/0.1183, allocations: 31.94 kB / 346.8 MB, free: 7.094 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1183, allocations: 0 / 346.8 MB, free: 7.094 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1183, allocations: 0 / 346.8 MB, free: 7.094 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.1183, allocations: 0 / 346.8 MB, free: 7.094 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005383/0.1189, allocations: 351.5 kB / 347.2 MB, free: 6.703 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.1189, allocations: 8.031 kB / 347.2 MB, free: 6.695 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.119, allocations: 15.86 kB / 347.2 MB, free: 6.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.1193, allocations: 186.9 kB / 347.4 MB, free: 6.457 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.1193, allocations: 4 kB / 347.4 MB, free: 6.453 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.1193, allocations: 0 / 347.4 MB, free: 6.453 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.1196, allocations: 97.03 kB / 347.5 MB, free: 6.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1197, allocations: 4 kB / 347.5 MB, free: 6.336 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.1197, allocations: 0 / 347.5 MB, free: 6.336 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1197, allocations: 0 / 347.5 MB, free: 6.336 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.1198, allocations: 27.94 kB / 347.5 MB, free: 6.309 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.1203, allocations: 261.8 kB / 347.7 MB, free: 6 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.1204, allocations: 45.2 kB / 347.8 MB, free: 5.938 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.1205, allocations: 0 / 347.8 MB, free: 5.938 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.1205, allocations: 42.44 kB / 347.8 MB, free: 5.887 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.1205, allocations: 0 / 347.8 MB, free: 5.887 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003531/0.1209, allocations: 81.62 kB / 347.9 MB, free: 5.801 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/0.121, allocations: 81.11 kB / 348 MB, free: 5.703 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.1211, allocations: 127.8 kB / 348.1 MB, free: 5.574 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.1212, allocations: 25.7 kB / 348.1 MB, free: 5.543 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.474e-05/0.1213, allocations: 150.6 kB / 348.3 MB, free: 5.395 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.1213, allocations: 4.062 kB / 348.3 MB, free: 5.391 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/0.1213, allocations: 4 kB / 348.3 MB, free: 5.387 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1215, allocations: 314.8 kB / 348.6 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.958e-05/0.1215, allocations: 11.98 kB / 348.6 MB, free: 5.059 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.097e-05/0.1216, allocations: 17.72 kB / 348.6 MB, free: 5.035 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.353e-05/0.1217, allocations: 20.05 kB / 348.6 MB, free: 5.016 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1217, allocations: 0 / 348.6 MB, free: 5.016 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000204/0.1219, allocations: 57.62 kB / 348.7 MB, free: 4.953 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.122, allocations: 4 kB / 348.7 MB, free: 4.949 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.122, allocations: 0 / 348.7 MB, free: 4.949 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.122, allocations: 0 / 348.7 MB, free: 4.949 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.1221, allocations: 11.98 kB / 348.7 MB, free: 4.938 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.1222, allocations: 8.016 kB / 348.7 MB, free: 4.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.53e-05/0.1222, allocations: 8 kB / 348.7 MB, free: 4.922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.1223, allocations: 3.938 kB / 348.7 MB, free: 4.918 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0001147/0.1224, allocations: 113.8 kB / 348.9 MB, free: 4.797 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.301e-05/0.1225, allocations: 45.53 kB / 348.9 MB, free: 4.746 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.295e-05/0.1225, allocations: 11.88 kB / 348.9 MB, free: 4.734 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.1225, allocations: 0 / 348.9 MB, free: 4.734 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1226, allocations: 0 / 348.9 MB, free: 4.734 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1226, allocations: 7.984 kB / 348.9 MB, free: 4.727 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.1228, allocations: 165.6 kB / 349.1 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.1228, allocations: 4 kB / 349.1 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.757e-05/0.1229, allocations: 7.984 kB / 349.1 MB, free: 4.504 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1229, allocations: 0 / 349.1 MB, free: 4.504 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.123, allocations: 4 kB / 349.1 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.123, allocations: 4 kB / 349.1 MB, free: 4.496 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.123, allocations: 0 / 349.1 MB, free: 4.496 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.1233, allocations: 173.9 kB / 349.3 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.12e-05/0.1234, allocations: 93.03 kB / 349.4 MB, free: 4.191 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.1234, allocations: 7.984 kB / 349.4 MB, free: 4.184 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.1235, allocations: 0 / 349.4 MB, free: 4.184 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.1236, allocations: 7.953 kB / 349.4 MB, free: 4.176 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.1236, allocations: 4.031 kB / 349.4 MB, free: 4.172 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001133/0.1237, allocations: 107.2 kB / 349.5 MB, free: 4.066 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1237, allocations: 0 / 349.5 MB, free: 4.066 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002887/0.124, allocations: 4 kB / 349.5 MB, free: 4.062 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 (2): * Single equations (assignments): 2 * 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.0001463/0.1242, allocations: 106 kB / 349.6 MB, free: 3.953 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000214/0.1244, allocations: 27.98 kB / 349.6 MB, free: 3.926 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1244, allocations: 0 / 349.6 MB, free: 3.926 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.963e-05/0.1245, allocations: 15.98 kB / 349.6 MB, free: 3.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.1248, allocations: 8.031 kB / 349.6 MB, free: 3.902 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004773/0.1253, allocations: 199.5 kB / 349.8 MB, free: 3.668 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.1257, allocations: 0.6965 MB / 350.5 MB, free: 2.945 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.877e-05/0.1258, allocations: 7.438 kB / 350.5 MB, free: 2.938 MB / 282.7 MB Notification: Performance of SimCode: time 3.316e-06/0.1258, allocations: 0 / 350.5 MB, free: 2.938 MB / 282.7 MB Notification: Performance of Templates: time 0.002776/0.1285, allocations: 0.6742 MB / 351.2 MB, free: 2.266 MB / 282.7 MB