Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") Notification: Performance of loadModel(Modelica): time 1.882/1.882, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.592e-05/2.602e-05, allocations: 4 kB / 292.1 MB, free: 8.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08911/0.08915, allocations: 50.41 MB / 342.6 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3873/0.4765, allocations: 76.61 MB / 419.2 MB, free: 1.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/0.4768, allocations: 77.64 kB / 419.2 MB, free: 1.457 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00417/0.481, allocations: 1.219 MB / 420.4 MB, free: 384 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.982e-06/0.481, allocations: 4 kB / 420.5 MB, free: 380 kB / 330.7 MB Notification: Performance of Transformations before backend: time 9.935e-06/0.481, allocations: 0 / 420.5 MB, free: 380 kB / 330.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.0003851/0.4814, allocations: 342.2 kB / 420.8 MB, free: 0 / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.4815, allocations: 12.08 kB / 420.8 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.981e-05/0.4815, allocations: 15.8 kB / 420.8 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.4818, allocations: 188.5 kB / 421 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.4818, allocations: 4 kB / 421 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.4818, allocations: 4 kB / 421 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.4821, allocations: 112.8 kB / 421.1 MB, free: 15.63 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.198e-06/0.4821, allocations: 0 / 421.1 MB, free: 15.63 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.4822, allocations: 7.562 kB / 421.1 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.4822, allocations: 0 / 421.1 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.71e-05/0.4823, allocations: 27.73 kB / 421.2 MB, free: 15.6 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004987/0.4828, allocations: 361.1 kB / 421.5 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.642e-05/0.4829, allocations: 60.25 kB / 421.6 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.124e-05/0.483, allocations: 35.53 kB / 421.6 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.483, allocations: 0 / 421.6 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.483, allocations: 38.44 kB / 421.6 MB, free: 15.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.937e-06/0.483, allocations: 0 / 421.6 MB, free: 15.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002308/0.4833, allocations: 65.36 kB / 421.7 MB, free: 14.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.936e-05/0.4834, allocations: 118.8 kB / 421.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.4835, allocations: 122.4 kB / 421.9 MB, free: 14.72 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.4836, allocations: 25.7 kB / 422 MB, free: 14.69 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.683e-05/0.4837, allocations: 162.3 kB / 422.1 MB, free: 14.53 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.076e-05/0.4837, allocations: 0 / 422.1 MB, free: 14.53 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-06/0.4837, allocations: 3.875 kB / 422.1 MB, free: 14.53 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.4839, allocations: 310.8 kB / 422.4 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.859e-05/0.4839, allocations: 8 kB / 422.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.904e-05/0.484, allocations: 39.17 kB / 422.5 MB, free: 14.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.521e-05/0.484, allocations: 11.88 kB / 422.5 MB, free: 14.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.484, allocations: 0 / 422.5 MB, free: 14.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001296/0.4842, allocations: 57.56 kB / 422.5 MB, free: 14.1 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.4842, allocations: 14.64 kB / 422.6 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.174e-06/0.4842, allocations: 3.938 kB / 422.6 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.4842, allocations: 3.953 kB / 422.6 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.901e-05/0.4843, allocations: 4 kB / 422.6 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.4843, allocations: 4 kB / 422.6 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.899e-05/0.4844, allocations: 4 kB / 422.6 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.4844, allocations: 3.812 kB / 422.6 MB, free: 14.07 MB / 346.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: 4 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * 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 9.748e-05/0.4845, allocations: 113 kB / 422.7 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.4846, allocations: 49.34 kB / 422.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.762e-05/0.4847, allocations: 15.45 kB / 422.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.703e-06/0.4847, allocations: 4 kB / 422.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.92e-06/0.4847, allocations: 3.953 kB / 422.8 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.114e-06/0.4847, allocations: 0 / 422.8 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.485, allocations: 169.5 kB / 422.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.587e-06/0.4851, allocations: 0 / 422.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.418e-05/0.4851, allocations: 4 kB / 422.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.458e-06/0.4851, allocations: 0 / 422.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.739e-06/0.4851, allocations: 4.031 kB / 422.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.4851, allocations: 0 / 422.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4e-06/0.4851, allocations: 4 kB / 422.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.4854, allocations: 266.7 kB / 423.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-05/0.4855, allocations: 100.8 kB / 423.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.4855, allocations: 3.953 kB / 423.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.4857, allocations: 4 kB / 423.3 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.265e-05/0.4857, allocations: 3.984 kB / 423.3 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.304e-06/0.4858, allocations: 4 kB / 423.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.582e-05/0.4859, allocations: 106.8 kB / 423.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.02e-07/0.4859, allocations: 0 / 423.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000355/0.4862, allocations: 8 kB / 423.4 MB, free: 13.15 MB / 346.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: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * 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.000133/0.4864, allocations: 103.2 kB / 423.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001144/0.4865, allocations: 34.92 kB / 423.6 MB, free: 13.01 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.38e-06/0.4865, allocations: 0 / 423.6 MB, free: 13.01 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.461e-05/0.4866, allocations: 4 kB / 423.6 MB, free: 13.01 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.4869, allocations: 33.8 kB / 423.6 MB, free: 12.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003314/0.4873, allocations: 152 kB / 423.7 MB, free: 12.81 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.4877, allocations: 0.6926 MB / 424.4 MB, free: 12.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.224e-05/0.4877, allocations: 15.31 kB / 424.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of SimCode: time 1.349e-06/0.4877, allocations: 0 / 424.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of Templates: time 0.002476/0.4902, allocations: 0.8036 MB / 425.3 MB, free: 11.29 MB / 346.7 MB