Running command: translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadModel(Modelica): time 1.984/1.984, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.471e-05/4.479e-05, allocations: 8 kB / 292.7 MB, free: 8.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09758/0.09766, allocations: 50.41 MB / 343.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3696/0.4673, allocations: 78.38 MB / 421.5 MB, free: 15.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/0.4676, allocations: 66.59 kB / 421.5 MB, free: 15.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01037/0.478, allocations: 2.679 MB / 424.2 MB, free: 13.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.23e-06/0.478, allocations: 0 / 424.2 MB, free: 13.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.4781, allocations: 4 kB / 424.2 MB, free: 13.47 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005487/0.4786, allocations: 409.2 kB / 424.6 MB, free: 13.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.4787, allocations: 12.03 kB / 424.6 MB, free: 13.03 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.634e-05/0.4787, allocations: 19.81 kB / 424.6 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.479, allocations: 194.5 kB / 424.8 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.479, allocations: 11.94 kB / 424.8 MB, free: 12.78 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.103e-05/0.4791, allocations: 15.44 kB / 424.8 MB, free: 12.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.4794, allocations: 127.5 kB / 425 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.4794, allocations: 0 / 425 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.4795, allocations: 11.62 kB / 425 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.872e-06/0.4795, allocations: 7.953 kB / 425 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002113/0.4797, allocations: 82.86 kB / 425.1 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009875/0.4807, allocations: 0.5332 MB / 425.6 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.4809, allocations: 77.75 kB / 425.7 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.293e-05/0.481, allocations: 24.73 kB / 425.7 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.481, allocations: 4 kB / 425.7 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.481, allocations: 30.75 kB / 425.7 MB, free: 11.96 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 5.704e-06/0.481, allocations: 0 / 425.7 MB, free: 11.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001008/0.4821, allocations: 0.5534 MB / 426.3 MB, free: 11.36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.4821, allocations: 51.5 kB / 426.3 MB, free: 11.3 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.4823, allocations: 124.7 kB / 426.5 MB, free: 11.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.4823, allocations: 29.45 kB / 426.5 MB, free: 11.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.903e-05/0.4824, allocations: 131.1 kB / 426.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.24e-05/0.4825, allocations: 39.27 kB / 426.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.377e-06/0.4825, allocations: 3.75 kB / 426.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.4827, allocations: 322.6 kB / 427 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.102e-05/0.4828, allocations: 26.75 kB / 427 MB, free: 10.64 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.4829, allocations: 78.06 kB / 427.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.483, allocations: 46.98 kB / 427.1 MB, free: 10.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.262e-06/0.483, allocations: 0 / 427.1 MB, free: 10.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002981/0.4833, allocations: 132.7 kB / 427.3 MB, free: 10.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.4834, allocations: 8.031 kB / 427.3 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.26e-06/0.4834, allocations: 4 kB / 427.3 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.4834, allocations: 3.984 kB / 427.3 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.4836, allocations: 39.92 kB / 427.3 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.899e-06/0.4836, allocations: 0 / 427.3 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.4838, allocations: 11.75 kB / 427.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.4838, allocations: 7.938 kB / 427.3 MB, free: 10.34 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001026/0.4839, allocations: 120.3 kB / 427.4 MB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.577e-05/0.484, allocations: 11.91 kB / 427.5 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.855e-05/0.484, allocations: 12.36 kB / 427.5 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.818e-06/0.484, allocations: 4 kB / 427.5 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.314e-06/0.484, allocations: 0 / 427.5 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.774e-06/0.4841, allocations: 0 / 427.5 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007085/0.4848, allocations: 445.5 kB / 427.9 MB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.764e-06/0.4848, allocations: 0 / 427.9 MB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.485, allocations: 27.98 kB / 427.9 MB, free: 9.723 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.778e-06/0.485, allocations: 0 / 427.9 MB, free: 9.723 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.485, allocations: 3.938 kB / 427.9 MB, free: 9.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.52e-06/0.4851, allocations: 4 kB / 427.9 MB, free: 9.719 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.485e-06/0.4851, allocations: 3.938 kB / 427.9 MB, free: 9.715 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003961/0.4855, allocations: 258.6 kB / 428.2 MB, free: 9.457 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-05/0.4856, allocations: 85 kB / 428.3 MB, free: 9.355 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.95e-05/0.4856, allocations: 11.83 kB / 428.3 MB, free: 9.348 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.4857, allocations: 4 kB / 428.3 MB, free: 9.344 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.4858, allocations: 11.98 kB / 428.3 MB, free: 9.332 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.504e-06/0.4858, allocations: 0 / 428.3 MB, free: 9.332 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.588e-05/0.4859, allocations: 108.3 kB / 428.4 MB, free: 9.234 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.064e-06/0.486, allocations: 0 / 428.4 MB, free: 9.234 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003704/0.4863, allocations: 31.88 kB / 428.4 MB, free: 9.207 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mass.s,mass.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001479/0.4865, allocations: 104.6 kB / 428.6 MB, free: 9.094 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002082/0.4867, allocations: 78.94 kB / 428.6 MB, free: 9.035 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.719e-06/0.4867, allocations: 0 / 428.6 MB, free: 9.035 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.987e-05/0.4868, allocations: 32.3 kB / 428.7 MB, free: 9.012 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.4871, allocations: 12.48 kB / 428.7 MB, free: 9.004 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.4882, allocations: 301.8 kB / 429 MB, free: 8.699 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.4886, allocations: 0.7237 MB / 429.7 MB, free: 7.949 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.963e-05/0.4887, allocations: 8.875 kB / 429.7 MB, free: 7.934 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.996e-05/0.4888, allocations: 15.44 kB / 429.7 MB, free: 7.918 MB / 346.7 MB Notification: Performance of SimCode: time 1.488e-06/0.4888, allocations: 4 kB / 429.7 MB, free: 7.914 MB / 346.7 MB Notification: Performance of Templates: time 0.003949/0.4927, allocations: 0.7809 MB / 430.5 MB, free: 7.145 MB / 346.7 MB