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_cpp_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadModel(Modelica): time 2.182/2.182, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.622e-05/2.613e-05, allocations: 0 / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1141, allocations: 50.41 MB / 345 MB, free: 8.953 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002879/0.117, allocations: 1.674 MB / 346.6 MB, free: 7.266 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004841/0.1176, allocations: 159.4 kB / 346.8 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.1177, allocations: 8 kB / 346.8 MB, free: 7.102 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.438e-05/0.1178, allocations: 15.84 kB / 346.8 MB, free: 7.086 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002072/0.118, allocations: 55.81 kB / 346.9 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001589/0.1182, allocations: 31.92 kB / 346.9 MB, free: 7 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002467/0.1184, allocations: 103.7 kB / 347 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.1186, allocations: 28.25 kB / 347 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.075e-05/0.1187, allocations: 51.89 kB / 347.1 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.1189, allocations: 51.78 kB / 347.1 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.853e-05/0.1189, allocations: 4 kB / 347.1 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.1189, allocations: 8 kB / 347.2 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.442e-05/0.119, allocations: 23.91 kB / 347.2 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.007e-05/0.119, allocations: 16 kB / 347.2 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.1193, allocations: 131.9 kB / 347.3 MB, free: 6.586 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1193, allocations: 0 / 347.3 MB, free: 6.586 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.09e-06/0.1193, allocations: 0 / 347.3 MB, free: 6.586 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.1193, allocations: 3.938 kB / 347.3 MB, free: 6.582 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007335/0.1201, allocations: 423 kB / 347.7 MB, free: 6.121 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.1201, allocations: 8.031 kB / 347.7 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.04e-05/0.1202, allocations: 23.72 kB / 347.8 MB, free: 6.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.1205, allocations: 218.7 kB / 348 MB, free: 5.836 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.1205, allocations: 12 kB / 348 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.696e-05/0.1206, allocations: 20 kB / 348 MB, free: 5.805 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004203/0.121, allocations: 181.6 kB / 348.2 MB, free: 5.605 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.1211, allocations: 0 / 348.2 MB, free: 5.605 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/0.1211, allocations: 4 kB / 348.2 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.1211, allocations: 15.95 kB / 348.2 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.1214, allocations: 99.88 kB / 348.3 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.1233, allocations: 0.9546 MB / 349.3 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.1236, allocations: 99.69 kB / 349.4 MB, free: 4.324 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.1236, allocations: 8 kB / 349.4 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.1236, allocations: 38.73 kB / 349.4 MB, free: 4.27 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 3.276e-06/0.1237, allocations: 0 / 349.4 MB, free: 4.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004339/0.1241, allocations: 129.8 kB / 349.5 MB, free: 4.137 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.079e-05/0.1242, allocations: 110.8 kB / 349.6 MB, free: 4.004 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/0.1244, allocations: 186.8 kB / 349.8 MB, free: 3.812 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.1245, allocations: 33.7 kB / 349.9 MB, free: 3.773 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.1246, allocations: 198.3 kB / 350 MB, free: 3.578 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.161e-05/0.1247, allocations: 55.23 kB / 350.1 MB, free: 3.523 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.233e-05/0.1247, allocations: 4 kB / 350.1 MB, free: 3.52 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1249, allocations: 322.8 kB / 350.4 MB, free: 3.195 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.125, allocations: 36.45 kB / 350.5 MB, free: 3.156 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.1252, allocations: 139.4 kB / 350.6 MB, free: 2.973 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.1254, allocations: 55.94 kB / 350.6 MB, free: 2.918 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.1254, allocations: 4 kB / 350.7 MB, free: 2.914 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000533/0.1259, allocations: 209.4 kB / 350.9 MB, free: 2.703 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.126, allocations: 8 kB / 350.9 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.126, allocations: 3.938 kB / 350.9 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.126, allocations: 8 kB / 350.9 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/0.1264, allocations: 55.91 kB / 350.9 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.1264, allocations: 4 kB / 350.9 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002049/0.1266, allocations: 27.69 kB / 351 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.1266, allocations: 8 kB / 351 MB, free: 2.59 MB / 282.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 0.0001602/0.1268, allocations: 141.1 kB / 351.1 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.661e-05/0.1269, allocations: 23.77 kB / 351.1 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.715e-05/0.127, allocations: 24.92 kB / 351.2 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.127, allocations: 0 / 351.2 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.127, allocations: 4 kB / 351.2 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.127, allocations: 0 / 351.2 MB, free: 2.387 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006432/0.1277, allocations: 241.4 kB / 351.4 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.1277, allocations: 4 kB / 351.4 MB, free: 2.098 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000324/0.1281, allocations: 31.92 kB / 351.4 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.1281, allocations: 3.938 kB / 351.4 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.1281, allocations: 11.95 kB / 351.4 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.1281, allocations: 0 / 351.4 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1281, allocations: 0 / 351.4 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005009/0.1286, allocations: 409.2 kB / 351.8 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.745e-05/0.1288, allocations: 93.2 kB / 351.9 MB, free: 1.512 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.805e-05/0.1288, allocations: 12.05 kB / 351.9 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.129, allocations: 0 / 351.9 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.1291, allocations: 8 kB / 352 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.1291, allocations: 11.97 kB / 352 MB, free: 1.48 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000194/0.1293, allocations: 149.5 kB / 352.1 MB, free: 1.336 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1293, allocations: 0 / 352.1 MB, free: 1.336 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005016/0.1298, allocations: 36 kB / 352.1 MB, free: 1.301 MB / 282.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.0001623/0.13, allocations: 107.2 kB / 352.3 MB, free: 1.188 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003316/0.1304, allocations: 103.8 kB / 352.4 MB, free: 1.086 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.1304, allocations: 0 / 352.4 MB, free: 1.086 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.44e-05/0.1305, allocations: 35.92 kB / 352.4 MB, free: 1.051 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004972/0.131, allocations: 28.75 kB / 352.4 MB, free: 1.023 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.1325, allocations: 0.7752 MB / 353.2 MB, free: 212 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.1329, allocations: 0.7284 MB / 353.9 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.309e-05/0.133, allocations: 19.44 kB / 353.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of SimCode: time 4.068e-06/0.133, allocations: 0 / 353.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of Templates: time 0.005382/0.1384, allocations: 1.936 MB / 355.9 MB, free: 13.5 MB / 298.7 MB