Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.|step1.y|step2.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") Notification: Performance of loadModel(Modelica_Synchronous): time 2.114/2.114, allocations: 218.4 MB / 231.5 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.602e-05/3.614e-05, allocations: 7.984 kB / 284.3 MB, free: 8.672 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08601/0.08607, allocations: 50.36 MB / 334.7 MB, free: 6.211 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.36/0.4461, allocations: 77.86 MB / 412.5 MB, free: 368 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/0.4464, allocations: 79.25 kB / 412.6 MB, free: 324 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004101/0.4505, allocations: 1.177 MB / 413.8 MB, free: 15.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.113e-06/0.4506, allocations: 0 / 413.8 MB, free: 15.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.4506, allocations: 8 kB / 413.8 MB, free: 15.26 MB / 346.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.0003917/0.451, allocations: 341.1 kB / 414.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.4511, allocations: 12.02 kB / 414.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.4511, allocations: 7.906 kB / 414.2 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.4514, allocations: 191.9 kB / 414.3 MB, free: 14.65 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.4514, allocations: 0 / 414.3 MB, free: 14.65 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.4514, allocations: 11.94 kB / 414.3 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.4517, allocations: 119.3 kB / 414.5 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.708e-06/0.4517, allocations: 0 / 414.5 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.4517, allocations: 3.984 kB / 414.5 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.505e-06/0.4518, allocations: 0 / 414.5 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.838e-05/0.4518, allocations: 19.19 kB / 414.5 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000502/0.4523, allocations: 370.2 kB / 414.9 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.4525, allocations: 60.42 kB / 414.9 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.507e-05/0.4525, allocations: 37 kB / 414.9 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.4526, allocations: 0 / 414.9 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.4526, allocations: 34.5 kB / 415 MB, free: 13.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.9e-06/0.4526, allocations: 0 / 415 MB, free: 13.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002255/0.4529, allocations: 68.78 kB / 415 MB, free: 13.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.92e-05/0.453, allocations: 110.8 kB / 415.2 MB, free: 13.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.4531, allocations: 130.6 kB / 415.3 MB, free: 13.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.4531, allocations: 25.7 kB / 415.3 MB, free: 13.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.383e-05/0.4532, allocations: 153.9 kB / 415.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.4533, allocations: 7.219 kB / 415.5 MB, free: 13.42 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-06/0.4533, allocations: 4 kB / 415.5 MB, free: 13.42 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4534, allocations: 310.8 kB / 415.8 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.055e-05/0.4535, allocations: 11.36 kB / 415.8 MB, free: 13.1 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.348e-05/0.4535, allocations: 30.25 kB / 415.8 MB, free: 13.06 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.281e-05/0.4536, allocations: 15.14 kB / 415.8 MB, free: 13.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.371e-06/0.4536, allocations: 0 / 415.8 MB, free: 13.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001344/0.4538, allocations: 68.36 kB / 415.9 MB, free: 12.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4538, allocations: 4 kB / 415.9 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4538, allocations: 0 / 415.9 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.4538, allocations: 4 kB / 415.9 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.166e-05/0.4539, allocations: 7 kB / 415.9 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.4539, allocations: 4 kB / 415.9 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.912e-05/0.4539, allocations: 0 / 415.9 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.164e-06/0.454, allocations: 4 kB / 415.9 MB, free: 12.96 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 (sample.u[1],sample.u[2],sample.y[2],sample.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.747e-05/0.4541, allocations: 113 kB / 416 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.4542, allocations: 48.84 kB / 416.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.979e-05/0.4543, allocations: 14.89 kB / 416.1 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.199e-06/0.4543, allocations: 0 / 416.1 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.333e-06/0.4543, allocations: 0 / 416.1 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.705e-06/0.4543, allocations: 4 kB / 416.1 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.4546, allocations: 171.3 kB / 416.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.895e-06/0.4547, allocations: 3.953 kB / 416.3 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.474e-05/0.4547, allocations: 3.938 kB / 416.3 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.713e-06/0.4547, allocations: 0 / 416.3 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.4547, allocations: 4 kB / 416.3 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.652e-06/0.4547, allocations: 8.016 kB / 416.3 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.042e-06/0.4547, allocations: 4 kB / 416.3 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.455, allocations: 267.2 kB / 416.5 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.192e-05/0.4551, allocations: 92.41 kB / 416.6 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.4551, allocations: 0 / 416.6 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.4553, allocations: 7.984 kB / 416.6 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.4553, allocations: 7.75 kB / 416.7 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.811e-06/0.4554, allocations: 0 / 416.7 MB, free: 12.14 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.827e-05/0.4555, allocations: 110.4 kB / 416.8 MB, free: 12.04 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.658e-06/0.4555, allocations: 3.938 kB / 416.8 MB, free: 12.04 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003597/0.4559, allocations: 7.938 kB / 416.8 MB, free: 12.03 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 (sample.u[1],sample.u[2],sample.y[1],sample.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.0001321/0.456, allocations: 99.39 kB / 416.9 MB, free: 11.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.4561, allocations: 26.61 kB / 416.9 MB, free: 11.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4561, allocations: 0 / 416.9 MB, free: 11.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.636e-05/0.4562, allocations: 15.75 kB / 416.9 MB, free: 11.89 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.4565, allocations: 31.06 kB / 416.9 MB, free: 11.87 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003426/0.4569, allocations: 155.9 kB / 417.1 MB, free: 11.69 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.4573, allocations: 0.6926 MB / 417.8 MB, free: 10.97 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.296e-05/0.4573, allocations: 11.44 kB / 417.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of SimCode: time 1.475e-06/0.4574, allocations: 0 / 417.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of Templates: time 0.002597/0.46, allocations: 0.7906 MB / 418.6 MB, free: 10.18 MB / 346.7 MB