Running command: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadModel(Modelica_Synchronous): time 2.123/2.123, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.997e-05/2.984e-05, allocations: 4 kB / 284.3 MB, free: 8.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08678/0.08684, allocations: 50.37 MB / 334.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3516/0.4385, allocations: 77.87 MB / 412.6 MB, free: 344 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.4388, allocations: 77.5 kB / 412.6 MB, free: 300 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004715/0.4435, allocations: 1.274 MB / 413.9 MB, free: 15.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.123e-06/0.4436, allocations: 7.875 kB / 413.9 MB, free: 15.15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.4436, allocations: 4 kB / 413.9 MB, free: 15.15 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.0004362/0.444, allocations: 362.4 kB / 414.3 MB, free: 14.76 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.4441, allocations: 8.031 kB / 414.3 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.4441, allocations: 15.81 kB / 414.3 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.4444, allocations: 189.5 kB / 414.5 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.4444, allocations: 4 kB / 414.5 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.4445, allocations: 4 kB / 414.5 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.4447, allocations: 115.3 kB / 414.6 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.402e-06/0.4448, allocations: 0 / 414.6 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.4448, allocations: 0 / 414.6 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.037e-06/0.4448, allocations: 4 kB / 414.6 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.394e-05/0.4449, allocations: 18.36 kB / 414.6 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005474/0.4454, allocations: 378.4 kB / 415 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.4456, allocations: 56.61 kB / 415 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.181e-05/0.4456, allocations: 33.94 kB / 415.1 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.4457, allocations: 4 kB / 415.1 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.4457, allocations: 34.56 kB / 415.1 MB, free: 13.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.698e-06/0.4457, allocations: 3.938 kB / 415.1 MB, free: 13.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002265/0.446, allocations: 63.91 kB / 415.2 MB, free: 13.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.671e-05/0.4461, allocations: 106.1 kB / 415.3 MB, free: 13.61 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.4462, allocations: 140.9 kB / 415.4 MB, free: 13.47 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.4463, allocations: 25.7 kB / 415.4 MB, free: 13.44 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.779e-05/0.4464, allocations: 161.7 kB / 415.6 MB, free: 13.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.4464, allocations: 3.906 kB / 415.6 MB, free: 13.29 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.912e-06/0.4464, allocations: 0 / 415.6 MB, free: 13.29 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.4466, allocations: 322.7 kB / 415.9 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.028e-05/0.4466, allocations: 11.42 kB / 415.9 MB, free: 12.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.117e-05/0.4467, allocations: 30.94 kB / 416 MB, free: 12.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.974e-05/0.4467, allocations: 19.42 kB / 416 MB, free: 12.9 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.642e-06/0.4467, allocations: 0 / 416 MB, free: 12.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001321/0.4469, allocations: 57.12 kB / 416 MB, free: 12.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.4469, allocations: 4 kB / 416 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.4469, allocations: 4.125 kB / 416 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.447, allocations: 4 kB / 416.1 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.4471, allocations: 8 kB / 416.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.4471, allocations: 4 kB / 416.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.047e-05/0.4472, allocations: 11.98 kB / 416.1 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.4472, allocations: 4 kB / 416.1 MB, free: 12.8 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.822e-05/0.4473, allocations: 112.3 kB / 416.2 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.4475, allocations: 56.97 kB / 416.2 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.028e-05/0.4475, allocations: 11.09 kB / 416.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.721e-06/0.4475, allocations: 0 / 416.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.275e-06/0.4476, allocations: 0 / 416.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.4476, allocations: 3.984 kB / 416.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003196/0.4479, allocations: 179.6 kB / 416.4 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.606e-06/0.4479, allocations: 0 / 416.4 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.09e-05/0.448, allocations: 11.98 kB / 416.4 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.583e-06/0.448, allocations: 4 kB / 416.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.04e-06/0.4481, allocations: 4.031 kB / 416.5 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.593e-06/0.4481, allocations: 0 / 416.5 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.883e-06/0.4481, allocations: 4 kB / 416.5 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.4484, allocations: 265.5 kB / 416.7 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.57e-05/0.4485, allocations: 108.5 kB / 416.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/0.4485, allocations: 3.984 kB / 416.8 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.4487, allocations: 7.188 kB / 416.8 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.4487, allocations: 7.953 kB / 416.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.4487, allocations: 0 / 416.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001058/0.4489, allocations: 110.1 kB / 417 MB, free: 11.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.47e-07/0.4489, allocations: 0 / 417 MB, free: 11.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003588/0.4492, allocations: 11.31 kB / 417 MB, free: 11.86 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.0001274/0.4494, allocations: 107.2 kB / 417.1 MB, free: 11.74 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001169/0.4495, allocations: 26.44 kB / 417.1 MB, free: 11.72 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.85e-06/0.4495, allocations: 0 / 417.1 MB, free: 11.72 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.365e-05/0.4496, allocations: 7.984 kB / 417.1 MB, free: 11.71 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.4499, allocations: 30.44 kB / 417.1 MB, free: 11.69 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.4503, allocations: 148.2 kB / 417.3 MB, free: 11.52 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.4507, allocations: 0.6965 MB / 418 MB, free: 10.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.299e-05/0.4508, allocations: 11.44 kB / 418 MB, free: 10.79 MB / 346.7 MB Notification: Performance of SimCode: time 1.515e-06/0.4508, allocations: 0 / 418 MB, free: 10.79 MB / 346.7 MB Notification: Performance of Templates: time 0.002727/0.4535, allocations: 0.8289 MB / 418.8 MB, free: 9.969 MB / 346.7 MB