Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler") Notification: Performance of loadModel(Modelica_Synchronous): time 2.033/2.033, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.363e-05/3.377e-05, allocations: 0 / 284.3 MB, free: 8.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08736/0.08742, allocations: 50.37 MB / 334.7 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3542/0.4416, allocations: 78.76 MB / 413.4 MB, free: 15.46 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001861/0.4419, allocations: 64.34 kB / 413.5 MB, free: 15.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01328/0.4552, allocations: 3.129 MB / 416.6 MB, free: 12.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.884e-06/0.4552, allocations: 4 kB / 416.6 MB, free: 12.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.066e-05/0.4552, allocations: 8 kB / 416.6 MB, free: 12.76 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006036/0.4559, allocations: 414.7 kB / 417 MB, free: 12.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.4559, allocations: 12.03 kB / 417.1 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.527e-05/0.456, allocations: 19.75 kB / 417.1 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.4563, allocations: 225.9 kB / 417.3 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.4564, allocations: 15.94 kB / 417.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.4564, allocations: 11.88 kB / 417.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006828/0.4571, allocations: 324.9 kB / 417.6 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.4571, allocations: 0 / 417.6 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/0.4572, allocations: 7.375 kB / 417.6 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.3e-06/0.4572, allocations: 0 / 417.6 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002194/0.4574, allocations: 94.25 kB / 417.7 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007672/0.4582, allocations: 462 kB / 418.2 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004902/0.4587, allocations: 218.4 kB / 418.4 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/0.459, allocations: 116.6 kB / 418.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/0.459, allocations: 3.984 kB / 418.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.4591, allocations: 46.25 kB / 418.6 MB, free: 10.81 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 2.731e-06/0.4591, allocations: 0 / 418.6 MB, free: 10.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004758/0.4596, allocations: 179.3 kB / 418.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.4597, allocations: 140.3 kB / 418.9 MB, free: 10.49 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.4598, allocations: 137 kB / 419 MB, free: 10.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.4599, allocations: 29.39 kB / 419 MB, free: 10.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.46, allocations: 174.1 kB / 419.2 MB, free: 10.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.4601, allocations: 19.83 kB / 419.2 MB, free: 10.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.231e-06/0.4601, allocations: 3.875 kB / 419.2 MB, free: 10.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.4602, allocations: 318.7 kB / 419.5 MB, free: 9.828 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.377e-05/0.4603, allocations: 23.92 kB / 419.6 MB, free: 9.809 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.4605, allocations: 142.2 kB / 419.7 MB, free: 9.629 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.4606, allocations: 63.22 kB / 419.8 MB, free: 9.578 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.6e-06/0.4606, allocations: 0 / 419.8 MB, free: 9.578 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003562/0.461, allocations: 164.4 kB / 419.9 MB, free: 9.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.461, allocations: 8.094 kB / 419.9 MB, free: 9.422 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.4611, allocations: 4 kB / 419.9 MB, free: 9.418 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.4611, allocations: 11.95 kB / 420 MB, free: 9.406 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.4613, allocations: 39.92 kB / 420 MB, free: 9.367 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/0.4614, allocations: 11.98 kB / 420 MB, free: 9.355 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.4615, allocations: 11.88 kB / 420 MB, free: 9.348 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.4616, allocations: 8 kB / 420 MB, free: 9.34 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 0.0001105/0.4617, allocations: 128.4 kB / 420.1 MB, free: 9.215 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003427/0.462, allocations: 164.9 kB / 420.3 MB, free: 9.074 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.659e-05/0.4621, allocations: 20.19 kB / 420.3 MB, free: 9.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.4621, allocations: 7.984 kB / 420.3 MB, free: 9.062 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.178e-06/0.4622, allocations: 7.891 kB / 420.3 MB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.984e-06/0.4622, allocations: 0 / 420.3 MB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003654/0.4625, allocations: 216.9 kB / 420.6 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.388e-06/0.4626, allocations: 0 / 420.6 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.4628, allocations: 35.98 kB / 420.6 MB, free: 8.773 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.756e-06/0.4628, allocations: 11.95 kB / 420.6 MB, free: 8.762 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.4629, allocations: 7.625 kB / 420.6 MB, free: 8.758 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.922e-06/0.4629, allocations: 0 / 420.6 MB, free: 8.758 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.466e-06/0.4629, allocations: 0 / 420.6 MB, free: 8.758 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004851/0.4634, allocations: 405.5 kB / 421 MB, free: 8.363 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.156e-05/0.4635, allocations: 92.88 kB / 421.1 MB, free: 8.254 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.4635, allocations: 4 kB / 421.1 MB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.4637, allocations: 11.86 kB / 421.1 MB, free: 8.242 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.4638, allocations: 4 kB / 421.1 MB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.4638, allocations: 7.438 kB / 421.1 MB, free: 8.234 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001176/0.4639, allocations: 119.5 kB / 421.2 MB, free: 8.125 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.464, allocations: 0 / 421.2 MB, free: 8.125 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004623/0.4644, allocations: 27.75 kB / 421.3 MB, free: 8.102 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (18): * Single equations (assignments): 18 * 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.0001417/0.4646, allocations: 106.6 kB / 421.4 MB, free: 7.988 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003082/0.4649, allocations: 118.2 kB / 421.5 MB, free: 7.895 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.119e-06/0.4649, allocations: 1.125 kB / 421.5 MB, free: 7.895 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.038e-05/0.465, allocations: 15.44 kB / 421.5 MB, free: 7.883 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005183/0.4655, allocations: 107.3 kB / 421.6 MB, free: 7.797 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006685/0.4662, allocations: 284.3 kB / 421.9 MB, free: 7.512 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004384/0.4667, allocations: 0.7432 MB / 422.6 MB, free: 6.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.665e-05/0.4667, allocations: 19.53 kB / 422.6 MB, free: 6.734 MB / 346.7 MB Notification: Performance of SimCode: time 1.804e-06/0.4667, allocations: 0 / 422.6 MB, free: 6.734 MB / 346.7 MB Notification: Performance of Templates: time 0.004259/0.471, allocations: 1.713 MB / 424.4 MB, free: 5.043 MB / 346.7 MB