Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") Notification: Performance of loadModel(Modelica): time 2.162/2.162, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.288e-05/3.306e-05, allocations: 4 kB / 292.1 MB, free: 8.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.132, allocations: 50.42 MB / 342.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3933/0.5254, allocations: 76.66 MB / 419.2 MB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003786/0.5258, allocations: 86.66 kB / 419.3 MB, free: 1.469 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006135/0.532, allocations: 1.15 MB / 420.5 MB, free: 464 kB / 330.7 MB Notification: Performance of FrontEnd: time 7.663e-06/0.532, allocations: 0 / 420.5 MB, free: 464 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.532, allocations: 3.938 kB / 420.5 MB, free: 460 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005421/0.5326, allocations: 346.2 kB / 420.8 MB, free: 72 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/0.5327, allocations: 12.03 kB / 420.8 MB, free: 60 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.198e-05/0.5328, allocations: 11.86 kB / 420.8 MB, free: 48 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.5332, allocations: 189.5 kB / 421 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.5332, allocations: 0 / 421 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.5332, allocations: 7.5 kB / 421 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004011/0.5337, allocations: 107.4 kB / 421.1 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.5337, allocations: 3.984 kB / 421.1 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.5337, allocations: 0 / 421.1 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.972e-06/0.5338, allocations: 0 / 421.1 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.192e-05/0.5339, allocations: 19.69 kB / 421.1 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005876/0.5345, allocations: 265.2 kB / 421.4 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003132/0.5348, allocations: 129.5 kB / 421.5 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.304e-05/0.5349, allocations: 24.53 kB / 421.6 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.535, allocations: 0 / 421.6 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.921e-05/0.5351, allocations: 38.58 kB / 421.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 3.793e-06/0.5351, allocations: 4 kB / 421.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002956/0.5354, allocations: 55.88 kB / 421.7 MB, free: 15.1 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.078e-05/0.5355, allocations: 81.09 kB / 421.7 MB, free: 15 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.5358, allocations: 119.8 kB / 421.8 MB, free: 14.89 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.5358, allocations: 25.7 kB / 421.9 MB, free: 14.86 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.1e-05/0.5359, allocations: 91.77 kB / 422 MB, free: 14.77 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.536, allocations: 0 / 422 MB, free: 14.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.608e-06/0.536, allocations: 0 / 422 MB, free: 14.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.5362, allocations: 322.6 kB / 422.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.739e-05/0.5363, allocations: 4 kB / 422.3 MB, free: 14.44 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.899e-05/0.5364, allocations: 31.25 kB / 422.3 MB, free: 14.4 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.637e-05/0.5364, allocations: 5.156 kB / 422.3 MB, free: 14.4 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.565e-06/0.5365, allocations: 4 kB / 422.3 MB, free: 14.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002092/0.5367, allocations: 61.47 kB / 422.4 MB, free: 14.33 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.5367, allocations: 4 kB / 422.4 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.5368, allocations: 0 / 422.4 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-05/0.5368, allocations: 7.953 kB / 422.4 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.537, allocations: 11.98 kB / 422.4 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.537, allocations: 3.938 kB / 422.4 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.477e-05/0.5371, allocations: 7.25 kB / 422.4 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.5372, allocations: 4.125 kB / 422.4 MB, free: 14.3 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.0001199/0.5373, allocations: 105 kB / 422.5 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.5375, allocations: 52.78 kB / 422.6 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.802e-05/0.5376, allocations: 7.469 kB / 422.6 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.5376, allocations: 4 kB / 422.6 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.5376, allocations: 3.953 kB / 422.6 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.994e-06/0.5377, allocations: 0 / 422.6 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003837/0.5381, allocations: 164.5 kB / 422.7 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.5381, allocations: 4 kB / 422.8 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.5382, allocations: 15.98 kB / 422.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.477e-06/0.5383, allocations: 0 / 422.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.5383, allocations: 0 / 422.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.736e-06/0.5383, allocations: 3.938 kB / 422.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.439e-06/0.5383, allocations: 0 / 422.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.5386, allocations: 176 kB / 422.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.5388, allocations: 104.3 kB / 423 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.5388, allocations: 0 / 423 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.539, allocations: 4 kB / 423 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.5391, allocations: 3.953 kB / 423.1 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.5391, allocations: 4 kB / 423.1 MB, free: 13.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001478/0.5393, allocations: 106.6 kB / 423.2 MB, free: 13.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.469e-06/0.5393, allocations: 0 / 423.2 MB, free: 13.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005931/0.5399, allocations: 7.938 kB / 423.2 MB, free: 13.47 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.0001791/0.5401, allocations: 103.9 kB / 423.3 MB, free: 13.36 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001509/0.5403, allocations: 19.62 kB / 423.3 MB, free: 13.35 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/0.5403, allocations: 4 kB / 423.3 MB, free: 13.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.86e-05/0.5404, allocations: 0 / 423.3 MB, free: 13.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/0.5409, allocations: 23.59 kB / 423.3 MB, free: 13.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000416/0.5413, allocations: 101.3 kB / 423.4 MB, free: 13.21 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005046/0.5419, allocations: 0.7007 MB / 424.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.087e-05/0.5419, allocations: 0 / 424.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/0.542, allocations: 11.44 kB / 424.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of SimCode: time 2.181e-06/0.542, allocations: 0 / 424.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of Templates: time 0.004679/0.5467, allocations: 436.2 kB / 424.6 MB, free: 12.07 MB / 346.7 MB