Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") Notification: Performance of loadModel(Modelica): time 2.076/2.076, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.108e-05/3.128e-05, allocations: 6.812 kB / 292.7 MB, free: 8.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09353/0.09359, allocations: 50.41 MB / 343.1 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4978/0.5915, allocations: 76.83 MB / 419.9 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.5918, allocations: 78.62 kB / 420 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003909/0.5957, allocations: 1.015 MB / 421 MB, free: 15.97 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.266e-06/0.5957, allocations: 0 / 421 MB, free: 15.97 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.764e-05/0.5958, allocations: 0 / 421 MB, free: 15.97 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003984/0.5962, allocations: 341.2 kB / 421.3 MB, free: 15.6 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.5962, allocations: 8.031 kB / 421.3 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.5963, allocations: 11.86 kB / 421.4 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.5965, allocations: 178.8 kB / 421.5 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.5965, allocations: 6.844 kB / 421.5 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.851e-05/0.5966, allocations: 4 kB / 421.5 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002722/0.5969, allocations: 98.55 kB / 421.6 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.5969, allocations: 0 / 421.6 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.96e-06/0.5969, allocations: 0 / 421.6 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.341e-06/0.5969, allocations: 3.984 kB / 421.6 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.881e-05/0.597, allocations: 19.81 kB / 421.7 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/0.5972, allocations: 161.3 kB / 421.8 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.5973, allocations: 45.81 kB / 421.9 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.313e-05/0.5974, allocations: 16.45 kB / 421.9 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.5974, allocations: 4 kB / 421.9 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.5975, allocations: 34.12 kB / 421.9 MB, free: 14.95 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.234e-06/0.5975, allocations: 0 / 421.9 MB, free: 14.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000175/0.5977, allocations: 53.58 kB / 422 MB, free: 14.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.5977, allocations: 58.59 kB / 422 MB, free: 14.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.5979, allocations: 108.4 kB / 422.1 MB, free: 14.71 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.5979, allocations: 29.7 kB / 422.2 MB, free: 14.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.302e-05/0.598, allocations: 83.64 kB / 422.2 MB, free: 14.6 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.242e-06/0.598, allocations: 0 / 422.2 MB, free: 14.6 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-06/0.598, allocations: 0 / 422.2 MB, free: 14.6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.5982, allocations: 322 kB / 422.6 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.316e-05/0.5982, allocations: 4 kB / 422.6 MB, free: 14.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.933e-05/0.5983, allocations: 26.56 kB / 422.6 MB, free: 14.24 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.556e-05/0.5983, allocations: 4 kB / 422.6 MB, free: 14.23 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.158e-06/0.5983, allocations: 0 / 422.6 MB, free: 14.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001221/0.5985, allocations: 64.41 kB / 422.7 MB, free: 14.17 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.5985, allocations: 8 kB / 422.7 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.79e-06/0.5985, allocations: 0.875 kB / 422.7 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.5985, allocations: 0 / 422.7 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.548e-05/0.5986, allocations: 11.94 kB / 422.7 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.5986, allocations: 0 / 422.7 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.486e-05/0.5987, allocations: 7.812 kB / 422.7 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.239e-06/0.5987, allocations: 3.953 kB / 422.7 MB, free: 14.14 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.922e-05/0.5988, allocations: 109 kB / 422.8 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.5989, allocations: 52.58 kB / 422.8 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.138e-05/0.599, allocations: 8.016 kB / 422.9 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.599, allocations: 8 kB / 422.9 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.383e-06/0.599, allocations: 0 / 422.9 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.648e-06/0.599, allocations: 0 / 422.9 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.5992, allocations: 168.5 kB / 423 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.04e-06/0.5992, allocations: 0 / 423 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.5993, allocations: 11.94 kB / 423 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.541e-06/0.5993, allocations: 0 / 423 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.5993, allocations: 0 / 423 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.008e-06/0.5993, allocations: 8 kB / 423 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.287e-06/0.5993, allocations: 384 / 423 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.5995, allocations: 80.12 kB / 423.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.728e-05/0.5996, allocations: 84.25 kB / 423.2 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.5996, allocations: 7.984 kB / 423.2 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.287e-05/0.5997, allocations: 3.938 kB / 423.2 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.17e-06/0.5997, allocations: 0 / 423.2 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.5997, allocations: 11.98 kB / 423.2 MB, free: 13.52 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.656e-05/0.5998, allocations: 86.66 kB / 423.3 MB, free: 13.44 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.5998, allocations: 0 / 423.3 MB, free: 13.44 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002837/0.6001, allocations: 7.75 kB / 423.3 MB, free: 13.43 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001355/0.6003, allocations: 99.25 kB / 423.4 MB, free: 13.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.631e-05/0.6004, allocations: 19.81 kB / 423.4 MB, free: 13.31 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.867e-06/0.6004, allocations: 0 / 423.4 MB, free: 13.31 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.529e-06/0.6004, allocations: 256 / 423.4 MB, free: 13.31 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.6006, allocations: 27.56 kB / 423.5 MB, free: 13.29 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002269/0.6008, allocations: 80.27 kB / 423.5 MB, free: 13.19 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.6012, allocations: 0.6848 MB / 424.2 MB, free: 12.48 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.749e-05/0.6012, allocations: 3.984 kB / 424.2 MB, free: 12.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.674e-05/0.6013, allocations: 7.438 kB / 424.2 MB, free: 12.47 MB / 346.7 MB Notification: Performance of SimCode: time 1.519e-06/0.6013, allocations: 0 / 424.2 MB, free: 12.47 MB / 346.7 MB Notification: Performance of Templates: time 0.002706/0.604, allocations: 326.9 kB / 424.6 MB, free: 12.16 MB / 346.7 MB