Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample") Notification: Performance of loadModel(Modelica_Synchronous): time 1.986/1.986, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.481e-05/3.488e-05, allocations: 7.984 kB / 284.3 MB, free: 8.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08694/0.087, allocations: 50.36 MB / 334.7 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3467/0.4338, allocations: 78.43 MB / 413.1 MB, free: 15.85 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001859/0.434, allocations: 60.28 kB / 413.2 MB, free: 15.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005495/0.4395, allocations: 1.418 MB / 414.6 MB, free: 14.58 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.333e-06/0.4396, allocations: 0.9844 kB / 414.6 MB, free: 14.58 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.4396, allocations: 4 kB / 414.6 MB, free: 14.58 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004512/0.44, allocations: 355.6 kB / 414.9 MB, free: 14.19 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.4401, allocations: 8.031 kB / 414.9 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.544e-05/0.4402, allocations: 15.81 kB / 414.9 MB, free: 14.17 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.4404, allocations: 198.5 kB / 415.1 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.4404, allocations: 7.953 kB / 415.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.4405, allocations: 7.5 kB / 415.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003691/0.4409, allocations: 155.2 kB / 415.3 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.4409, allocations: 4 kB / 415.3 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.4409, allocations: 3.062 kB / 415.3 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.923e-06/0.4409, allocations: 3.938 kB / 415.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.078e-05/0.441, allocations: 22.06 kB / 415.3 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004666/0.4415, allocations: 281.7 kB / 415.6 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.4418, allocations: 174.3 kB / 415.8 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.4419, allocations: 55.28 kB / 415.8 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.442, allocations: 3.984 kB / 415.8 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.442, allocations: 38.5 kB / 415.9 MB, free: 13.14 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.996e-06/0.442, allocations: 7.938 kB / 415.9 MB, free: 13.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002625/0.4423, allocations: 84.95 kB / 416 MB, free: 13.05 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.698e-05/0.4424, allocations: 110.3 kB / 416.1 MB, free: 12.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.4426, allocations: 120 kB / 416.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.4426, allocations: 25.7 kB / 416.2 MB, free: 12.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.635e-05/0.4427, allocations: 161.2 kB / 416.4 MB, free: 12.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.4427, allocations: 11.84 kB / 416.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.368e-06/0.4428, allocations: 2.625 kB / 416.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.4429, allocations: 314.8 kB / 416.7 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.749e-05/0.443, allocations: 14.98 kB / 416.7 MB, free: 12.28 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.55e-05/0.443, allocations: 64.98 kB / 416.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.972e-05/0.4431, allocations: 12.19 kB / 416.8 MB, free: 12.19 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.86e-06/0.4431, allocations: 4 kB / 416.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001881/0.4433, allocations: 84.48 kB / 416.9 MB, free: 12.1 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.4434, allocations: 7.938 kB / 416.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.547e-06/0.4434, allocations: 4 kB / 416.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.4434, allocations: 4 kB / 416.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.4435, allocations: 23.98 kB / 416.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.4436, allocations: 4.281 kB / 416.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.431e-05/0.4437, allocations: 8 kB / 416.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.4437, allocations: 7.984 kB / 416.9 MB, free: 12.05 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.199e-05/0.4438, allocations: 119.7 kB / 417.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.444, allocations: 72.03 kB / 417.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.157e-05/0.444, allocations: 10.53 kB / 417.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.715e-06/0.444, allocations: 4 kB / 417.1 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.813e-06/0.4441, allocations: 0 / 417.1 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.486e-06/0.4441, allocations: 0 / 417.1 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.4443, allocations: 191.2 kB / 417.3 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.187e-06/0.4444, allocations: 4 kB / 417.3 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.4445, allocations: 23.92 kB / 417.3 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.151e-06/0.4445, allocations: 0 / 417.3 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.4445, allocations: 4 kB / 417.4 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.136e-05/0.4446, allocations: 3.984 kB / 417.4 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.347e-06/0.4446, allocations: 3.938 kB / 417.4 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.4449, allocations: 224.9 kB / 417.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.92e-05/0.4449, allocations: 85.02 kB / 417.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.445, allocations: 3.984 kB / 417.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.4451, allocations: 7.125 kB / 417.7 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.4451, allocations: 0 / 417.7 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.4452, allocations: 4 kB / 417.7 MB, free: 11.24 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.582e-05/0.4453, allocations: 102.3 kB / 417.8 MB, free: 11.14 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.77e-07/0.4453, allocations: 0 / 417.8 MB, free: 11.14 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003453/0.4456, allocations: 15.38 kB / 417.8 MB, free: 11.13 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 (9): * Single equations (assignments): 9 * 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.0001211/0.4458, allocations: 95.25 kB / 417.9 MB, free: 11.03 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001554/0.4459, allocations: 46.5 kB / 417.9 MB, free: 10.99 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.553e-06/0.446, allocations: 0 / 417.9 MB, free: 10.99 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.516e-05/0.446, allocations: 3.984 kB / 417.9 MB, free: 10.99 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.4464, allocations: 47.05 kB / 418 MB, free: 10.95 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003617/0.4468, allocations: 151.1 kB / 418.1 MB, free: 10.79 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.4471, allocations: 0.6965 MB / 418.8 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.418e-05/0.4472, allocations: 15.42 kB / 418.8 MB, free: 10.05 MB / 346.7 MB Notification: Performance of SimCode: time 1.812e-06/0.4472, allocations: 0 / 418.8 MB, free: 10.05 MB / 346.7 MB Notification: Performance of Templates: time 0.002925/0.4501, allocations: 1.039 MB / 419.9 MB, free: 9.027 MB / 346.7 MB