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.854/1.854, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.8e-05/2.828e-05, allocations: 3.25 kB / 255.3 MB, free: 3.207 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07755/0.0776, allocations: 44.5 MB / 299.8 MB, free: 6.656 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3555/0.4332, allocations: 71.19 MB / 371 MB, free: 21.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.4334, allocations: 65.44 kB / 371.1 MB, free: 21.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01144/0.4449, allocations: 2.844 MB / 373.9 MB, free: 20.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.839e-06/0.4449, allocations: 0 / 373.9 MB, free: 20.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.445, allocations: 8.891 kB / 373.9 MB, free: 20.84 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.0004993/0.4455, allocations: 421.4 kB / 374.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.4455, allocations: 9.406 kB / 374.4 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.126e-05/0.4456, allocations: 23.27 kB / 374.4 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.4458, allocations: 214.6 kB / 374.6 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.4458, allocations: 10.19 kB / 374.6 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.773e-05/0.4459, allocations: 26.66 kB / 374.6 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003496/0.4463, allocations: 175.9 kB / 374.8 MB, free: 20.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.4463, allocations: 0.7031 kB / 374.8 MB, free: 20.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.4463, allocations: 8.531 kB / 374.8 MB, free: 20.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.958e-06/0.4463, allocations: 6.188 kB / 374.8 MB, free: 20.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002327/0.4466, allocations: 96.91 kB / 374.9 MB, free: 20.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.4479, allocations: 0.7824 MB / 375.7 MB, free: 19.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.4481, allocations: 113.5 kB / 375.8 MB, free: 19.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.494e-05/0.4483, allocations: 44.83 kB / 375.8 MB, free: 19.51 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.4483, allocations: 2.562 kB / 375.8 MB, free: 19.51 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.4483, allocations: 37.16 kB / 375.9 MB, free: 19.47 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.587e-06/0.4483, allocations: 4 kB / 375.9 MB, free: 19.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003319/0.4487, allocations: 106.3 kB / 376 MB, free: 19.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.4487, allocations: 113.3 kB / 376.1 MB, free: 19.29 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.449, allocations: 192 kB / 376.3 MB, free: 19.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.449, allocations: 26.92 kB / 376.3 MB, free: 19.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.065e-05/0.4491, allocations: 199 kB / 376.5 MB, free: 18.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.532e-05/0.4491, allocations: 57.58 kB / 376.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.045e-05/0.4492, allocations: 4.656 kB / 376.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.479e-05/0.4492, allocations: 323 kB / 376.9 MB, free: 18.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.611e-05/0.4493, allocations: 37.41 kB / 376.9 MB, free: 18.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.4495, allocations: 121.4 kB / 377 MB, free: 18.53 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.4496, allocations: 66.75 kB / 377.1 MB, free: 18.51 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.877e-06/0.4496, allocations: 1.094 kB / 377.1 MB, free: 18.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003872/0.45, allocations: 193.2 kB / 377.3 MB, free: 18.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4501, allocations: 9.938 kB / 377.3 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.898e-06/0.4501, allocations: 3.156 kB / 377.3 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.4501, allocations: 5.906 kB / 377.3 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.4503, allocations: 51.48 kB / 377.4 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.4504, allocations: 3.75 kB / 377.4 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.4505, allocations: 27.02 kB / 377.4 MB, free: 18.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.4506, allocations: 14.11 kB / 377.4 MB, free: 18.43 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 6.697e-05/0.4506, allocations: 117 kB / 377.5 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.4508, allocations: 18.28 kB / 377.5 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.45e-05/0.4508, allocations: 21.41 kB / 377.6 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.118e-06/0.4508, allocations: 3.188 kB / 377.6 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.306e-06/0.4509, allocations: 3.188 kB / 377.6 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.134e-06/0.4509, allocations: 4 kB / 377.6 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005474/0.4514, allocations: 250 kB / 377.8 MB, free: 18.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.959e-06/0.4515, allocations: 0.9375 kB / 377.8 MB, free: 18.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002451/0.4517, allocations: 32.77 kB / 377.9 MB, free: 18.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.804e-06/0.4517, allocations: 2.125 kB / 377.9 MB, free: 18.1 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.4518, allocations: 5 kB / 377.9 MB, free: 18.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.304e-06/0.4518, allocations: 5.875 kB / 377.9 MB, free: 18.1 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.989e-06/0.4518, allocations: 1.219 kB / 377.9 MB, free: 18.1 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/0.4521, allocations: 408.6 kB / 378.3 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.262e-05/0.4522, allocations: 107 kB / 378.4 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.816e-05/0.4523, allocations: 6.656 kB / 378.4 MB, free: 17.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.4525, allocations: 7.641 kB / 378.4 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/0.4526, allocations: 9.672 kB / 378.4 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.4526, allocations: 2.719 kB / 378.4 MB, free: 17.65 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001533/0.4527, allocations: 157.8 kB / 378.5 MB, free: 17.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.29e-07/0.4528, allocations: 0 / 378.5 MB, free: 17.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005132/0.4533, allocations: 38.31 kB / 378.6 MB, free: 17.57 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.0001102/0.4534, allocations: 102.6 kB / 378.7 MB, free: 17.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002565/0.4537, allocations: 108.9 kB / 378.8 MB, free: 17.47 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.882e-06/0.4537, allocations: 5.594 kB / 378.8 MB, free: 17.46 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.596e-05/0.4538, allocations: 34.88 kB / 378.8 MB, free: 17.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.4542, allocations: 23.8 kB / 378.9 MB, free: 17.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009941/0.4552, allocations: 0.6001 MB / 379.5 MB, free: 17.01 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.4554, allocations: 0.7301 MB / 380.2 MB, free: 16.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.329e-05/0.4555, allocations: 18 kB / 380.2 MB, free: 16.31 MB / 314.7 MB Notification: Performance of SimCode: time 1.574e-06/0.4555, allocations: 4 kB / 380.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of Templates: time 0.004273/0.4598, allocations: 1.96 MB / 382.2 MB, free: 16.16 MB / 314.7 MB