Running command: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_WorkInProgress_Tests_TestCommunicationDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.221/2.221, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.448e-05/4.455e-05, allocations: 4 kB / 284.4 MB, free: 8.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1113, allocations: 50.37 MB / 334.8 MB, free: 6.133 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4283/0.5396, allocations: 79.86 MB / 414.6 MB, free: 14.03 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.5399, allocations: 58.84 kB / 414.7 MB, free: 14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009386/0.5493, allocations: 2.15 MB / 416.8 MB, free: 12.17 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5493, allocations: 0 / 416.8 MB, free: 12.17 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.737e-05/0.5494, allocations: 4 kB / 416.8 MB, free: 12.16 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.000529/0.5499, allocations: 395.4 kB / 417.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.55, allocations: 8.031 kB / 417.2 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.602e-05/0.55, allocations: 45.5 kB / 417.3 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.248e-05/0.5501, allocations: 7.906 kB / 417.3 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/0.5504, allocations: 214.3 kB / 417.5 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.5505, allocations: 3.5 kB / 417.5 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.5505, allocations: 8 kB / 417.5 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005606/0.5511, allocations: 228.8 kB / 417.7 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.5511, allocations: 0 / 417.7 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.5511, allocations: 7.484 kB / 417.7 MB, free: 11.22 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.5511, allocations: 4 kB / 417.7 MB, free: 11.22 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.5513, allocations: 38.45 kB / 417.8 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005284/0.5518, allocations: 327.6 kB / 418.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002969/0.5521, allocations: 132.2 kB / 418.2 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.5523, allocations: 93.77 kB / 418.3 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.5524, allocations: 0 / 418.3 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.5524, allocations: 38.59 kB / 418.4 MB, free: 10.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.934e-06/0.5524, allocations: 3.938 kB / 418.4 MB, free: 10.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003792/0.5528, allocations: 126 kB / 418.5 MB, free: 10.47 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.5529, allocations: 118.2 kB / 418.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.5531, allocations: 122.7 kB / 418.7 MB, free: 10.22 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.5531, allocations: 29.7 kB / 418.7 MB, free: 10.19 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.215e-05/0.5532, allocations: 161.2 kB / 418.9 MB, free: 10.04 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.5533, allocations: 11.48 kB / 418.9 MB, free: 10.03 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.256e-06/0.5533, allocations: 3.375 kB / 418.9 MB, free: 10.03 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.5534, allocations: 310.8 kB / 419.2 MB, free: 9.715 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.632e-05/0.5535, allocations: 22.94 kB / 419.2 MB, free: 9.699 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.5537, allocations: 130.5 kB / 419.4 MB, free: 9.531 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.5538, allocations: 49.86 kB / 419.4 MB, free: 9.492 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.5538, allocations: 4 kB / 419.4 MB, free: 9.488 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003281/0.5542, allocations: 142.3 kB / 419.6 MB, free: 9.359 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.5542, allocations: 11.95 kB / 419.6 MB, free: 9.348 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.5542, allocations: 4 kB / 419.6 MB, free: 9.344 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.5543, allocations: 4 kB / 419.6 MB, free: 9.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.5545, allocations: 35.92 kB / 419.6 MB, free: 9.305 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.993e-05/0.5545, allocations: 11.94 kB / 419.6 MB, free: 9.293 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.5547, allocations: 19.36 kB / 419.6 MB, free: 9.277 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.5547, allocations: 19.31 kB / 419.7 MB, free: 9.262 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 9.908e-05/0.5548, allocations: 116.6 kB / 419.8 MB, free: 9.145 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000253/0.5551, allocations: 111.1 kB / 419.9 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.453e-05/0.5552, allocations: 19.64 kB / 419.9 MB, free: 9.039 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.5552, allocations: 4 kB / 419.9 MB, free: 9.035 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5552, allocations: 0 / 419.9 MB, free: 9.035 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.5552, allocations: 0 / 419.9 MB, free: 9.035 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.5555, allocations: 199.5 kB / 420.1 MB, free: 8.805 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.5555, allocations: 3.938 kB / 420.1 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/0.5557, allocations: 35.95 kB / 420.1 MB, free: 8.766 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.5557, allocations: 4 kB / 420.1 MB, free: 8.762 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.5558, allocations: 3.875 kB / 420.2 MB, free: 8.762 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.5558, allocations: 3.953 kB / 420.2 MB, free: 8.758 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.5558, allocations: 7.984 kB / 420.2 MB, free: 8.75 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003389/0.5561, allocations: 258.4 kB / 420.4 MB, free: 8.492 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.469e-05/0.5562, allocations: 96.81 kB / 420.5 MB, free: 8.379 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.5563, allocations: 7.312 kB / 420.5 MB, free: 8.375 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.5564, allocations: 7.984 kB / 420.5 MB, free: 8.367 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.5565, allocations: 4 kB / 420.5 MB, free: 8.363 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.5565, allocations: 7.438 kB / 420.5 MB, free: 8.359 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.515e-05/0.5566, allocations: 101.3 kB / 420.6 MB, free: 8.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5566, allocations: 4 kB / 420.6 MB, free: 8.266 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004089/0.557, allocations: 23.38 kB / 420.7 MB, free: 8.246 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.0008723/0.5579, allocations: 0.9754 MB / 421.6 MB, free: 7.281 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002651/0.5582, allocations: 85.67 kB / 421.7 MB, free: 7.215 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.5582, allocations: 0 / 421.7 MB, free: 7.215 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.681e-05/0.5582, allocations: 4 kB / 421.7 MB, free: 7.211 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/0.5587, allocations: 73.92 kB / 421.8 MB, free: 7.156 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008628/0.5596, allocations: 246.8 kB / 422 MB, free: 6.898 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.5599, allocations: 0.7165 MB / 422.8 MB, free: 6.156 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.53e-05/0.56, allocations: 35.8 kB / 422.8 MB, free: 6.137 MB / 346.7 MB Notification: Performance of SimCode: time 2.816e-06/0.56, allocations: 0 / 422.8 MB, free: 6.137 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.428/2.988, allocations: 1.9 MB / 424.7 MB, free: 4.254 MB / 346.7 MB