Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestShiftSample") Notification: Performance of loadModel(Modelica_Synchronous): time 2.148/2.148, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.564e-05/4.576e-05, allocations: 4 kB / 284.3 MB, free: 8.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1429, allocations: 50.36 MB / 334.7 MB, free: 5.746 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4547/0.5976, allocations: 78.38 MB / 413.1 MB, free: 15.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000183/0.5979, allocations: 60.53 kB / 413.1 MB, free: 15.89 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005429/0.6033, allocations: 1.417 MB / 414.5 MB, free: 14.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.066e-06/0.6034, allocations: 0 / 414.5 MB, free: 14.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.796e-05/0.6034, allocations: 8 kB / 414.6 MB, free: 14.65 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.0004485/0.6039, allocations: 349.5 kB / 414.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.6039, allocations: 8.031 kB / 414.9 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/0.604, allocations: 15.81 kB / 414.9 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.6043, allocations: 206.1 kB / 415.1 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.6043, allocations: 3.953 kB / 415.1 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.6043, allocations: 6.312 kB / 415.1 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003701/0.6047, allocations: 158.9 kB / 415.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.6047, allocations: 0 / 415.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.6048, allocations: 3.984 kB / 415.3 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.189e-06/0.6048, allocations: 0 / 415.3 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.017e-05/0.6049, allocations: 25.06 kB / 415.3 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004551/0.6053, allocations: 291.6 kB / 415.6 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.6056, allocations: 170.2 kB / 415.8 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.91e-05/0.6058, allocations: 49.02 kB / 415.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.6058, allocations: 0 / 415.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.6058, allocations: 46.44 kB / 415.9 MB, free: 13.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.125e-06/0.6059, allocations: 0 / 415.9 MB, free: 13.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002673/0.6061, allocations: 84.64 kB / 415.9 MB, free: 13.13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.303e-05/0.6062, allocations: 105.9 kB / 416 MB, free: 13.01 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.6064, allocations: 121 kB / 416.2 MB, free: 12.89 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.6064, allocations: 29.45 kB / 416.2 MB, free: 12.86 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.401e-05/0.6065, allocations: 91.8 kB / 416.3 MB, free: 12.77 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.6065, allocations: 15.02 kB / 416.3 MB, free: 12.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.646e-06/0.6065, allocations: 0 / 416.3 MB, free: 12.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.6067, allocations: 322.9 kB / 416.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.246e-05/0.6068, allocations: 7.5 kB / 416.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.272e-05/0.6069, allocations: 75.47 kB / 416.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.867e-05/0.6069, allocations: 8 kB / 416.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.929e-06/0.6069, allocations: 0 / 416.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002054/0.6071, allocations: 96.14 kB / 416.8 MB, free: 12.24 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.6072, allocations: 8 kB / 416.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.138e-06/0.6072, allocations: 7.875 kB / 416.8 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.6072, allocations: 4 kB / 416.8 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.6074, allocations: 19.98 kB / 416.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.6074, allocations: 288 / 416.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.504e-05/0.6075, allocations: 16.06 kB / 416.9 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.6075, allocations: 7.984 kB / 416.9 MB, free: 12.18 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.626e-05/0.6076, allocations: 120.1 kB / 417 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.6078, allocations: 72.53 kB / 417 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.648e-05/0.6079, allocations: 15.34 kB / 417.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.041e-06/0.6079, allocations: 0 / 417.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.902e-06/0.6079, allocations: 0 / 417.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.216e-06/0.6079, allocations: 4 kB / 417.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.6082, allocations: 180.2 kB / 417.2 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.906e-06/0.6082, allocations: 8 kB / 417.2 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.6083, allocations: 19.92 kB / 417.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.403e-06/0.6084, allocations: 4 kB / 417.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.6084, allocations: 0 / 417.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.305e-06/0.6084, allocations: 0 / 417.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6084, allocations: 3.938 kB / 417.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.6087, allocations: 224.7 kB / 417.5 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/0.6088, allocations: 85.02 kB / 417.6 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.6088, allocations: 4.094 kB / 417.6 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.6089, allocations: 3.984 kB / 417.6 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.609, allocations: 7.984 kB / 417.6 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.609, allocations: 3.688 kB / 417.6 MB, free: 11.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.534e-05/0.6091, allocations: 98.58 kB / 417.7 MB, free: 11.28 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.43e-07/0.6091, allocations: 4 kB / 417.7 MB, free: 11.28 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00034/0.6095, allocations: 11 kB / 417.7 MB, free: 11.27 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.0001229/0.6096, allocations: 98.75 kB / 417.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001499/0.6098, allocations: 43.56 kB / 417.8 MB, free: 11.13 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.576e-06/0.6098, allocations: 0 / 417.8 MB, free: 11.13 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.513e-05/0.6098, allocations: 4 kB / 417.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.6102, allocations: 51.31 kB / 417.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003393/0.6105, allocations: 125.9 kB / 418 MB, free: 10.95 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.6109, allocations: 0.6965 MB / 418.7 MB, free: 10.23 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.843e-05/0.611, allocations: 8.422 kB / 418.7 MB, free: 10.22 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.611, allocations: 11.44 kB / 418.7 MB, free: 10.21 MB / 346.7 MB Notification: Performance of SimCode: time 1.543e-06/0.6111, allocations: 4 kB / 418.7 MB, free: 10.21 MB / 346.7 MB Notification: Performance of Templates: time 0.00386/0.6149, allocations: 0.7759 MB / 419.5 MB, free: 9.453 MB / 346.7 MB