Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2") Notification: Performance of loadModel(Modelica_Synchronous): time 1.977/1.977, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.622e-05/3.642e-05, allocations: 7.984 kB / 284.3 MB, free: 8.68 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08648/0.08654, allocations: 50.35 MB / 334.7 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3547/0.4413, allocations: 78.07 MB / 412.7 MB, free: 180 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.4416, allocations: 70.41 kB / 412.8 MB, free: 140 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003973/0.4456, allocations: 1.134 MB / 413.9 MB, free: 15.12 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.99e-06/0.4456, allocations: 0 / 413.9 MB, free: 15.12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.4456, allocations: 4 kB / 414 MB, free: 15.12 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.0003811/0.446, allocations: 339.8 kB / 414.3 MB, free: 14.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.4461, allocations: 12.03 kB / 414.3 MB, free: 14.74 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.4461, allocations: 7.906 kB / 414.3 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.4464, allocations: 190.5 kB / 414.5 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.4464, allocations: 0 / 414.5 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.4464, allocations: 11.89 kB / 414.5 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.4467, allocations: 108.1 kB / 414.6 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.4467, allocations: 0 / 414.6 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.116e-06/0.4467, allocations: 0 / 414.6 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.006e-06/0.4468, allocations: 0 / 414.6 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.403e-05/0.4468, allocations: 15.81 kB / 414.6 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004075/0.4472, allocations: 269 kB / 414.9 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.4475, allocations: 131.3 kB / 415 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.841e-05/0.4475, allocations: 25.47 kB / 415 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.4476, allocations: 8 kB / 415 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.4476, allocations: 34.44 kB / 415.1 MB, free: 13.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.349e-06/0.4476, allocations: 0 / 415.1 MB, free: 13.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001776/0.4478, allocations: 53.56 kB / 415.1 MB, free: 13.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.4479, allocations: 81.05 kB / 415.2 MB, free: 13.69 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.448, allocations: 124.8 kB / 415.3 MB, free: 13.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.4481, allocations: 25.7 kB / 415.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.838e-05/0.4482, allocations: 154.6 kB / 415.5 MB, free: 13.38 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.4482, allocations: 11.72 kB / 415.5 MB, free: 13.38 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-06/0.4482, allocations: 0 / 415.5 MB, free: 13.38 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.4484, allocations: 310.8 kB / 415.8 MB, free: 13.06 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.967e-05/0.4484, allocations: 4 kB / 415.8 MB, free: 13.06 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.769e-05/0.4484, allocations: 27.25 kB / 415.9 MB, free: 13.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.485e-05/0.4485, allocations: 15.94 kB / 415.9 MB, free: 13.01 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.762e-06/0.4485, allocations: 0 / 415.9 MB, free: 13.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00011/0.4486, allocations: 49.45 kB / 415.9 MB, free: 12.96 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.4487, allocations: 4 kB / 415.9 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.724e-06/0.4487, allocations: 4 kB / 415.9 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.4487, allocations: 7.922 kB / 415.9 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.5e-05/0.4488, allocations: 16.06 kB / 415.9 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.165e-06/0.4488, allocations: 0 / 415.9 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.339e-05/0.4489, allocations: 7.875 kB / 416 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.757e-06/0.4489, allocations: 7.938 kB / 416 MB, free: 12.91 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 8.188e-05/0.449, allocations: 108.7 kB / 416.1 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.4491, allocations: 49.47 kB / 416.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.841e-05/0.4492, allocations: 11.84 kB / 416.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.4492, allocations: 0 / 416.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.4492, allocations: 3.984 kB / 416.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.314e-06/0.4492, allocations: 4 kB / 416.1 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.4495, allocations: 169.4 kB / 416.3 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.49e-06/0.4495, allocations: 3.953 kB / 416.3 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.772e-05/0.4495, allocations: 11.94 kB / 416.3 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.853e-06/0.4496, allocations: 0 / 416.3 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.392e-06/0.4496, allocations: 0 / 416.3 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.4496, allocations: 4 kB / 416.3 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.831e-06/0.4496, allocations: 0 / 416.3 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.4498, allocations: 169.7 kB / 416.5 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.688e-05/0.4499, allocations: 96.75 kB / 416.6 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.4499, allocations: 4 kB / 416.6 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.148e-05/0.45, allocations: 7.984 kB / 416.6 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.4501, allocations: 0 / 416.6 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-06/0.4501, allocations: 4.234 kB / 416.6 MB, free: 12.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.494e-05/0.4502, allocations: 108.1 kB / 416.7 MB, free: 12.1 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.624e-06/0.4502, allocations: 0 / 416.7 MB, free: 12.1 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003109/0.4505, allocations: 7.938 kB / 416.7 MB, free: 12.09 MB / 346.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: 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.0001165/0.4507, allocations: 95.67 kB / 416.8 MB, free: 11.99 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.764e-05/0.4508, allocations: 17.75 kB / 416.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4508, allocations: 0 / 416.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.169e-05/0.4508, allocations: 7.938 kB / 416.8 MB, free: 11.97 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.4511, allocations: 26.45 kB / 416.9 MB, free: 11.95 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002974/0.4514, allocations: 129.5 kB / 417 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.4518, allocations: 0.6887 MB / 417.7 MB, free: 11.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.617e-05/0.4519, allocations: 11.44 kB / 417.7 MB, free: 11.08 MB / 346.7 MB Notification: Performance of SimCode: time 1.469e-06/0.4519, allocations: 0 / 417.7 MB, free: 11.08 MB / 346.7 MB Notification: Performance of Templates: time 0.002284/0.4542, allocations: 0.6676 MB / 418.3 MB, free: 10.42 MB / 346.7 MB