Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") Notification: Performance of loadModel(Modelica_Synchronous): time 2.062/2.062, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.185e-05/4.196e-05, allocations: 11.98 kB / 284.3 MB, free: 8.684 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08774/0.08781, allocations: 50.36 MB / 334.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3572/0.4451, allocations: 78.47 MB / 413.1 MB, free: 15.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.4454, allocations: 81.5 kB / 413.2 MB, free: 15.69 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006911/0.4523, allocations: 1.685 MB / 414.9 MB, free: 14.21 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.948e-06/0.4524, allocations: 0 / 414.9 MB, free: 14.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.4524, allocations: 0 / 414.9 MB, free: 14.21 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.000478/0.4529, allocations: 374 kB / 415.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.4529, allocations: 8.031 kB / 415.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.453, allocations: 7.906 kB / 415.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.4533, allocations: 202.6 kB / 415.5 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.4533, allocations: 3.953 kB / 415.5 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.4533, allocations: 7.938 kB / 415.5 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.4536, allocations: 116.5 kB / 415.6 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.82e-06/0.4537, allocations: 0 / 415.6 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.4537, allocations: 0 / 415.6 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.288e-06/0.4537, allocations: 4 kB / 415.6 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.949e-05/0.4538, allocations: 19.69 kB / 415.6 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006284/0.4545, allocations: 393 kB / 416 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.4546, allocations: 67.36 kB / 416.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.958e-05/0.4547, allocations: 34.31 kB / 416.1 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.4547, allocations: 0 / 416.1 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.4548, allocations: 38.56 kB / 416.2 MB, free: 12.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.117e-06/0.4548, allocations: 0 / 416.2 MB, free: 12.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002729/0.4551, allocations: 73.08 kB / 416.2 MB, free: 12.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.451e-05/0.4552, allocations: 110.7 kB / 416.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.4553, allocations: 128.6 kB / 416.5 MB, free: 12.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.4554, allocations: 25.7 kB / 416.5 MB, free: 12.47 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.655e-05/0.4555, allocations: 158.1 kB / 416.6 MB, free: 12.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.4555, allocations: 15.98 kB / 416.7 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.716e-06/0.4555, allocations: 0 / 416.7 MB, free: 12.3 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.4557, allocations: 318.7 kB / 417 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.562e-05/0.4557, allocations: 7.812 kB / 417 MB, free: 11.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.121e-05/0.4558, allocations: 35.3 kB / 417 MB, free: 11.94 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.886e-05/0.4559, allocations: 15.5 kB / 417 MB, free: 11.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.71e-06/0.4559, allocations: 0 / 417 MB, free: 11.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001665/0.4561, allocations: 69.23 kB / 417.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.4561, allocations: 11.94 kB / 417.1 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.029e-06/0.4561, allocations: 0 / 417.1 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.4561, allocations: 3.938 kB / 417.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.4563, allocations: 15.98 kB / 417.1 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.485e-06/0.4563, allocations: 4.125 kB / 417.1 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.776e-05/0.4564, allocations: 8 kB / 417.1 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.4565, allocations: 3.938 kB / 417.1 MB, free: 11.81 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: 0 () * 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.34e-05/0.4566, allocations: 112.9 kB / 417.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.4567, allocations: 45.59 kB / 417.3 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.245e-05/0.4568, allocations: 19.27 kB / 417.3 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.974e-06/0.4568, allocations: 0 / 417.3 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.503e-06/0.4568, allocations: 4 kB / 417.3 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.959e-06/0.4568, allocations: 4.031 kB / 417.3 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003249/0.4572, allocations: 177.2 kB / 417.5 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.733e-06/0.4572, allocations: 4 kB / 417.5 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.4573, allocations: 11.98 kB / 417.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.4573, allocations: 0 / 417.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.4573, allocations: 4 kB / 417.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.429e-06/0.4574, allocations: 0 / 417.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.654e-06/0.4574, allocations: 3.938 kB / 417.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.4577, allocations: 286.1 kB / 417.8 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.4578, allocations: 96.69 kB / 417.9 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.4578, allocations: 0 / 417.9 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.458, allocations: 11.98 kB / 417.9 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.4581, allocations: 4 kB / 417.9 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.4581, allocations: 4 kB / 417.9 MB, free: 10.96 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00012/0.4582, allocations: 119.2 kB / 418 MB, free: 10.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.38e-07/0.4582, allocations: 0 / 418 MB, free: 10.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003791/0.4586, allocations: 8 kB / 418 MB, free: 10.85 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: 0 () * 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.0001372/0.4588, allocations: 103.2 kB / 418.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.4589, allocations: 27.81 kB / 418.2 MB, free: 10.72 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.459, allocations: 256 / 418.2 MB, free: 10.72 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.983e-05/0.459, allocations: 19.73 kB / 418.2 MB, free: 10.71 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.4594, allocations: 23.78 kB / 418.2 MB, free: 10.69 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004382/0.4599, allocations: 168.4 kB / 418.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.4603, allocations: 0.6965 MB / 419.1 MB, free: 9.773 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.871e-05/0.4603, allocations: 15.42 kB / 419.1 MB, free: 9.758 MB / 346.7 MB Notification: Performance of SimCode: time 1.437e-06/0.4604, allocations: 4.219 kB / 419.1 MB, free: 9.754 MB / 346.7 MB Notification: Performance of Templates: time 0.002862/0.4632, allocations: 0.9282 MB / 420 MB, free: 8.836 MB / 346.7 MB