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.926/1.926, allocations: 171.1 MB / 186.3 MB, free: 1.414 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.493e-05/3.491e-05, allocations: 4 kB / 228.1 MB, free: 7.992 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08254/0.0826, allocations: 38.77 MB / 266.9 MB, free: 1.137 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002734/0.0854, allocations: 1.643 MB / 268.5 MB, free: 15.47 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004173/0.08586, allocations: 151.7 kB / 268.7 MB, free: 15.32 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.08599, allocations: 4 kB / 268.7 MB, free: 15.32 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.979e-05/0.08606, allocations: 23.84 kB / 268.7 MB, free: 15.3 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.08625, allocations: 55.81 kB / 268.8 MB, free: 15.24 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001445/0.08641, allocations: 31.95 kB / 268.8 MB, free: 15.21 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.08666, allocations: 99.77 kB / 268.9 MB, free: 15.11 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.08683, allocations: 40.03 kB / 268.9 MB, free: 15.07 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.493e-05/0.08692, allocations: 51.92 kB / 269 MB, free: 15.02 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.08706, allocations: 51.77 kB / 269 MB, free: 14.97 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.572e-05/0.08711, allocations: 8 kB / 269 MB, free: 14.96 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.613e-05/0.08715, allocations: 4 kB / 269 MB, free: 14.96 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.946e-05/0.0872, allocations: 31.84 kB / 269.1 MB, free: 14.93 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.778e-05/0.08725, allocations: 16 kB / 269.1 MB, free: 14.91 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.08747, allocations: 131.9 kB / 269.2 MB, free: 14.78 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.08749, allocations: 0 / 269.2 MB, free: 14.78 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.0875, allocations: 0 / 269.2 MB, free: 14.78 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.08752, allocations: 0 / 269.2 MB, free: 14.78 MB / 234.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.0007263/0.08825, allocations: 438.8 kB / 269.6 MB, free: 14.3 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.08831, allocations: 8.031 kB / 269.7 MB, free: 14.3 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.845e-05/0.08839, allocations: 19.81 kB / 269.7 MB, free: 14.28 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.08867, allocations: 214.7 kB / 269.9 MB, free: 14.03 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.08871, allocations: 12 kB / 269.9 MB, free: 14.02 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.125e-05/0.08877, allocations: 16 kB / 269.9 MB, free: 14 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004212/0.0892, allocations: 184.1 kB / 270.1 MB, free: 13.8 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.08924, allocations: 3.984 kB / 270.1 MB, free: 13.8 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/0.08928, allocations: 11.98 kB / 270.1 MB, free: 13.79 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.0893, allocations: 4 kB / 270.1 MB, free: 13.79 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.0896, allocations: 99.88 kB / 270.2 MB, free: 13.69 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.0912, allocations: 0.7757 MB / 271 MB, free: 12.84 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.09149, allocations: 123.8 kB / 271.1 MB, free: 12.69 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.09153, allocations: 3.938 kB / 271.1 MB, free: 12.69 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.635e-05/0.09159, allocations: 38.59 kB / 271.1 MB, free: 12.64 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 2.765e-06/0.09161, allocations: 0 / 271.1 MB, free: 12.64 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004318/0.09205, allocations: 129.5 kB / 271.3 MB, free: 12.51 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.552e-05/0.09213, allocations: 114.8 kB / 271.4 MB, free: 12.37 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.0924, allocations: 194 kB / 271.6 MB, free: 12.18 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.09244, allocations: 29.64 kB / 271.6 MB, free: 12.14 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.09258, allocations: 198.5 kB / 271.8 MB, free: 11.94 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.103e-05/0.09265, allocations: 51.28 kB / 271.8 MB, free: 11.89 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.026e-05/0.09267, allocations: 0 / 271.8 MB, free: 11.89 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.0928, allocations: 318.8 kB / 272.2 MB, free: 11.57 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.09294, allocations: 48.38 kB / 272.2 MB, free: 11.52 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.09313, allocations: 124.9 kB / 272.3 MB, free: 11.36 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.09331, allocations: 59.94 kB / 272.4 MB, free: 11.3 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.09333, allocations: 4 kB / 272.4 MB, free: 11.3 MB / 234.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004559/0.09379, allocations: 205.5 kB / 272.6 MB, free: 11.09 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.09383, allocations: 8 kB / 272.6 MB, free: 11.08 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.09385, allocations: 0 / 272.6 MB, free: 11.08 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.09388, allocations: 8 kB / 272.6 MB, free: 11.07 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003057/0.09419, allocations: 43.92 kB / 272.6 MB, free: 11.03 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.09422, allocations: 4 kB / 272.7 MB, free: 11.03 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.09441, allocations: 31.67 kB / 272.7 MB, free: 11 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.09445, allocations: 16.3 kB / 272.7 MB, free: 10.98 MB / 234.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.0001364/0.0946, allocations: 133.8 kB / 272.8 MB, free: 10.84 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.09472, allocations: 19.81 kB / 272.8 MB, free: 10.82 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.182e-05/0.09479, allocations: 20.98 kB / 272.9 MB, free: 10.8 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.09481, allocations: 0 / 272.9 MB, free: 10.8 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.09482, allocations: 4 kB / 272.9 MB, free: 10.8 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.09484, allocations: 0 / 272.9 MB, free: 10.8 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006264/0.09547, allocations: 249.5 kB / 273.1 MB, free: 10.5 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.09549, allocations: 256 / 273.1 MB, free: 10.5 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003384/0.09584, allocations: 31.92 kB / 273.1 MB, free: 10.47 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/0.09586, allocations: 12 kB / 273.2 MB, free: 10.46 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.09589, allocations: 0 / 273.2 MB, free: 10.46 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.0959, allocations: 4 kB / 273.2 MB, free: 10.46 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.09591, allocations: 0 / 273.2 MB, free: 10.46 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004579/0.09638, allocations: 413.2 kB / 273.6 MB, free: 10.02 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.03e-05/0.09647, allocations: 100.9 kB / 273.7 MB, free: 9.906 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.547e-05/0.09653, allocations: 4.062 kB / 273.7 MB, free: 9.902 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.09676, allocations: 4 kB / 273.7 MB, free: 9.898 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.0968, allocations: 19.88 kB / 273.7 MB, free: 9.879 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.09683, allocations: 3.938 kB / 273.7 MB, free: 9.875 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001862/0.09702, allocations: 156.2 kB / 273.9 MB, free: 9.723 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.09703, allocations: 0 / 273.9 MB, free: 9.723 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005097/0.09755, allocations: 40 kB / 273.9 MB, free: 9.684 MB / 234.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.0001356/0.0977, allocations: 107.2 kB / 274 MB, free: 9.566 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003143/0.09803, allocations: 107.8 kB / 274.1 MB, free: 9.461 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.09804, allocations: 3.938 kB / 274.1 MB, free: 9.457 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 9.087e-05/0.09814, allocations: 39.92 kB / 274.1 MB, free: 9.418 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.09861, allocations: 24.67 kB / 274.2 MB, free: 9.395 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.1002, allocations: 0.7677 MB / 274.9 MB, free: 8.59 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.1005, allocations: 0.7362 MB / 275.7 MB, free: 7.828 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.37e-05/0.1006, allocations: 15.44 kB / 275.7 MB, free: 7.812 MB / 234.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1006, allocations: 0 / 275.7 MB, free: 7.812 MB / 234.7 MB Notification: Performance of Templates: time 0.005233/0.1059, allocations: 1.98 MB / 277.7 MB, free: 5.828 MB / 234.7 MB