Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler") Notification: Performance of loadModel(Modelica_Synchronous): time 2.459/2.459, allocations: 218.4 MB / 234.2 MB, free: 5.586 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.46e-05/3.457e-05, allocations: 4 kB / 287.6 MB, free: 64 kB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.385, allocations: 50.37 MB / 338 MB, free: 15.98 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler): time 0.002724/0.3878, allocations: 1.455 MB / 339.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.3891, allocations: 495.9 kB / 339.9 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.3892, allocations: 4 kB / 339.9 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.3894, allocations: 11.91 kB / 339.9 MB, free: 14.01 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.243e-05/0.3895, allocations: 15.92 kB / 339.9 MB, free: 13.99 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003946/0.3899, allocations: 51.88 kB / 340 MB, free: 13.94 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.39, allocations: 59.8 kB / 340 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.3902, allocations: 65.81 kB / 340.1 MB, free: 13.82 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.3904, allocations: 35.91 kB / 340.1 MB, free: 13.79 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.3905, allocations: 31.84 kB / 340.2 MB, free: 13.75 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.599e-05/0.3905, allocations: 8 kB / 340.2 MB, free: 13.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.3906, allocations: 0 / 340.2 MB, free: 13.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.223e-05/0.3906, allocations: 31.86 kB / 340.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.313e-05/0.3907, allocations: 8 kB / 340.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.3909, allocations: 87.83 kB / 340.3 MB, free: 13.62 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.3909, allocations: 3.938 kB / 340.3 MB, free: 13.62 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.3909, allocations: 0 / 340.3 MB, free: 13.62 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.3909, allocations: 0 / 340.3 MB, free: 13.62 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007612/0.3917, allocations: 416.8 kB / 340.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.3918, allocations: 8.031 kB / 340.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.041e-05/0.3918, allocations: 15.81 kB / 340.7 MB, free: 13.14 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.3922, allocations: 230.5 kB / 341 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.3922, allocations: 12 kB / 341 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.698e-05/0.3923, allocations: 12 kB / 341 MB, free: 12.85 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009538/0.3933, allocations: 342.9 kB / 341.3 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.3933, allocations: 4 kB / 341.3 MB, free: 12.49 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.3933, allocations: 0 / 341.3 MB, free: 12.49 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.15e-05/0.3934, allocations: 12 kB / 341.3 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004452/0.3938, allocations: 115.8 kB / 341.5 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008555/0.3947, allocations: 462.4 kB / 341.9 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007081/0.3954, allocations: 254.3 kB / 342.2 MB, free: 11.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.961e-05/0.3955, allocations: 16 kB / 342.2 MB, free: 11.55 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.3955, allocations: 38.55 kB / 342.2 MB, free: 11.51 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 4.228e-06/0.3956, allocations: 0 / 342.2 MB, free: 11.51 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.001067/0.3966, allocations: 355 kB / 342.6 MB, free: 11.14 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.3968, allocations: 148.7 kB / 342.7 MB, free: 10.96 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.397, allocations: 133.5 kB / 342.8 MB, free: 10.82 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.397, allocations: 33.69 kB / 342.9 MB, free: 10.78 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.3971, allocations: 178.3 kB / 343 MB, free: 10.61 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/0.3972, allocations: 11.91 kB / 343 MB, free: 10.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.3972, allocations: 4 kB / 343.1 MB, free: 10.59 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3973, allocations: 318.8 kB / 343.4 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.3975, allocations: 47.91 kB / 343.4 MB, free: 10.22 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.3978, allocations: 156.9 kB / 343.6 MB, free: 10.02 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002385/0.3981, allocations: 71.91 kB / 343.6 MB, free: 9.945 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.3981, allocations: 7.984 kB / 343.6 MB, free: 9.938 MB / 282.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006015/0.3987, allocations: 197.5 kB / 343.8 MB, free: 9.738 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.3987, allocations: 11.95 kB / 343.8 MB, free: 9.727 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.3988, allocations: 4 kB / 343.9 MB, free: 9.723 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.3988, allocations: 4 kB / 343.9 MB, free: 9.719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.3991, allocations: 39.92 kB / 343.9 MB, free: 9.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/0.3991, allocations: 7.984 kB / 343.9 MB, free: 9.672 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.3993, allocations: 20.12 kB / 343.9 MB, free: 9.652 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.3993, allocations: 16 kB / 343.9 MB, free: 9.637 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001825/0.3995, allocations: 145.8 kB / 344.1 MB, free: 9.484 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004028/0.3999, allocations: 161.9 kB / 344.2 MB, free: 9.32 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.587e-05/0.4, allocations: 24.8 kB / 344.3 MB, free: 9.293 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.573e-05/0.4001, allocations: 7.938 kB / 344.3 MB, free: 9.285 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.435e-06/0.4001, allocations: 3.984 kB / 344.3 MB, free: 9.281 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.4001, allocations: 4 kB / 344.3 MB, free: 9.277 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003709/0.4005, allocations: 201.5 kB / 344.5 MB, free: 9.031 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/0.4005, allocations: 8.031 kB / 344.5 MB, free: 9.023 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003038/0.4008, allocations: 35.91 kB / 344.5 MB, free: 8.988 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-06/0.4009, allocations: 4 kB / 344.5 MB, free: 8.984 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.4009, allocations: 4 kB / 344.5 MB, free: 8.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.295e-06/0.4009, allocations: 7.953 kB / 344.5 MB, free: 8.973 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.4009, allocations: 4 kB / 344.5 MB, free: 8.969 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007814/0.4017, allocations: 435.2 kB / 345 MB, free: 8.504 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.142e-05/0.4018, allocations: 92.95 kB / 345.1 MB, free: 8.395 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.4019, allocations: 8 kB / 345.1 MB, free: 8.387 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002231/0.4021, allocations: 11.98 kB / 345.1 MB, free: 8.375 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.4022, allocations: 3.938 kB / 345.1 MB, free: 8.371 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.363e-05/0.4022, allocations: 8 kB / 345.1 MB, free: 8.363 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001192/0.4023, allocations: 112.1 kB / 345.2 MB, free: 8.254 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4024, allocations: 0 / 345.2 MB, free: 8.254 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000442/0.4028, allocations: 27.91 kB / 345.2 MB, free: 8.227 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * Array equations: 1 * 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.000155/0.403, allocations: 103.2 kB / 345.3 MB, free: 8.117 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006215/0.4036, allocations: 152.7 kB / 345.5 MB, free: 7.969 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.4036, allocations: 4.125 kB / 345.5 MB, free: 7.965 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.4038, allocations: 27.91 kB / 345.5 MB, free: 7.938 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006754/0.4045, allocations: 103.9 kB / 345.6 MB, free: 7.836 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.4055, allocations: 424.5 kB / 346 MB, free: 7.383 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004434/0.406, allocations: 0.7476 MB / 346.8 MB, free: 6.609 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.86e-05/0.4061, allocations: 19.42 kB / 346.8 MB, free: 6.594 MB / 282.7 MB Notification: Performance of SimCode: time 1.332e-06/0.4061, allocations: 0 / 346.8 MB, free: 6.594 MB / 282.7 MB Notification: Performance of Templates: time 0.005122/0.4112, allocations: 1.717 MB / 348.5 MB, free: 4.879 MB / 282.7 MB