Running command: translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadModel(Modelica): time 2.062/2.062, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.688e-05/2.699e-05, allocations: 3.938 kB / 292.1 MB, free: 8.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09273/0.09278, allocations: 50.42 MB / 342.6 MB, free: 6.398 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.353/0.4458, allocations: 78.43 MB / 421 MB, free: 15.69 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.446, allocations: 70.41 kB / 421 MB, free: 15.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01068/0.4568, allocations: 2.667 MB / 423.7 MB, free: 13.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.021e-06/0.4568, allocations: 2.844 kB / 423.7 MB, free: 13.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.777e-05/0.4568, allocations: 8 kB / 423.7 MB, free: 13.37 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.0005645/0.4574, allocations: 411.1 kB / 424.1 MB, free: 12.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.4575, allocations: 12.03 kB / 424.1 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.516e-05/0.4575, allocations: 15.81 kB / 424.2 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.4578, allocations: 196.2 kB / 424.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.4578, allocations: 14.44 kB / 424.4 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.4579, allocations: 14.44 kB / 424.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003032/0.4582, allocations: 123.8 kB / 424.5 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.4582, allocations: 0 / 424.5 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.4583, allocations: 10.12 kB / 424.5 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.4583, allocations: 11.95 kB / 424.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002118/0.4585, allocations: 81.11 kB / 424.6 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.4596, allocations: 0.5308 MB / 425.1 MB, free: 11.99 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.4598, allocations: 74.95 kB / 425.2 MB, free: 11.92 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.529e-05/0.4599, allocations: 23.36 kB / 425.2 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.4599, allocations: 12.06 kB / 425.2 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.4599, allocations: 30.56 kB / 425.3 MB, free: 11.85 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 3.23e-06/0.46, allocations: 4 kB / 425.3 MB, free: 11.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.001043/0.461, allocations: 0.5504 MB / 425.8 MB, free: 11.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.4611, allocations: 51.41 kB / 425.9 MB, free: 11.19 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.4612, allocations: 124.2 kB / 426 MB, free: 11.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.4613, allocations: 25.7 kB / 426 MB, free: 11.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.4614, allocations: 204.7 kB / 426.2 MB, free: 10.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.572e-05/0.4615, allocations: 41.75 kB / 426.3 MB, free: 10.81 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.249e-06/0.4615, allocations: 3.188 kB / 426.3 MB, free: 10.81 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.4616, allocations: 322 kB / 426.6 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.114e-05/0.4617, allocations: 22.19 kB / 426.6 MB, free: 10.47 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.4619, allocations: 83.62 kB / 426.7 MB, free: 10.38 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.462, allocations: 41.73 kB / 426.7 MB, free: 10.35 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.381e-06/0.462, allocations: 0 / 426.7 MB, free: 10.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003065/0.4623, allocations: 138.9 kB / 426.9 MB, free: 10.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.4623, allocations: 4 kB / 426.9 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.4624, allocations: 4 kB / 426.9 MB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.4624, allocations: 4 kB / 426.9 MB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.4626, allocations: 38.84 kB / 426.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.4627, allocations: 4 kB / 426.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.4628, allocations: 10.97 kB / 426.9 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.4628, allocations: 7.938 kB / 426.9 MB, free: 10.16 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.0001014/0.4629, allocations: 122.9 kB / 427 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.013e-05/0.463, allocations: 7.906 kB / 427.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.219e-05/0.4631, allocations: 14.25 kB / 427.1 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.57e-06/0.4631, allocations: 3.984 kB / 427.1 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.912e-06/0.4631, allocations: 0 / 427.1 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.122e-06/0.4631, allocations: 0 / 427.1 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007608/0.4639, allocations: 440.7 kB / 427.5 MB, free: 9.582 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.4639, allocations: 0 / 427.5 MB, free: 9.582 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.4641, allocations: 27.92 kB / 427.5 MB, free: 9.555 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.799e-06/0.4641, allocations: 0 / 427.5 MB, free: 9.555 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.4642, allocations: 7.812 kB / 427.5 MB, free: 9.551 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.562e-06/0.4642, allocations: 4 kB / 427.5 MB, free: 9.547 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.476e-06/0.4642, allocations: 0 / 427.5 MB, free: 9.547 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.4646, allocations: 256.8 kB / 427.8 MB, free: 9.293 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.484e-05/0.4647, allocations: 88.98 kB / 427.9 MB, free: 9.188 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.4647, allocations: 7.938 kB / 427.9 MB, free: 9.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.4649, allocations: 4 kB / 427.9 MB, free: 9.176 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.4649, allocations: 15.86 kB / 427.9 MB, free: 9.164 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.4649, allocations: 8.062 kB / 427.9 MB, free: 9.156 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.534e-05/0.465, allocations: 95.72 kB / 428 MB, free: 9.066 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.2e-07/0.4651, allocations: 0 / 428 MB, free: 9.066 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003956/0.4655, allocations: 27.5 kB / 428 MB, free: 9.043 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.0001594/0.4656, allocations: 110.2 kB / 428.1 MB, free: 8.926 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002124/0.4659, allocations: 73.88 kB / 428.2 MB, free: 8.871 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.603e-06/0.4659, allocations: 0.75 kB / 428.2 MB, free: 8.871 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.455e-05/0.466, allocations: 39.5 kB / 428.3 MB, free: 8.84 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.4662, allocations: 15.42 kB / 428.3 MB, free: 8.828 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007966/0.4671, allocations: 314.8 kB / 428.6 MB, free: 8.504 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.4675, allocations: 0.7237 MB / 429.3 MB, free: 7.754 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.226e-05/0.4676, allocations: 15.44 kB / 429.3 MB, free: 7.738 MB / 346.7 MB Notification: Performance of SimCode: time 1.585e-06/0.4676, allocations: 0 / 429.3 MB, free: 7.738 MB / 346.7 MB Notification: Performance of Templates: time 0.003587/0.4712, allocations: 1.4 MB / 430.7 MB, free: 6.359 MB / 346.7 MB