Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadModel(Modelica_Synchronous): time 2.023/2.023, allocations: 218.4 MB / 231.5 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.271e-05/3.286e-05, allocations: 4 kB / 284.3 MB, free: 8.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08684/0.08689, allocations: 50.36 MB / 334.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3558/0.4427, allocations: 78.42 MB / 413.1 MB, free: 15.83 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.443, allocations: 81.62 kB / 413.2 MB, free: 15.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005142/0.4482, allocations: 1.347 MB / 414.5 MB, free: 14.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.116e-06/0.4482, allocations: 0 / 414.5 MB, free: 14.61 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.991e-05/0.4483, allocations: 7.938 kB / 414.5 MB, free: 14.6 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004107/0.4487, allocations: 347.3 kB / 414.9 MB, free: 14.22 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.4487, allocations: 8.031 kB / 414.9 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.4488, allocations: 7.906 kB / 414.9 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.449, allocations: 186.5 kB / 415.1 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.4491, allocations: 7.953 kB / 415.1 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.4491, allocations: 0 / 415.1 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.4493, allocations: 91.23 kB / 415.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.274e-06/0.4493, allocations: 0 / 415.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.4494, allocations: 3.125 kB / 415.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.4494, allocations: 0 / 415.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.238e-05/0.4494, allocations: 7.938 kB / 415.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.4499, allocations: 276.4 kB / 415.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.995e-05/0.45, allocations: 33.22 kB / 415.5 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.912e-05/0.45, allocations: 17.2 kB / 415.5 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.45, allocations: 8 kB / 415.5 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.4501, allocations: 34.55 kB / 415.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.259e-05/0.4501, allocations: 4 kB / 415.5 MB, free: 13.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001833/0.4503, allocations: 45.11 kB / 415.6 MB, free: 13.39 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/0.4504, allocations: 84.55 kB / 415.7 MB, free: 13.3 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.4505, allocations: 126.7 kB / 415.8 MB, free: 13.17 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.4506, allocations: 25.7 kB / 415.8 MB, free: 13.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.048e-05/0.4507, allocations: 153.9 kB / 416 MB, free: 12.99 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.4507, allocations: 3.906 kB / 416 MB, free: 12.99 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.287e-06/0.4507, allocations: 3.938 kB / 416 MB, free: 12.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.4509, allocations: 318.4 kB / 416.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.071e-05/0.4509, allocations: 4 kB / 416.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.017e-05/0.451, allocations: 13.72 kB / 416.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.513e-05/0.451, allocations: 15.38 kB / 416.3 MB, free: 12.63 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.346e-06/0.451, allocations: 0 / 416.3 MB, free: 12.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001057/0.4511, allocations: 41.23 kB / 416.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.4512, allocations: 12.03 kB / 416.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.234e-06/0.4512, allocations: 0 / 416.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.4512, allocations: 0 / 416.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.682e-05/0.4513, allocations: 7.984 kB / 416.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.609e-06/0.4513, allocations: 0 / 416.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.916e-05/0.4514, allocations: 4 kB / 416.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.4514, allocations: 4 kB / 416.4 MB, free: 12.56 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.501e-05/0.4515, allocations: 108.7 kB / 416.5 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.459e-05/0.4516, allocations: 49.53 kB / 416.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/0.4517, allocations: 7.031 kB / 416.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.44e-06/0.4517, allocations: 0 / 416.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.675e-06/0.4517, allocations: 4 kB / 416.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.051e-06/0.4517, allocations: 0 / 416.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.4519, allocations: 164.2 kB / 416.7 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.452, allocations: 3.953 kB / 416.7 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.286e-05/0.4521, allocations: 19.92 kB / 416.7 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.25e-06/0.4521, allocations: 0 / 416.7 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.4521, allocations: 0 / 416.7 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.374e-06/0.4521, allocations: 4.031 kB / 416.7 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4521, allocations: 0 / 416.7 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.4523, allocations: 164.9 kB / 416.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.996e-05/0.4524, allocations: 88.59 kB / 417 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.4524, allocations: 0 / 417 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.965e-05/0.4526, allocations: 8.031 kB / 417 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-05/0.4526, allocations: 0 / 417 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.4526, allocations: 4 kB / 417 MB, free: 11.87 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001019/0.4527, allocations: 112.8 kB / 417.1 MB, free: 11.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.48e-07/0.4527, allocations: 0 / 417.1 MB, free: 11.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003034/0.4531, allocations: 4 kB / 417.1 MB, free: 11.77 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 (2): * Single equations (assignments): 2 * 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.0001259/0.4532, allocations: 99.89 kB / 417.2 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.4533, allocations: 19.36 kB / 417.2 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.324e-06/0.4533, allocations: 0 / 417.2 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.644e-05/0.4534, allocations: 4 kB / 417.2 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.4537, allocations: 15.23 kB / 417.2 MB, free: 11.62 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003224/0.454, allocations: 127 kB / 417.4 MB, free: 11.48 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.4544, allocations: 0.6964 MB / 418.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.477e-05/0.4544, allocations: 11.42 kB / 418.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of SimCode: time 1.549e-06/0.4544, allocations: 4.281 kB / 418.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of Templates: time 0.002308/0.4568, allocations: 0.6647 MB / 418.7 MB, free: 10.08 MB / 346.7 MB