Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") Notification: Performance of loadModel(Modelica): time 2.17/2.17, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.407e-05/3.421e-05, allocations: 5.406 kB / 292.2 MB, free: 8.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09292/0.09298, allocations: 50.41 MB / 342.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3638/0.4568, allocations: 76.81 MB / 419.4 MB, free: 1.371 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.4571, allocations: 73.45 kB / 419.4 MB, free: 1.332 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003896/0.461, allocations: 1.011 MB / 420.5 MB, free: 448 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.186e-06/0.461, allocations: 4 kB / 420.5 MB, free: 444 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.4611, allocations: 0 / 420.5 MB, free: 444 kB / 330.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.0003893/0.4615, allocations: 337.5 kB / 420.8 MB, free: 64 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.4615, allocations: 8.031 kB / 420.8 MB, free: 56 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.4616, allocations: 11.86 kB / 420.8 MB, free: 44 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.4618, allocations: 173.6 kB / 421 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.4618, allocations: 2.844 kB / 421 MB, free: 15.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.4619, allocations: 7.312 kB / 421 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002869/0.4622, allocations: 104.8 kB / 421.1 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.4622, allocations: 3.984 kB / 421.1 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.4622, allocations: 0.5 kB / 421.1 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.326e-06/0.4622, allocations: 0 / 421.1 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.087e-05/0.4623, allocations: 17.77 kB / 421.1 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001775/0.4625, allocations: 157.2 kB / 421.3 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.4627, allocations: 52.8 kB / 421.3 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.637e-05/0.4627, allocations: 16.08 kB / 421.3 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.4628, allocations: 4 kB / 421.3 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.4628, allocations: 36.56 kB / 421.4 MB, free: 15.4 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.811e-06/0.4629, allocations: 0 / 421.4 MB, free: 15.4 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001772/0.463, allocations: 52.47 kB / 421.4 MB, free: 15.35 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.4631, allocations: 55.41 kB / 421.5 MB, free: 15.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.4633, allocations: 115 kB / 421.6 MB, free: 15.17 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.4633, allocations: 29.69 kB / 421.6 MB, free: 15.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/0.4634, allocations: 83.77 kB / 421.7 MB, free: 15.05 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.783e-06/0.4634, allocations: 0 / 421.7 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/0.4634, allocations: 0 / 421.7 MB, free: 15.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.4636, allocations: 318.1 kB / 422 MB, free: 14.74 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.205e-05/0.4636, allocations: 0 / 422 MB, free: 14.74 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.229e-05/0.4636, allocations: 34.8 kB / 422 MB, free: 14.7 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.55e-05/0.4637, allocations: 4 kB / 422 MB, free: 14.69 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.4637, allocations: 4 kB / 422.1 MB, free: 14.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001183/0.4638, allocations: 56.97 kB / 422.1 MB, free: 14.63 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.4638, allocations: 8.125 kB / 422.1 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.4639, allocations: 4 kB / 422.1 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.4639, allocations: 0 / 422.1 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.456e-05/0.464, allocations: 8 kB / 422.1 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.369e-06/0.464, allocations: 3.938 kB / 422.1 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.293e-05/0.464, allocations: 4 kB / 422.1 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.682e-06/0.464, allocations: 3.953 kB / 422.1 MB, free: 14.6 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.778e-05/0.4641, allocations: 112 kB / 422.2 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.4643, allocations: 47.75 kB / 422.3 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.071e-05/0.4643, allocations: 12.03 kB / 422.3 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.4643, allocations: 0 / 422.3 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.25e-06/0.4643, allocations: 0 / 422.3 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.454e-06/0.4644, allocations: 3.984 kB / 422.3 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.4645, allocations: 163.7 kB / 422.5 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.387e-06/0.4645, allocations: 0 / 422.5 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.4646, allocations: 11.98 kB / 422.5 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.82e-06/0.4647, allocations: 0 / 422.5 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.4647, allocations: 0 / 422.5 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.713e-06/0.4647, allocations: 7.938 kB / 422.5 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/0.4647, allocations: 0 / 422.5 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.4649, allocations: 86.75 kB / 422.6 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.589e-05/0.465, allocations: 85 kB / 422.7 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.465, allocations: 4 kB / 422.7 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.246e-05/0.465, allocations: 3.375 kB / 422.7 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.914e-06/0.4651, allocations: 4.375 kB / 422.7 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.619e-06/0.4651, allocations: 0 / 422.7 MB, free: 13.99 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.27e-05/0.4652, allocations: 94.64 kB / 422.8 MB, free: 13.9 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.17e-07/0.4652, allocations: 4 kB / 422.8 MB, free: 13.9 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002554/0.4654, allocations: 4 kB / 422.8 MB, free: 13.89 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.0001397/0.4656, allocations: 99.25 kB / 422.9 MB, free: 13.79 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001024/0.4657, allocations: 19.31 kB / 422.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.921e-06/0.4657, allocations: 0 / 422.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.451e-06/0.4657, allocations: 0 / 422.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.466, allocations: 24.81 kB / 422.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002254/0.4662, allocations: 82.94 kB / 423 MB, free: 13.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.4666, allocations: 0.6887 MB / 423.7 MB, free: 12.94 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.653e-05/0.4666, allocations: 3.938 kB / 423.7 MB, free: 12.94 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.4666, allocations: 11.42 kB / 423.7 MB, free: 12.93 MB / 346.7 MB Notification: Performance of SimCode: time 1.528e-06/0.4666, allocations: 0 / 423.7 MB, free: 12.93 MB / 346.7 MB Notification: Performance of Templates: time 0.002675/0.4693, allocations: 324.4 kB / 424 MB, free: 12.62 MB / 346.7 MB