Running command: translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadModel(Modelica): time 2.169/2.169, allocations: 225.8 MB / 239.4 MB, free: 1.277 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.614e-05/2.66e-05, allocations: 4 kB / 292.7 MB, free: 11.49 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09244/0.09249, allocations: 50.41 MB / 343.1 MB, free: 9.086 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3889/0.4815, allocations: 76.47 MB / 419.5 MB, free: 8.258 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/0.4817, allocations: 67.05 kB / 419.6 MB, free: 8.258 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01053/0.4922, allocations: 2.911 MB / 422.5 MB, free: 7.723 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.166e-06/0.4923, allocations: 0 / 422.5 MB, free: 7.723 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.4923, allocations: 3.875 kB / 422.5 MB, free: 7.723 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0004279/0.4928, allocations: 417.7 kB / 422.9 MB, free: 7.344 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4928, allocations: 11.66 kB / 422.9 MB, free: 7.344 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.4929, allocations: 22.5 kB / 423 MB, free: 7.332 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.4931, allocations: 214.1 kB / 423.2 MB, free: 7.121 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.4931, allocations: 7.625 kB / 423.2 MB, free: 7.121 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.05e-05/0.4932, allocations: 18.69 kB / 423.2 MB, free: 7.121 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003072/0.4935, allocations: 179.8 kB / 423.4 MB, free: 7.043 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.4935, allocations: 3.906 kB / 423.4 MB, free: 7.039 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.4935, allocations: 7.375 kB / 423.4 MB, free: 7.039 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.128e-06/0.4936, allocations: 3.844 kB / 423.4 MB, free: 7.039 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002172/0.4938, allocations: 92.48 kB / 423.5 MB, free: 7.031 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.4951, allocations: 0.965 MB / 424.4 MB, free: 6.289 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.4953, allocations: 90.73 kB / 424.5 MB, free: 6.219 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.991e-05/0.4954, allocations: 47.81 kB / 424.6 MB, free: 6.188 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.4954, allocations: 0 / 424.6 MB, free: 6.188 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.4954, allocations: 41.72 kB / 424.6 MB, free: 6.145 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 2.27e-06/0.4954, allocations: 0 / 424.6 MB, free: 6.145 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002991/0.4958, allocations: 107.5 kB / 424.7 MB, free: 6.098 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.4958, allocations: 102.8 kB / 424.8 MB, free: 5.973 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.496, allocations: 179.9 kB / 425 MB, free: 5.871 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.496, allocations: 29.55 kB / 425 MB, free: 5.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.864e-05/0.4961, allocations: 152.6 kB / 425.2 MB, free: 5.727 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.4961, allocations: 49.08 kB / 425.2 MB, free: 5.695 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-06/0.4962, allocations: 3.688 kB / 425.2 MB, free: 5.695 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.132e-05/0.4962, allocations: 329 kB / 425.5 MB, free: 5.383 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.005e-05/0.4963, allocations: 34.31 kB / 425.6 MB, free: 5.379 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.4965, allocations: 142.2 kB / 425.7 MB, free: 5.246 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.4966, allocations: 57.97 kB / 425.8 MB, free: 5.238 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.545e-06/0.4966, allocations: 0 / 425.8 MB, free: 5.238 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003807/0.497, allocations: 203.1 kB / 426 MB, free: 5.176 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.4971, allocations: 14.72 kB / 426 MB, free: 5.172 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.4971, allocations: 3.875 kB / 426 MB, free: 5.172 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.4971, allocations: 7.688 kB / 426 MB, free: 5.172 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.4973, allocations: 48.83 kB / 426 MB, free: 5.168 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.4974, allocations: 6.891 kB / 426 MB, free: 5.168 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.4975, allocations: 27.09 kB / 426.1 MB, free: 5.152 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.4976, allocations: 15.44 kB / 426.1 MB, free: 5.148 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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 6.55e-05/0.4976, allocations: 123.5 kB / 426.2 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.579e-05/0.4977, allocations: 15.53 kB / 426.2 MB, free: 5.023 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.405e-05/0.4978, allocations: 26.78 kB / 426.3 MB, free: 5.016 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.884e-06/0.4978, allocations: 7.781 kB / 426.3 MB, free: 5.012 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.349e-06/0.4978, allocations: 0 / 426.3 MB, free: 5.012 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.687e-06/0.4979, allocations: 0 / 426.3 MB, free: 5.012 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005283/0.4984, allocations: 233.9 kB / 426.5 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.673e-06/0.4984, allocations: 3.844 kB / 426.5 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.4987, allocations: 28.77 kB / 426.5 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.206e-06/0.4987, allocations: 4.281 kB / 426.5 MB, free: 4.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.4987, allocations: 7.188 kB / 426.5 MB, free: 4.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.4987, allocations: 7.953 kB / 426.5 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.071e-06/0.4987, allocations: 0 / 426.5 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003225/0.4991, allocations: 414.2 kB / 426.9 MB, free: 4.477 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/0.4991, allocations: 103.2 kB / 427 MB, free: 4.367 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.4992, allocations: 0 / 427 MB, free: 4.367 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.4994, allocations: 3.812 kB / 427 MB, free: 4.367 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.4995, allocations: 10.84 kB / 427.1 MB, free: 4.367 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.4995, allocations: 0 / 427.1 MB, free: 4.367 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001353/0.4997, allocations: 150.7 kB / 427.2 MB, free: 4.289 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.12e-07/0.4997, allocations: 0 / 427.2 MB, free: 4.289 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005124/0.5002, allocations: 42.09 kB / 427.2 MB, free: 4.289 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0002834/0.5005, allocations: 113.4 kB / 427.4 MB, free: 20.19 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002436/0.5008, allocations: 99.28 kB / 427.5 MB, free: 20.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.471e-06/0.5008, allocations: 0 / 427.5 MB, free: 20.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.683e-05/0.5009, allocations: 33.03 kB / 427.5 MB, free: 20.18 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.5013, allocations: 30.34 kB / 427.5 MB, free: 20.17 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009309/0.5023, allocations: 0.5589 MB / 428.1 MB, free: 19.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.5027, allocations: 0.7331 MB / 428.8 MB, free: 19.05 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.958e-05/0.5028, allocations: 18.81 kB / 428.8 MB, free: 19.04 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.5029, allocations: 15 kB / 428.8 MB, free: 19.04 MB / 346.7 MB Notification: Performance of SimCode: time 1.512e-06/0.5029, allocations: 0 / 428.8 MB, free: 19.04 MB / 346.7 MB Notification: Performance of Templates: time 0.004854/0.5077, allocations: 1.229 MB / 430.1 MB, free: 18.92 MB / 346.7 MB