Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadModel(Modelica): time 2.14/2.14, allocations: 225.8 MB / 238.8 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.38e-05/3.374e-05, allocations: 0 / 292.1 MB, free: 8.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1568, allocations: 50.41 MB / 342.6 MB, free: 5.922 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4438/0.6006, allocations: 77.22 MB / 419.8 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.6009, allocations: 74.14 kB / 419.9 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005663/0.6066, allocations: 1.464 MB / 421.3 MB, free: 15.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.453e-06/0.6066, allocations: 0 / 421.3 MB, free: 15.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.6067, allocations: 3.938 kB / 421.3 MB, free: 15.67 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004368/0.6071, allocations: 357.7 kB / 421.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.6072, allocations: 12.03 kB / 421.7 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.6072, allocations: 11.86 kB / 421.7 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.6075, allocations: 190.8 kB / 421.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.6075, allocations: 3.875 kB / 421.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.6075, allocations: 4 kB / 421.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.6078, allocations: 104.4 kB / 422 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.6079, allocations: 7.984 kB / 422 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.826e-06/0.6079, allocations: 0 / 422 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.393e-06/0.6079, allocations: 3.953 kB / 422 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.388e-05/0.608, allocations: 15.81 kB / 422 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004338/0.6084, allocations: 269.3 kB / 422.3 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.6086, allocations: 134 kB / 422.4 MB, free: 14.44 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.93e-05/0.6087, allocations: 26.75 kB / 422.4 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.6088, allocations: 0 / 422.4 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.6088, allocations: 38.38 kB / 422.5 MB, free: 14.37 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.09e-06/0.6088, allocations: 4 kB / 422.5 MB, free: 14.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001992/0.609, allocations: 61.45 kB / 422.5 MB, free: 14.3 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/0.6091, allocations: 77.11 kB / 422.6 MB, free: 14.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.6093, allocations: 124.1 kB / 422.7 MB, free: 14.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.6093, allocations: 37.62 kB / 422.8 MB, free: 14.05 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.827e-05/0.6094, allocations: 88.02 kB / 422.9 MB, free: 13.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.6094, allocations: 7.844 kB / 422.9 MB, free: 13.96 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-06/0.6094, allocations: 0 / 422.9 MB, free: 13.96 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.6096, allocations: 322.6 kB / 423.2 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.569e-05/0.6096, allocations: 7.984 kB / 423.2 MB, free: 13.63 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.132e-05/0.6097, allocations: 27.38 kB / 423.2 MB, free: 13.59 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.504e-05/0.6097, allocations: 7.875 kB / 423.2 MB, free: 13.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.507e-06/0.6097, allocations: 0 / 423.2 MB, free: 13.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001356/0.6099, allocations: 60.25 kB / 423.3 MB, free: 13.53 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.6099, allocations: 4 kB / 423.3 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.627e-06/0.6099, allocations: 0 / 423.3 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.6099, allocations: 7.953 kB / 423.3 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.814e-05/0.6101, allocations: 11.98 kB / 423.3 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.6101, allocations: 3.938 kB / 423.3 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.425e-05/0.6102, allocations: 7.906 kB / 423.3 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.6102, allocations: 8.125 kB / 423.3 MB, free: 13.48 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 8.105e-05/0.6103, allocations: 104.9 kB / 423.4 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.6104, allocations: 48.97 kB / 423.5 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.725e-05/0.6104, allocations: 15.16 kB / 423.5 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.374e-06/0.6105, allocations: 0 / 423.5 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.99e-06/0.6105, allocations: 3.953 kB / 423.5 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.699e-06/0.6105, allocations: 0 / 423.5 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.6107, allocations: 171.5 kB / 423.7 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.427e-06/0.6108, allocations: 0 / 423.7 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.187e-05/0.6108, allocations: 15.38 kB / 423.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.599e-06/0.6109, allocations: 0 / 423.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.6109, allocations: 0 / 423.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.819e-06/0.6109, allocations: 7.938 kB / 423.7 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.345e-06/0.6109, allocations: 3.984 kB / 423.7 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.6111, allocations: 169.2 kB / 423.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.737e-05/0.6112, allocations: 96.59 kB / 423.9 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.6113, allocations: 0 / 423.9 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.6114, allocations: 4 kB / 423.9 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.6114, allocations: 7.266 kB / 424 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.276e-06/0.6114, allocations: 0 / 424 MB, free: 12.78 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001058/0.6116, allocations: 108.9 kB / 424.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.56e-07/0.6116, allocations: 0 / 424.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003066/0.6119, allocations: 6.688 kB / 424.1 MB, free: 12.67 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0001321/0.612, allocations: 107.2 kB / 424.2 MB, free: 12.56 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.6122, allocations: 18.94 kB / 424.2 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.537e-06/0.6122, allocations: 0 / 424.2 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.494e-05/0.6122, allocations: 11.5 kB / 424.2 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.6125, allocations: 27.28 kB / 424.2 MB, free: 12.51 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003047/0.6128, allocations: 99.52 kB / 424.3 MB, free: 12.4 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/0.6133, allocations: 0.6968 MB / 425 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.683e-05/0.6133, allocations: 4.5 kB / 425 MB, free: 11.67 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.6134, allocations: 11.42 kB / 425 MB, free: 11.66 MB / 346.7 MB Notification: Performance of SimCode: time 1.782e-06/0.6134, allocations: 0 / 425 MB, free: 11.66 MB / 346.7 MB Notification: Performance of Templates: time 0.003158/0.6165, allocations: 474.7 kB / 425.5 MB, free: 11.21 MB / 346.7 MB