Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadModel(Modelica): time 2.08/2.08, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.881e-05/2.896e-05, allocations: 0 / 294.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1127, allocations: 50.42 MB / 345 MB, free: 8.961 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002123/0.1149, allocations: 1.195 MB / 346.2 MB, free: 7.754 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000461/0.1154, allocations: 143.5 kB / 346.3 MB, free: 7.613 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.573e-05/0.1155, allocations: 3.938 kB / 346.3 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.846e-05/0.1156, allocations: 0 / 346.3 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.1157, allocations: 7.938 kB / 346.3 MB, free: 7.602 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.1159, allocations: 23.97 kB / 346.3 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.273e-05/0.116, allocations: 23.91 kB / 346.4 MB, free: 7.555 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.419e-05/0.1161, allocations: 11.98 kB / 346.4 MB, free: 7.543 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.952e-05/0.1162, allocations: 4 kB / 346.4 MB, free: 7.539 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.623e-05/0.1162, allocations: 7.938 kB / 346.4 MB, free: 7.531 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.337e-05/0.1163, allocations: 4 kB / 346.4 MB, free: 7.527 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.1163, allocations: 0 / 346.4 MB, free: 7.527 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.526e-05/0.1163, allocations: 7.984 kB / 346.4 MB, free: 7.52 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.768e-05/0.1163, allocations: 4 kB / 346.4 MB, free: 7.516 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.36e-05/0.1164, allocations: 27.89 kB / 346.4 MB, free: 7.488 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.1164, allocations: 0 / 346.4 MB, free: 7.488 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1164, allocations: 0 / 346.4 MB, free: 7.488 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.1165, allocations: 4 kB / 346.4 MB, free: 7.484 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.0004412/0.1169, allocations: 335.5 kB / 346.8 MB, free: 7.109 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.117, allocations: 15.97 kB / 346.8 MB, free: 7.094 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.557e-05/0.117, allocations: 11.86 kB / 346.8 MB, free: 7.082 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.1172, allocations: 175 kB / 347 MB, free: 6.871 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.1173, allocations: 8 kB / 347 MB, free: 6.863 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.1173, allocations: 0 / 347 MB, free: 6.863 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.1176, allocations: 89.05 kB / 347.1 MB, free: 6.758 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.1176, allocations: 0 / 347.1 MB, free: 6.758 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.1176, allocations: 0 / 347.1 MB, free: 6.758 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1176, allocations: 4 kB / 347.1 MB, free: 6.754 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.1178, allocations: 19.95 kB / 347.1 MB, free: 6.734 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003897/0.1182, allocations: 269.6 kB / 347.3 MB, free: 6.418 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.1183, allocations: 41.22 kB / 347.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.1183, allocations: 0 / 347.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.1184, allocations: 38.5 kB / 347.4 MB, free: 6.312 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.1184, allocations: 0 / 347.4 MB, free: 6.312 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002752/0.1187, allocations: 57.7 kB / 347.5 MB, free: 6.25 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.302e-05/0.1187, allocations: 85.05 kB / 347.6 MB, free: 6.148 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.1189, allocations: 121 kB / 347.7 MB, free: 6.023 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.1189, allocations: 25.7 kB / 347.7 MB, free: 5.992 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.045e-05/0.119, allocations: 162.7 kB / 347.9 MB, free: 5.832 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.035e-05/0.119, allocations: 0 / 347.9 MB, free: 5.832 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/0.119, allocations: 4 kB / 347.9 MB, free: 5.828 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1192, allocations: 310.8 kB / 348.2 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.705e-05/0.1192, allocations: 11.92 kB / 348.2 MB, free: 5.504 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.795e-05/0.1193, allocations: 17.72 kB / 348.2 MB, free: 5.48 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.037e-05/0.1194, allocations: 16 kB / 348.2 MB, free: 5.465 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1194, allocations: 0 / 348.2 MB, free: 5.465 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000139/0.1195, allocations: 45.62 kB / 348.3 MB, free: 5.414 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.1195, allocations: 8 kB / 348.3 MB, free: 5.406 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1196, allocations: 0 / 348.3 MB, free: 5.406 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1196, allocations: 0 / 348.3 MB, free: 5.406 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.922e-05/0.1196, allocations: 0 / 348.3 MB, free: 5.406 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.1196, allocations: 7.938 kB / 348.3 MB, free: 5.398 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.71e-05/0.1197, allocations: 8.062 kB / 348.3 MB, free: 5.391 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.1197, allocations: 4 kB / 348.3 MB, free: 5.387 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: 2 (sample1.u,sample1.y) * 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.0001002/0.1198, allocations: 109.8 kB / 348.4 MB, free: 5.27 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.157e-05/0.1199, allocations: 45.55 kB / 348.4 MB, free: 5.219 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/0.12, allocations: 11.52 kB / 348.5 MB, free: 5.207 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.12, allocations: 0 / 348.5 MB, free: 5.207 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.12, allocations: 0 / 348.5 MB, free: 5.207 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.12, allocations: 3.953 kB / 348.5 MB, free: 5.203 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.1202, allocations: 165.7 kB / 348.6 MB, free: 4.992 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1202, allocations: 4.031 kB / 348.6 MB, free: 4.988 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.443e-05/0.1203, allocations: 4 kB / 348.6 MB, free: 4.984 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1203, allocations: 0 / 348.6 MB, free: 4.984 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.1203, allocations: 0 / 348.6 MB, free: 4.984 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1203, allocations: 0 / 348.6 MB, free: 4.984 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.1203, allocations: 0 / 348.6 MB, free: 4.984 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.1205, allocations: 170 kB / 348.8 MB, free: 4.793 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-05/0.1206, allocations: 92.98 kB / 348.9 MB, free: 4.684 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.1207, allocations: 4 kB / 348.9 MB, free: 4.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.984e-05/0.1207, allocations: 0 / 348.9 MB, free: 4.68 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.1208, allocations: 7.953 kB / 348.9 MB, free: 4.672 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.1208, allocations: 0 / 348.9 MB, free: 4.672 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001011/0.1209, allocations: 107.8 kB / 349 MB, free: 4.566 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.1209, allocations: 0 / 349 MB, free: 4.566 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002716/0.1212, allocations: 4.031 kB / 349 MB, free: 4.562 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: 2 (sample1.u,sample1.y) * 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.0001245/0.1213, allocations: 103.2 kB / 349.1 MB, free: 4.453 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001644/0.1215, allocations: 19.98 kB / 349.1 MB, free: 4.434 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1215, allocations: 7.875 kB / 349.1 MB, free: 4.426 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.544e-05/0.1216, allocations: 4 kB / 349.1 MB, free: 4.422 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.1219, allocations: 12.31 kB / 349.2 MB, free: 4.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/0.1224, allocations: 179.2 kB / 349.3 MB, free: 4.195 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.1227, allocations: 0.6965 MB / 350 MB, free: 3.473 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.144e-05/0.1227, allocations: 7.438 kB / 350 MB, free: 3.465 MB / 282.7 MB Notification: Performance of SimCode: time 1.011e-06/0.1227, allocations: 0 / 350 MB, free: 3.465 MB / 282.7 MB Notification: Performance of Templates: time 0.002453/0.1252, allocations: 0.6083 MB / 350.6 MB, free: 2.859 MB / 282.7 MB