Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay") Notification: Performance of loadModel(Modelica_Synchronous): time 1.928/1.928, allocations: 218.4 MB / 231.5 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.971e-05/2.977e-05, allocations: 4 kB / 284.3 MB, free: 8.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08859/0.08864, allocations: 50.36 MB / 334.7 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4008/0.4895, allocations: 79.84 MB / 414.5 MB, free: 14.45 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001833/0.4897, allocations: 61.84 kB / 414.6 MB, free: 14.42 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008462/0.4982, allocations: 2.15 MB / 416.7 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.246e-06/0.4982, allocations: 3.938 kB / 416.7 MB, free: 12.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.4983, allocations: 4 kB / 416.7 MB, free: 12.57 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004827/0.4987, allocations: 380.8 kB / 417.1 MB, free: 12.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.4988, allocations: 12.03 kB / 417.1 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.313e-05/0.4989, allocations: 11.91 kB / 417.1 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.4992, allocations: 204.3 kB / 417.3 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.4992, allocations: 11.08 kB / 417.3 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.687e-05/0.4993, allocations: 11.06 kB / 417.3 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005172/0.4998, allocations: 227.5 kB / 417.6 MB, free: 11.69 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.4998, allocations: 0 / 417.6 MB, free: 11.69 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.4998, allocations: 3 kB / 417.6 MB, free: 11.69 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.523e-06/0.4999, allocations: 4 kB / 417.6 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.5, allocations: 37.05 kB / 417.6 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005033/0.5005, allocations: 322 kB / 417.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.5008, allocations: 138.2 kB / 418.1 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.501, allocations: 92.73 kB / 418.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.501, allocations: 0 / 418.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.5011, allocations: 41.75 kB / 418.2 MB, free: 11.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 4.399e-06/0.5011, allocations: 3.984 kB / 418.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003354/0.5014, allocations: 127.9 kB / 418.3 MB, free: 10.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.737e-05/0.5015, allocations: 122 kB / 418.4 MB, free: 10.79 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.5017, allocations: 122.9 kB / 418.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/0.5017, allocations: 29.33 kB / 418.6 MB, free: 10.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.212e-05/0.5018, allocations: 160.7 kB / 418.7 MB, free: 10.49 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.5019, allocations: 10.7 kB / 418.8 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.452e-06/0.5019, allocations: 6.875 kB / 418.8 MB, free: 10.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.502, allocations: 318.4 kB / 419.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.637e-05/0.5021, allocations: 19.88 kB / 419.1 MB, free: 10.15 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.5023, allocations: 135.1 kB / 419.2 MB, free: 9.977 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.856e-05/0.5024, allocations: 43.55 kB / 419.3 MB, free: 9.941 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.635e-06/0.5024, allocations: 0 / 419.3 MB, free: 9.941 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003104/0.5027, allocations: 144.5 kB / 419.4 MB, free: 9.812 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.5028, allocations: 11.95 kB / 419.4 MB, free: 9.801 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.5028, allocations: 4 kB / 419.4 MB, free: 9.797 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.5028, allocations: 4 kB / 419.4 MB, free: 9.793 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.503, allocations: 43.47 kB / 419.5 MB, free: 9.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.503, allocations: 4 kB / 419.5 MB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.5032, allocations: 15.84 kB / 419.5 MB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.5032, allocations: 11.88 kB / 419.5 MB, free: 9.727 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 2 (fixedDelay.first,$CLKPRE.fixedDelay.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001012/0.5033, allocations: 120.9 kB / 419.6 MB, free: 9.605 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/0.5036, allocations: 116.3 kB / 419.7 MB, free: 9.504 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.773e-05/0.5036, allocations: 20.39 kB / 419.7 MB, free: 9.492 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.063e-06/0.5036, allocations: 0 / 419.7 MB, free: 9.492 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.826e-06/0.5037, allocations: 7.984 kB / 419.8 MB, free: 9.484 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.862e-06/0.5037, allocations: 0 / 419.8 MB, free: 9.484 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.504, allocations: 196.9 kB / 419.9 MB, free: 9.258 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.999e-06/0.504, allocations: 0 / 419.9 MB, free: 9.258 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.5042, allocations: 31.95 kB / 420 MB, free: 9.227 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.448e-06/0.5042, allocations: 11.92 kB / 420 MB, free: 9.215 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.5042, allocations: 7.312 kB / 420 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.381e-06/0.5042, allocations: 3.953 kB / 420 MB, free: 9.207 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.028e-06/0.5042, allocations: 0 / 420 MB, free: 9.207 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.5046, allocations: 254.8 kB / 420.3 MB, free: 8.953 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.922e-05/0.5047, allocations: 96.89 kB / 420.3 MB, free: 8.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.5047, allocations: 7.562 kB / 420.4 MB, free: 8.836 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.5048, allocations: 4 kB / 420.4 MB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.5049, allocations: 0 / 420.4 MB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.5049, allocations: 4 kB / 420.4 MB, free: 8.828 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.103e-05/0.505, allocations: 110.4 kB / 420.5 MB, free: 8.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.13e-07/0.505, allocations: 0 / 420.5 MB, free: 8.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003918/0.5054, allocations: 19.94 kB / 420.5 MB, free: 8.715 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: 1 (fixedDelay.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.000129/0.5056, allocations: 107.1 kB / 420.6 MB, free: 8.605 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002334/0.5058, allocations: 83.36 kB / 420.7 MB, free: 8.539 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.073e-06/0.5058, allocations: 3.938 kB / 420.7 MB, free: 8.535 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.808e-05/0.5059, allocations: 11.88 kB / 420.7 MB, free: 8.527 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.5063, allocations: 68.64 kB / 420.8 MB, free: 8.477 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005596/0.5068, allocations: 204.3 kB / 421 MB, free: 8.266 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.5073, allocations: 0.7165 MB / 421.7 MB, free: 7.523 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.339e-05/0.5073, allocations: 19.25 kB / 421.7 MB, free: 7.508 MB / 346.7 MB Notification: Performance of SimCode: time 1.529e-06/0.5073, allocations: 0 / 421.7 MB, free: 7.508 MB / 346.7 MB Notification: Performance of Templates: time 0.003567/0.5109, allocations: 1.364 MB / 423.1 MB, free: 6.152 MB / 346.7 MB