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.1_cpp_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadModel(Modelica): time 1.594/1.594, allocations: 171.2 MB / 183.8 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.205e-05/3.218e-05, allocations: 4 kB / 225 MB, free: 2.84 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2133, allocations: 38.77 MB / 263.7 MB, free: 9.895 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.144/0.3573, allocations: 65.9 MB / 329.6 MB, free: 7.902 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.3576, allocations: 71.95 kB / 329.7 MB, free: 7.832 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01152/0.3691, allocations: 2.835 MB / 332.6 MB, free: 4.98 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3692, allocations: 0 / 332.6 MB, free: 4.98 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.942e-05/0.3692, allocations: 4 kB / 332.6 MB, free: 4.977 MB / 282.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.0006089/0.3698, allocations: 433.9 kB / 333 MB, free: 4.508 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.3699, allocations: 8.031 kB / 333 MB, free: 4.5 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.808e-05/0.37, allocations: 23.81 kB / 333 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.3703, allocations: 210 kB / 333.2 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.3703, allocations: 15.94 kB / 333.2 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.456e-05/0.3704, allocations: 16 kB / 333.2 MB, free: 4.203 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003743/0.3707, allocations: 180.1 kB / 333.4 MB, free: 4.012 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.3708, allocations: 3.984 kB / 333.4 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.3708, allocations: 8 kB / 333.4 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.342e-06/0.3708, allocations: 4 kB / 333.4 MB, free: 3.996 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002541/0.3711, allocations: 103.8 kB / 333.5 MB, free: 3.895 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.3727, allocations: 0.7757 MB / 334.3 MB, free: 3.051 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.3729, allocations: 107.9 kB / 334.4 MB, free: 2.918 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.3731, allocations: 42.7 kB / 334.5 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.3731, allocations: 8 kB / 334.5 MB, free: 2.859 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.3731, allocations: 38.5 kB / 334.5 MB, free: 2.812 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 3.096e-06/0.3731, allocations: 0 / 334.5 MB, free: 2.812 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003577/0.3735, allocations: 109.4 kB / 334.6 MB, free: 2.699 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.558e-05/0.3736, allocations: 102.8 kB / 334.7 MB, free: 2.574 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/0.3739, allocations: 197.8 kB / 334.9 MB, free: 2.375 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.3739, allocations: 29.7 kB / 334.9 MB, free: 2.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.3741, allocations: 190.5 kB / 335.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.144e-05/0.3742, allocations: 59.19 kB / 335.2 MB, free: 2.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.322e-05/0.3742, allocations: 4 kB / 335.2 MB, free: 2.086 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.3744, allocations: 322.8 kB / 335.5 MB, free: 1.762 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.3745, allocations: 36.47 kB / 335.5 MB, free: 1.723 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.3747, allocations: 132.9 kB / 335.7 MB, free: 1.551 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.3748, allocations: 55.97 kB / 335.7 MB, free: 1.496 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.567e-06/0.3748, allocations: 4 kB / 335.7 MB, free: 1.492 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004283/0.3753, allocations: 189.6 kB / 335.9 MB, free: 1.301 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.3753, allocations: 8 kB / 335.9 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.3753, allocations: 8.062 kB / 335.9 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.3754, allocations: 4 kB / 335.9 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.3756, allocations: 47.92 kB / 336 MB, free: 1.234 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.3756, allocations: 4 kB / 336 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.3758, allocations: 23.69 kB / 336 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.3759, allocations: 16 kB / 336 MB, free: 1.191 MB / 282.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.0001147/0.376, allocations: 125 kB / 336.1 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.3761, allocations: 19.81 kB / 336.2 MB, free: 1.043 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.036e-05/0.3762, allocations: 21 kB / 336.2 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.609e-06/0.3762, allocations: 4 kB / 336.2 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.495e-06/0.3762, allocations: 0 / 336.2 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.716e-06/0.3762, allocations: 7.922 kB / 336.2 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006127/0.3769, allocations: 241.5 kB / 336.4 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.83e-06/0.3769, allocations: 0 / 336.4 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.3771, allocations: 35.98 kB / 336.5 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.578e-06/0.3771, allocations: 0 / 336.5 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.3772, allocations: 0 / 336.5 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.579e-06/0.3772, allocations: 11.94 kB / 336.5 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.201e-06/0.3772, allocations: 0 / 336.5 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004846/0.3777, allocations: 418.3 kB / 336.9 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.577e-05/0.3778, allocations: 100.8 kB / 337 MB, free: 120 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.01e-05/0.3779, allocations: 8.062 kB / 337 MB, free: 112 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.3781, allocations: 0 / 337 MB, free: 112 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.558e-05/0.3781, allocations: 11.98 kB / 337 MB, free: 100 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.3781, allocations: 4 kB / 337 MB, free: 96 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000207/0.3784, allocations: 156.2 kB / 337.2 MB, free: 15.94 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.65e-07/0.3784, allocations: 0 / 337.2 MB, free: 15.94 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005334/0.3789, allocations: 44 kB / 337.2 MB, free: 15.9 MB / 298.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.000162/0.3791, allocations: 107.2 kB / 337.3 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002691/0.3794, allocations: 99.88 kB / 337.4 MB, free: 15.69 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.729e-06/0.3794, allocations: 0 / 337.4 MB, free: 15.69 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.3795, allocations: 43.92 kB / 337.4 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004371/0.38, allocations: 23.84 kB / 337.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.3812, allocations: 0.6012 MB / 338.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.3816, allocations: 0.7324 MB / 338.8 MB, free: 14.22 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.187e-05/0.3817, allocations: 19.44 kB / 338.8 MB, free: 14.2 MB / 298.7 MB Notification: Performance of SimCode: time 1.702e-06/0.3817, allocations: 0 / 338.8 MB, free: 14.2 MB / 298.7 MB Notification: Performance of Templates: time 0.004626/0.3864, allocations: 1.945 MB / 340.8 MB, free: 12.25 MB / 298.7 MB