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 2.272/2.272, allocations: 218.4 MB / 234.2 MB, free: 5.59 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.168e-05/3.173e-05, allocations: 4 kB / 287.6 MB, free: 76 kB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3193, allocations: 50.37 MB / 338 MB, free: 4 kB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay): time 0.002774/0.3222, allocations: 1.477 MB / 339.4 MB, free: 14.51 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.3239, allocations: 0.6401 MB / 340.1 MB, free: 13.86 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001732/0.3241, allocations: 7.938 kB / 340.1 MB, free: 13.85 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002191/0.3243, allocations: 15.86 kB / 340.1 MB, free: 13.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.3245, allocations: 19.95 kB / 340.1 MB, free: 13.82 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006599/0.3251, allocations: 115.7 kB / 340.2 MB, free: 13.7 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.3253, allocations: 59.77 kB / 340.3 MB, free: 13.64 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.3254, allocations: 28.17 kB / 340.3 MB, free: 13.62 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.3256, allocations: 23.91 kB / 340.3 MB, free: 13.59 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.3257, allocations: 35.73 kB / 340.4 MB, free: 13.56 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.94e-05/0.3258, allocations: 0 / 340.4 MB, free: 13.56 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.3258, allocations: 4 kB / 340.4 MB, free: 13.55 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.61e-05/0.3258, allocations: 11.98 kB / 340.4 MB, free: 13.54 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.717e-05/0.3259, allocations: 7.938 kB / 340.4 MB, free: 13.54 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.326, allocations: 55.89 kB / 340.5 MB, free: 13.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.326, allocations: 4 kB / 340.5 MB, free: 13.48 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.326, allocations: 0 / 340.5 MB, free: 13.48 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.3261, allocations: 0 / 340.5 MB, free: 13.48 MB / 282.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.000563/0.3266, allocations: 373.2 kB / 340.8 MB, free: 13.07 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.3267, allocations: 8.031 kB / 340.8 MB, free: 13.06 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.842e-05/0.3267, allocations: 11.91 kB / 340.8 MB, free: 13.05 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.3271, allocations: 203 kB / 341 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.3271, allocations: 8.188 kB / 341 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/0.3271, allocations: 16 kB / 341.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006673/0.3278, allocations: 247.2 kB / 341.3 MB, free: 12.53 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3278, allocations: 8 kB / 341.3 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.3279, allocations: 4 kB / 341.3 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.3279, allocations: 7.891 kB / 341.3 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000224/0.3281, allocations: 51.91 kB / 341.4 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005055/0.3286, allocations: 302.6 kB / 341.7 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003929/0.3291, allocations: 151.7 kB / 341.8 MB, free: 11.93 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.3291, allocations: 4.062 kB / 341.8 MB, free: 11.93 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.3291, allocations: 38.52 kB / 341.9 MB, free: 11.88 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 5.09e-06/0.3292, allocations: 0 / 341.9 MB, free: 11.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006223/0.3298, allocations: 189.9 kB / 342 MB, free: 11.69 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.844e-05/0.3299, allocations: 115 kB / 342.2 MB, free: 11.55 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.3301, allocations: 122.7 kB / 342.3 MB, free: 11.43 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.3301, allocations: 25.7 kB / 342.3 MB, free: 11.4 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.516e-05/0.3302, allocations: 158.6 kB / 342.5 MB, free: 11.24 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.3302, allocations: 19.83 kB / 342.5 MB, free: 11.22 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/0.3303, allocations: 0 / 342.5 MB, free: 11.22 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3304, allocations: 322.8 kB / 342.8 MB, free: 10.9 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.3305, allocations: 23.98 kB / 342.8 MB, free: 10.88 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.3308, allocations: 134.5 kB / 342.9 MB, free: 10.69 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.3309, allocations: 51.92 kB / 343 MB, free: 10.64 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.331, allocations: 4 kB / 343 MB, free: 10.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004514/0.3314, allocations: 173.3 kB / 343.2 MB, free: 10.46 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.3315, allocations: 4 kB / 343.2 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.3315, allocations: 4 kB / 343.2 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.3315, allocations: 8 kB / 343.2 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.3317, allocations: 39.92 kB / 343.2 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.3318, allocations: 11.88 kB / 343.2 MB, free: 10.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.3319, allocations: 16.3 kB / 343.3 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.332, allocations: 16 kB / 343.3 MB, free: 10.36 MB / 282.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.0001595/0.3321, allocations: 129.7 kB / 343.4 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002807/0.3324, allocations: 113.5 kB / 343.5 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.001e-05/0.3325, allocations: 16.84 kB / 343.5 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3325, allocations: 0 / 343.5 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.717e-05/0.3325, allocations: 0 / 343.5 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3326, allocations: 7.938 kB / 343.5 MB, free: 10.08 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.3328, allocations: 197.5 kB / 343.7 MB, free: 9.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.3329, allocations: 8.031 kB / 343.7 MB, free: 9.832 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002251/0.3331, allocations: 31.98 kB / 343.8 MB, free: 9.801 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.3331, allocations: 7.891 kB / 343.8 MB, free: 9.793 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.3331, allocations: 4 kB / 343.8 MB, free: 9.789 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.75e-06/0.3331, allocations: 4 kB / 343.8 MB, free: 9.785 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3332, allocations: 0 / 343.8 MB, free: 9.785 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/0.3336, allocations: 278.5 kB / 344 MB, free: 9.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.417e-05/0.3337, allocations: 92.95 kB / 344.1 MB, free: 9.371 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.3338, allocations: 0 / 344.1 MB, free: 9.371 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.3339, allocations: 8 kB / 344.1 MB, free: 9.363 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.3339, allocations: 0 / 344.1 MB, free: 9.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.334, allocations: 7.984 kB / 344.2 MB, free: 9.355 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.64e-05/0.3341, allocations: 110.7 kB / 344.3 MB, free: 9.25 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3341, allocations: 0 / 344.3 MB, free: 9.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000369/0.3345, allocations: 16 kB / 344.3 MB, free: 9.234 MB / 282.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.0001507/0.3346, allocations: 103.2 kB / 344.4 MB, free: 9.125 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003967/0.335, allocations: 108.5 kB / 344.5 MB, free: 9.02 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.335, allocations: 0 / 344.5 MB, free: 9.02 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.953e-05/0.3351, allocations: 15.92 kB / 344.5 MB, free: 9.004 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000483/0.3356, allocations: 75.91 kB / 344.6 MB, free: 8.93 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008079/0.3364, allocations: 313.4 kB / 344.9 MB, free: 8.586 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.3369, allocations: 0.7165 MB / 345.6 MB, free: 7.844 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.097e-05/0.3369, allocations: 23.44 kB / 345.6 MB, free: 7.824 MB / 282.7 MB Notification: Performance of SimCode: time 1.593e-06/0.337, allocations: 0 / 345.6 MB, free: 7.824 MB / 282.7 MB Notification: Performance of Templates: time 0.004317/0.3413, allocations: 1.367 MB / 347 MB, free: 6.457 MB / 282.7 MB