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_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadModel(Modelica): time 1.872/1.872, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.953e-05/2.99e-05, allocations: 0 / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2691, allocations: 44.49 MB / 294.1 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1097/0.3788, allocations: 70.54 MB / 364.6 MB, free: 11.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.3791, allocations: 63.8 kB / 364.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01114/0.3902, allocations: 2.827 MB / 367.5 MB, free: 8.547 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.579e-06/0.3903, allocations: 0 / 367.5 MB, free: 8.547 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.3903, allocations: 4 kB / 367.5 MB, free: 8.543 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0005999/0.3909, allocations: 418.1 kB / 367.9 MB, free: 8.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.391, allocations: 12.03 kB / 368 MB, free: 8.078 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.464e-05/0.391, allocations: 23.72 kB / 368 MB, free: 8.055 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.3913, allocations: 207 kB / 368.2 MB, free: 7.812 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.3914, allocations: 8 kB / 368.2 MB, free: 7.805 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.18e-05/0.3914, allocations: 15.91 kB / 368.2 MB, free: 7.789 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002732/0.3917, allocations: 83.92 kB / 368.3 MB, free: 7.707 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000324/0.392, allocations: 152.2 kB / 368.4 MB, free: 7.543 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.3921, allocations: 0 / 368.4 MB, free: 7.543 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.3921, allocations: 8 kB / 368.4 MB, free: 7.535 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.3921, allocations: 4 kB / 368.4 MB, free: 7.531 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001429/0.3936, allocations: 0.7154 MB / 369.2 MB, free: 6.762 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.3938, allocations: 107.8 kB / 369.3 MB, free: 6.629 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.694e-05/0.3939, allocations: 46.72 kB / 369.3 MB, free: 6.574 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.394, allocations: 4 kB / 369.3 MB, free: 6.57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.394, allocations: 42.69 kB / 369.4 MB, free: 6.52 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.259e-06/0.394, allocations: 0 / 369.4 MB, free: 6.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003315/0.3944, allocations: 97.42 kB / 369.5 MB, free: 6.418 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.188e-05/0.3945, allocations: 106.8 kB / 369.6 MB, free: 6.289 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.3946, allocations: 141.1 kB / 369.7 MB, free: 6.145 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.3947, allocations: 25.7 kB / 369.7 MB, free: 6.113 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.3948, allocations: 214.3 kB / 369.9 MB, free: 5.902 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.41e-05/0.3949, allocations: 51.27 kB / 370 MB, free: 5.852 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.759e-06/0.3949, allocations: 0 / 370 MB, free: 5.852 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.3951, allocations: 326.8 kB / 370.3 MB, free: 5.523 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.082e-05/0.3952, allocations: 28.47 kB / 370.3 MB, free: 5.492 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.3954, allocations: 124.7 kB / 370.4 MB, free: 5.328 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.3955, allocations: 55.86 kB / 370.5 MB, free: 5.273 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.772e-06/0.3956, allocations: 0 / 370.5 MB, free: 5.273 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003917/0.396, allocations: 173.6 kB / 370.7 MB, free: 5.098 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.396, allocations: 6.031 kB / 370.7 MB, free: 5.094 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.396, allocations: 4 kB / 370.7 MB, free: 5.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.396, allocations: 4 kB / 370.7 MB, free: 5.086 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.3963, allocations: 47.92 kB / 370.7 MB, free: 5.039 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.3963, allocations: 7.938 kB / 370.7 MB, free: 5.031 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.3964, allocations: 11.84 kB / 370.8 MB, free: 5.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.301e-05/0.3965, allocations: 15.98 kB / 370.8 MB, free: 5.004 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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.0001178/0.3966, allocations: 127.5 kB / 370.9 MB, free: 4.875 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.3967, allocations: 19.88 kB / 370.9 MB, free: 4.855 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.363e-05/0.3968, allocations: 16.41 kB / 370.9 MB, free: 4.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.313e-06/0.3968, allocations: 0 / 370.9 MB, free: 4.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.355e-06/0.3968, allocations: 0 / 370.9 MB, free: 4.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.257e-06/0.3968, allocations: 4 kB / 370.9 MB, free: 4.836 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005611/0.3974, allocations: 210.1 kB / 371.1 MB, free: 4.594 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.318e-06/0.3974, allocations: 0 / 371.1 MB, free: 4.594 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.3976, allocations: 27.98 kB / 371.2 MB, free: 4.566 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.498e-06/0.3977, allocations: 4 kB / 371.2 MB, free: 4.562 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.3977, allocations: 0 / 371.2 MB, free: 4.562 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.165e-06/0.3977, allocations: 7.984 kB / 371.2 MB, free: 4.555 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.253e-06/0.3977, allocations: 8.172 kB / 371.2 MB, free: 4.547 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004642/0.3982, allocations: 402.6 kB / 371.6 MB, free: 4.125 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.437e-05/0.3983, allocations: 96.92 kB / 371.7 MB, free: 4.012 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.3983, allocations: 0 / 371.7 MB, free: 4.012 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.3986, allocations: 8 kB / 371.7 MB, free: 4.004 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.285e-05/0.3986, allocations: 11.94 kB / 371.7 MB, free: 3.992 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.3986, allocations: 0 / 371.7 MB, free: 3.992 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001283/0.3988, allocations: 111.3 kB / 371.8 MB, free: 3.883 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.7e-07/0.3988, allocations: 0 / 371.8 MB, free: 3.883 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005379/0.3993, allocations: 39.84 kB / 371.8 MB, free: 3.844 MB / 314.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 (13): * Single equations (assignments): 13 * 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.0001785/0.3995, allocations: 103.2 kB / 371.9 MB, free: 3.734 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002559/0.3998, allocations: 95.86 kB / 372 MB, free: 3.641 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.328e-06/0.3998, allocations: 0 / 372 MB, free: 3.641 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.716e-05/0.3999, allocations: 36.12 kB / 372.1 MB, free: 3.605 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004175/0.4003, allocations: 20.05 kB / 372.1 MB, free: 3.586 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.4015, allocations: 0.5844 MB / 372.7 MB, free: 2.969 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/0.402, allocations: 0.7319 MB / 373.4 MB, free: 2.207 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.4021, allocations: 19.44 kB / 373.4 MB, free: 2.188 MB / 314.7 MB Notification: Performance of SimCode: time 1.749e-06/0.4021, allocations: 0 / 373.4 MB, free: 2.188 MB / 314.7 MB Notification: Performance of Templates: time 0.004272/0.4064, allocations: 1.773 MB / 375.2 MB, free: 428 kB / 314.7 MB