Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler") Notification: Performance of loadModel(Modelica_Synchronous): time 2.151/2.151, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.386e-05/3.391e-05, allocations: 4 kB / 284.3 MB, free: 8.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1222, allocations: 50.36 MB / 334.7 MB, free: 5.75 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3921/0.5144, allocations: 78.71 MB / 413.4 MB, free: 15.58 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00018/0.5146, allocations: 58.53 kB / 413.5 MB, free: 15.55 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01329/0.5279, allocations: 3.132 MB / 416.6 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.528, allocations: 4 kB / 416.6 MB, free: 12.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.096e-05/0.528, allocations: 8 kB / 416.6 MB, free: 12.88 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0005974/0.5286, allocations: 416.7 kB / 417 MB, free: 12.44 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.5286, allocations: 8.031 kB / 417 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.043e-05/0.5287, allocations: 19.81 kB / 417 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.5291, allocations: 227 kB / 417.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.5291, allocations: 15.62 kB / 417.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.5291, allocations: 15.56 kB / 417.3 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006903/0.5298, allocations: 322.4 kB / 417.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.5299, allocations: 0 / 417.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.5299, allocations: 3.125 kB / 417.6 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.331e-06/0.5299, allocations: 4 kB / 417.6 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002272/0.5302, allocations: 89.7 kB / 417.7 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007807/0.531, allocations: 470.7 kB / 418.2 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004915/0.5315, allocations: 220 kB / 418.4 MB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002274/0.5317, allocations: 108.7 kB / 418.5 MB, free: 10.99 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.5318, allocations: 7.984 kB / 418.5 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.5318, allocations: 50.17 kB / 418.5 MB, free: 10.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 3.277e-06/0.5318, allocations: 0 / 418.5 MB, free: 10.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004917/0.5323, allocations: 176.8 kB / 418.7 MB, free: 10.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.5325, allocations: 138 kB / 418.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.5326, allocations: 132.6 kB / 419 MB, free: 10.48 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.5327, allocations: 28.77 kB / 419 MB, free: 10.45 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.45e-05/0.5328, allocations: 121.1 kB / 419.1 MB, free: 10.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.5328, allocations: 18.64 kB / 419.1 MB, free: 10.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.72e-06/0.5328, allocations: 3.125 kB / 419.1 MB, free: 10.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.533, allocations: 322.3 kB / 419.5 MB, free: 10 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.676e-05/0.5331, allocations: 29.61 kB / 419.5 MB, free: 9.984 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.5333, allocations: 133.7 kB / 419.6 MB, free: 9.809 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.5334, allocations: 69.33 kB / 419.7 MB, free: 9.754 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.785e-06/0.5334, allocations: 0 / 419.7 MB, free: 9.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003794/0.5338, allocations: 170.7 kB / 419.9 MB, free: 9.602 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.5339, allocations: 14.59 kB / 419.9 MB, free: 9.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.5339, allocations: 8 kB / 419.9 MB, free: 9.582 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.5339, allocations: 11.95 kB / 419.9 MB, free: 9.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.5341, allocations: 35.92 kB / 419.9 MB, free: 9.535 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.92e-05/0.5342, allocations: 15.97 kB / 419.9 MB, free: 9.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.5343, allocations: 11.19 kB / 419.9 MB, free: 9.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.5344, allocations: 8 kB / 420 MB, free: 9.504 MB / 346.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.0001132/0.5345, allocations: 127.6 kB / 420.1 MB, free: 9.379 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000346/0.5348, allocations: 154.1 kB / 420.2 MB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.095e-05/0.5349, allocations: 34.17 kB / 420.3 MB, free: 9.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.488e-06/0.5349, allocations: 0 / 420.3 MB, free: 9.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.535, allocations: 7.953 kB / 420.3 MB, free: 9.223 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.136e-06/0.535, allocations: 0 / 420.3 MB, free: 9.223 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003715/0.5354, allocations: 212.9 kB / 420.5 MB, free: 8.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.803e-06/0.5354, allocations: 3.938 kB / 420.5 MB, free: 8.977 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002471/0.5356, allocations: 31.98 kB / 420.5 MB, free: 8.945 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.336e-06/0.5357, allocations: 12.02 kB / 420.5 MB, free: 8.934 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.5357, allocations: 7.422 kB / 420.5 MB, free: 8.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.826e-06/0.5357, allocations: 4 kB / 420.5 MB, free: 8.926 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.5357, allocations: 0 / 420.5 MB, free: 8.926 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005123/0.5362, allocations: 407.2 kB / 420.9 MB, free: 8.527 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.062e-05/0.5363, allocations: 92.88 kB / 421 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.5364, allocations: 7 kB / 421 MB, free: 8.414 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.5366, allocations: 7.984 kB / 421 MB, free: 8.406 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.5366, allocations: 7.062 kB / 421 MB, free: 8.402 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.5367, allocations: 4 kB / 421.1 MB, free: 8.398 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001213/0.5368, allocations: 117.3 kB / 421.2 MB, free: 8.293 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.5368, allocations: 0 / 421.2 MB, free: 8.293 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004712/0.5373, allocations: 27.25 kB / 421.2 MB, free: 8.27 MB / 346.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 (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 Backend phase and start with SimCode phase: time 0.0001367/0.5374, allocations: 106.1 kB / 421.3 MB, free: 8.156 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003053/0.5378, allocations: 115.2 kB / 421.4 MB, free: 8.066 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5378, allocations: 0 / 421.4 MB, free: 8.066 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.967e-05/0.5378, allocations: 17.56 kB / 421.4 MB, free: 8.055 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005105/0.5384, allocations: 109.5 kB / 421.5 MB, free: 7.965 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006377/0.539, allocations: 253.8 kB / 421.8 MB, free: 7.719 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004476/0.5395, allocations: 0.743 MB / 422.5 MB, free: 6.953 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.579e-05/0.5396, allocations: 21.3 kB / 422.5 MB, free: 6.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.22e-05/0.5397, allocations: 15.42 kB / 422.6 MB, free: 6.914 MB / 346.7 MB Notification: Performance of SimCode: time 1.952e-06/0.5397, allocations: 0 / 422.6 MB, free: 6.914 MB / 346.7 MB Notification: Performance of Templates: time 0.005097/0.5448, allocations: 1.166 MB / 423.7 MB, free: 5.766 MB / 346.7 MB