Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadModel(Modelica): time 2.129/2.129, allocations: 225.8 MB / 239.4 MB, free: 1.281 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.577e-05/3.6e-05, allocations: 4 kB / 292.7 MB, free: 11.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1008, allocations: 50.42 MB / 343.1 MB, free: 9.082 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4128/0.5138, allocations: 76.98 MB / 420.1 MB, free: 8.473 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.514, allocations: 75.28 kB / 420.1 MB, free: 8.473 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004584/0.5186, allocations: 1.429 MB / 421.6 MB, free: 8.082 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.183e-06/0.5187, allocations: 0 / 421.6 MB, free: 8.082 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.5187, allocations: 7.812 kB / 421.6 MB, free: 8.078 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0002972/0.519, allocations: 357 kB / 421.9 MB, free: 7.727 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.5191, allocations: 7.719 kB / 421.9 MB, free: 7.727 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/0.5191, allocations: 11.67 kB / 421.9 MB, free: 7.719 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.5193, allocations: 195.7 kB / 422.1 MB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.5193, allocations: 7.562 kB / 422.1 MB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.5193, allocations: 3.844 kB / 422.1 MB, free: 7.512 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003206/0.5197, allocations: 158 kB / 422.3 MB, free: 7.426 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.023e-06/0.5197, allocations: 0 / 422.3 MB, free: 7.426 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.5197, allocations: 2.766 kB / 422.3 MB, free: 7.426 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.009e-06/0.5197, allocations: 11.91 kB / 422.3 MB, free: 7.418 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.693e-05/0.5198, allocations: 22.25 kB / 422.3 MB, free: 7.414 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003908/0.5202, allocations: 370.7 kB / 422.7 MB, free: 7.059 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.5205, allocations: 106.1 kB / 422.8 MB, free: 6.98 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.679e-05/0.5206, allocations: 54.75 kB / 422.8 MB, free: 6.957 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.5206, allocations: 6.125 kB / 422.9 MB, free: 6.957 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.5206, allocations: 38.45 kB / 422.9 MB, free: 6.91 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.34e-06/0.5207, allocations: 0 / 422.9 MB, free: 6.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.00024/0.5209, allocations: 88.62 kB / 423 MB, free: 6.867 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.521, allocations: 110.2 kB / 423.1 MB, free: 6.742 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.5211, allocations: 129.8 kB / 423.2 MB, free: 6.645 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.5211, allocations: 28.38 kB / 423.2 MB, free: 6.613 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.043e-05/0.5212, allocations: 87.2 kB / 423.3 MB, free: 6.531 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.5212, allocations: 13.75 kB / 423.3 MB, free: 6.523 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-06/0.5212, allocations: 3.062 kB / 423.3 MB, free: 6.523 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.383e-05/0.5213, allocations: 324.3 kB / 423.7 MB, free: 6.207 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.863e-05/0.5213, allocations: 7.625 kB / 423.7 MB, free: 6.203 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.671e-05/0.5214, allocations: 64.86 kB / 423.7 MB, free: 6.129 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.721e-05/0.5214, allocations: 23.89 kB / 423.8 MB, free: 6.125 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.92e-06/0.5214, allocations: 192 / 423.8 MB, free: 6.125 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001627/0.5216, allocations: 89.33 kB / 423.8 MB, free: 6.082 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.5216, allocations: 7.781 kB / 423.8 MB, free: 6.078 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.045e-06/0.5216, allocations: 11.73 kB / 423.9 MB, free: 6.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.5217, allocations: 5.922 kB / 423.9 MB, free: 6.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.5218, allocations: 17.55 kB / 423.9 MB, free: 6.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.5218, allocations: 3.688 kB / 423.9 MB, free: 6.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.363e-05/0.5219, allocations: 14.16 kB / 423.9 MB, free: 6.066 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.5219, allocations: 3.625 kB / 423.9 MB, free: 6.066 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 5.088e-05/0.522, allocations: 116.2 kB / 424 MB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.5221, allocations: 72.8 kB / 424.1 MB, free: 5.918 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.144e-05/0.5222, allocations: 17.12 kB / 424.1 MB, free: 5.914 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.031e-06/0.5222, allocations: 3.953 kB / 424.1 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.133e-06/0.5222, allocations: 3.844 kB / 424.1 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.045e-06/0.5222, allocations: 0 / 424.1 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.5225, allocations: 181.2 kB / 424.3 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.461e-06/0.5225, allocations: 3.812 kB / 424.3 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.5226, allocations: 21.52 kB / 424.3 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.577e-06/0.5226, allocations: 4 kB / 424.3 MB, free: 5.711 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.5227, allocations: 3.719 kB / 424.3 MB, free: 5.711 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.472e-06/0.5227, allocations: 2.484 kB / 424.3 MB, free: 5.711 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.282e-06/0.5227, allocations: 3.953 kB / 424.3 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.523, allocations: 326.1 kB / 424.6 MB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.204e-05/0.5231, allocations: 102.2 kB / 424.7 MB, free: 5.336 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.5231, allocations: 0 / 424.7 MB, free: 5.336 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.5233, allocations: 6.234 kB / 424.8 MB, free: 5.336 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.5233, allocations: 11.7 kB / 424.8 MB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.623e-06/0.5233, allocations: 3.875 kB / 424.8 MB, free: 5.328 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.78e-05/0.5234, allocations: 108 kB / 424.9 MB, free: 5.254 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.36e-07/0.5234, allocations: 4 kB / 424.9 MB, free: 5.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003926/0.5238, allocations: 11.66 kB / 424.9 MB, free: 5.25 MB / 330.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 (10): * Single equations (assignments): 10 * 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 9.484e-05/0.5239, allocations: 98.47 kB / 425 MB, free: 5.164 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.5241, allocations: 46.83 kB / 425 MB, free: 5.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.5241, allocations: 3.938 kB / 425 MB, free: 5.156 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.521e-05/0.5241, allocations: 8.469 kB / 425 MB, free: 5.152 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.5245, allocations: 47.22 kB / 425.1 MB, free: 5.141 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/0.5249, allocations: 145.4 kB / 425.2 MB, free: 5.031 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.5253, allocations: 0.7048 MB / 425.9 MB, free: 20.33 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.256e-05/0.5254, allocations: 7.359 kB / 425.9 MB, free: 20.33 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.5254, allocations: 11.28 kB / 426 MB, free: 20.32 MB / 346.7 MB Notification: Performance of SimCode: time 1.636e-06/0.5254, allocations: 4 kB / 426 MB, free: 20.32 MB / 346.7 MB Notification: Performance of Templates: time 0.003342/0.5288, allocations: 0.5968 MB / 426.6 MB, free: 20.26 MB / 346.7 MB