Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadModel(Modelica): time 2.153/2.153, allocations: 225.8 MB / 238.8 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.955e-05/2.96e-05, allocations: 7.797 kB / 292.2 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09727/0.09732, allocations: 50.41 MB / 342.6 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3499/0.4473, allocations: 77.24 MB / 419.8 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.4476, allocations: 76.45 kB / 419.9 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01101/0.4586, allocations: 2.112 MB / 422 MB, free: 15.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.254e-06/0.4587, allocations: 0 / 422 MB, free: 15.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.39e-05/0.4587, allocations: 4 kB / 422 MB, free: 15.09 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006554/0.4594, allocations: 353.7 kB / 422.3 MB, free: 14.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.121e-05/0.4595, allocations: 8.031 kB / 422.3 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.83e-05/0.4595, allocations: 11.86 kB / 422.4 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.4599, allocations: 198.7 kB / 422.6 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.4599, allocations: 0 / 422.6 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.46, allocations: 7.984 kB / 422.6 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003698/0.4604, allocations: 109.2 kB / 422.7 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.4604, allocations: 0 / 422.7 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.4604, allocations: 3.953 kB / 422.7 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.4604, allocations: 0 / 422.7 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.792e-05/0.4605, allocations: 11.88 kB / 422.7 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006371/0.4612, allocations: 285.8 kB / 423 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.4614, allocations: 59.48 kB / 423 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.197e-05/0.4615, allocations: 34.27 kB / 423.1 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.556e-05/0.4616, allocations: 3.953 kB / 423.1 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.4616, allocations: 41.98 kB / 423.1 MB, free: 13.83 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 3.669e-06/0.4617, allocations: 0 / 423.1 MB, free: 13.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003081/0.462, allocations: 61.3 kB / 423.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.4621, allocations: 110.8 kB / 423.3 MB, free: 13.63 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.4624, allocations: 126.5 kB / 423.4 MB, free: 13.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.4624, allocations: 28.89 kB / 423.4 MB, free: 13.48 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.147e-05/0.4625, allocations: 87.27 kB / 423.5 MB, free: 13.4 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.4626, allocations: 14.88 kB / 423.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.517e-06/0.4626, allocations: 0 / 423.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.4628, allocations: 314.6 kB / 423.8 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.123e-05/0.4629, allocations: 11.97 kB / 423.8 MB, free: 13.06 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.578e-05/0.463, allocations: 30.94 kB / 423.9 MB, free: 13.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.329e-05/0.463, allocations: 11.98 kB / 423.9 MB, free: 13.01 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.593e-06/0.4631, allocations: 0 / 423.9 MB, free: 13.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002381/0.4633, allocations: 68.3 kB / 423.9 MB, free: 12.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.4634, allocations: 8 kB / 424 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.682e-06/0.4634, allocations: 0 / 424 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.4634, allocations: 0 / 424 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.4636, allocations: 8 kB / 424 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.4637, allocations: 4 kB / 424 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.4638, allocations: 7.984 kB / 424 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.4638, allocations: 0 / 424 MB, free: 12.92 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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.0001243/0.464, allocations: 113 kB / 424.1 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/0.4642, allocations: 49 kB / 424.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.436e-05/0.4642, allocations: 15.14 kB / 424.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.047e-06/0.4643, allocations: 0 / 424.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.755e-06/0.4643, allocations: 0 / 424.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.639e-06/0.4643, allocations: 4 kB / 424.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003967/0.4647, allocations: 175.6 kB / 424.3 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.082e-06/0.4647, allocations: 0 / 424.3 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.4649, allocations: 23.98 kB / 424.3 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.046e-06/0.4649, allocations: 0 / 424.3 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.465, allocations: 3.953 kB / 424.3 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.16e-06/0.465, allocations: 0 / 424.3 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.035e-06/0.465, allocations: 4 kB / 424.4 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003272/0.4653, allocations: 195.8 kB / 424.5 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.4655, allocations: 92.75 kB / 424.6 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.4656, allocations: 0 / 424.6 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.4658, allocations: 4 kB / 424.6 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.4658, allocations: 0 / 424.6 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.4659, allocations: 4 kB / 424.6 MB, free: 12.17 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001599/0.466, allocations: 109.4 kB / 424.7 MB, free: 12.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.56e-07/0.4661, allocations: 0 / 424.7 MB, free: 12.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006256/0.4667, allocations: 4 kB / 424.8 MB, free: 12.07 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000195/0.4669, allocations: 115.1 kB / 424.9 MB, free: 11.95 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.4671, allocations: 18.81 kB / 424.9 MB, free: 11.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.999e-06/0.4672, allocations: 3.938 kB / 424.9 MB, free: 11.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.484e-05/0.4672, allocations: 7.938 kB / 424.9 MB, free: 11.92 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005428/0.4678, allocations: 31.05 kB / 424.9 MB, free: 11.89 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005263/0.4683, allocations: 117.8 kB / 425 MB, free: 11.76 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005075/0.4689, allocations: 0.6926 MB / 425.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.538e-05/0.469, allocations: 4.172 kB / 425.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.141e-05/0.469, allocations: 11.44 kB / 425.7 MB, free: 11.03 MB / 346.7 MB Notification: Performance of SimCode: time 2.487e-06/0.4691, allocations: 0 / 425.7 MB, free: 11.03 MB / 346.7 MB Notification: Performance of Templates: time 0.005243/0.4743, allocations: 0.5216 MB / 426.3 MB, free: 10.52 MB / 346.7 MB