Running command: translateModel(Modelica.Mechanics.Translational.Examples.SignConvention,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Mechanics.Translational.Examples.SignConvention") Notification: Performance of loadModel(Modelica): time 1.042/1.042, allocations: 111.1 MB / 126.3 MB, free: 6.414 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.2e-05/2.19e-05, allocations: 0 / 154.5 MB, free: 2.84 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1037, allocations: 25.18 MB / 179.7 MB, free: 9.617 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.SignConvention): time 0.002601/0.1063, allocations: 1.503 MB / 181.2 MB, free: 8.109 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.000454/0.1068, allocations: 155.7 kB / 181.3 MB, free: 7.957 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.107, allocations: 11.88 kB / 181.4 MB, free: 7.945 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 5.644e-05/0.107, allocations: 19.84 kB / 181.4 MB, free: 7.926 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.1072, allocations: 51.88 kB / 181.4 MB, free: 7.875 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.1074, allocations: 27.97 kB / 181.5 MB, free: 7.848 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.1076, allocations: 99.75 kB / 181.5 MB, free: 7.75 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.1078, allocations: 32.52 kB / 181.6 MB, free: 7.715 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.309e-05/0.1079, allocations: 51.84 kB / 181.6 MB, free: 7.664 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.1081, allocations: 55.77 kB / 181.7 MB, free: 7.609 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.154e-05/0.1081, allocations: 8 kB / 181.7 MB, free: 7.602 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.1082, allocations: 4 kB / 181.7 MB, free: 7.598 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 4.203e-05/0.1082, allocations: 23.91 kB / 181.7 MB, free: 7.574 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 5.471e-05/0.1083, allocations: 16 kB / 181.7 MB, free: 7.559 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.1085, allocations: 131.9 kB / 181.9 MB, free: 7.43 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1086, allocations: 4 kB / 181.9 MB, free: 7.426 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.1086, allocations: 0 / 181.9 MB, free: 7.426 MB / 154.7 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.1086, allocations: 0 / 181.9 MB, free: 7.426 MB / 154.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.000803/0.1094, allocations: 423.3 kB / 182.3 MB, free: 6.965 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.1095, allocations: 12.03 kB / 182.3 MB, free: 6.953 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.057e-05/0.1095, allocations: 19.75 kB / 182.3 MB, free: 6.934 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.1099, allocations: 222.7 kB / 182.5 MB, free: 6.676 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.1099, allocations: 13.08 kB / 182.5 MB, free: 6.664 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.092e-05/0.11, allocations: 20 kB / 182.6 MB, free: 6.645 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004331/0.1104, allocations: 180.1 kB / 182.7 MB, free: 6.453 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.101e-05/0.1105, allocations: 11.84 kB / 182.8 MB, free: 6.441 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/0.1105, allocations: 8 kB / 182.8 MB, free: 6.434 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.1105, allocations: 4 kB / 182.8 MB, free: 6.43 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000299/0.1108, allocations: 103.9 kB / 182.9 MB, free: 6.328 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/0.1125, allocations: 0.7717 MB / 183.6 MB, free: 5.488 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.1128, allocations: 111.7 kB / 183.7 MB, free: 5.352 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.1128, allocations: 4.031 kB / 183.7 MB, free: 5.348 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.1129, allocations: 38.69 kB / 183.8 MB, free: 5.301 MB / 154.7 MB Notification: Performance of pre-optimization done (n=13): time 5.571e-06/0.1129, allocations: 0 / 183.8 MB, free: 5.301 MB / 154.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004497/0.1133, allocations: 141.4 kB / 183.9 MB, free: 5.156 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/0.1134, allocations: 106.8 kB / 184 MB, free: 5.027 MB / 154.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/0.1137, allocations: 194.1 kB / 184.2 MB, free: 4.828 MB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.1137, allocations: 25.7 kB / 184.2 MB, free: 4.797 MB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.1139, allocations: 194.4 kB / 184.4 MB, free: 4.602 MB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.232e-05/0.114, allocations: 59.19 kB / 184.5 MB, free: 4.543 MB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.244e-05/0.114, allocations: 4 kB / 184.5 MB, free: 4.539 MB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1141, allocations: 330.8 kB / 184.8 MB, free: 4.207 MB / 154.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.1143, allocations: 36.45 kB / 184.9 MB, free: 4.168 MB / 154.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.1145, allocations: 129.2 kB / 185 MB, free: 4 MB / 154.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.1147, allocations: 52.31 kB / 185 MB, free: 3.949 MB / 154.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.1147, allocations: 7.953 kB / 185 MB, free: 3.941 MB / 154.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004703/0.1152, allocations: 205.2 kB / 185.2 MB, free: 3.734 MB / 154.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.1152, allocations: 4 kB / 185.2 MB, free: 3.73 MB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.1152, allocations: 4 kB / 185.2 MB, free: 3.727 MB / 154.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.1153, allocations: 4 kB / 185.3 MB, free: 3.723 MB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.1156, allocations: 44.27 kB / 185.3 MB, free: 3.68 MB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.1156, allocations: 15.98 kB / 185.3 MB, free: 3.664 MB / 154.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.1158, allocations: 24 kB / 185.3 MB, free: 3.641 MB / 154.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.1158, allocations: 12 kB / 185.3 MB, free: 3.629 MB / 154.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.0001471/0.116, allocations: 133.7 kB / 185.5 MB, free: 3.488 MB / 154.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.98e-05/0.1161, allocations: 19.77 kB / 185.5 MB, free: 3.469 MB / 154.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.883e-05/0.1162, allocations: 24.98 kB / 185.5 MB, free: 3.441 MB / 154.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1162, allocations: 4 kB / 185.5 MB, free: 3.438 MB / 154.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1162, allocations: 0 / 185.5 MB, free: 3.438 MB / 154.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.1162, allocations: 0 / 185.5 MB, free: 3.438 MB / 154.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006297/0.1169, allocations: 249.4 kB / 185.8 MB, free: 3.145 MB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1169, allocations: 4 kB / 185.8 MB, free: 3.141 MB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003285/0.1172, allocations: 35.94 kB / 185.8 MB, free: 3.105 MB / 154.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1172, allocations: 0 / 185.8 MB, free: 3.105 MB / 154.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.1173, allocations: 4 kB / 185.8 MB, free: 3.102 MB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1173, allocations: 0 / 185.8 MB, free: 3.102 MB / 154.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1173, allocations: 0 / 185.8 MB, free: 3.102 MB / 154.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004877/0.1178, allocations: 425.2 kB / 186.2 MB, free: 2.656 MB / 154.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.077e-05/0.1179, allocations: 96.84 kB / 186.3 MB, free: 2.543 MB / 154.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.856e-05/0.1179, allocations: 4.062 kB / 186.3 MB, free: 2.539 MB / 154.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.1182, allocations: 7.938 kB / 186.3 MB, free: 2.531 MB / 154.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.891e-05/0.1182, allocations: 7.984 kB / 186.3 MB, free: 2.523 MB / 154.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.1182, allocations: 4 kB / 186.3 MB, free: 2.52 MB / 154.7 MB Notification: Performance of sorting global known variables: time 0.0002131/0.1184, allocations: 160.4 kB / 186.5 MB, free: 2.363 MB / 154.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.1185, allocations: 0 / 186.5 MB, free: 2.363 MB / 154.7 MB Notification: Performance of remove unused functions: time 0.0004826/0.119, allocations: 39.91 kB / 186.5 MB, free: 2.324 MB / 154.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.0001342/0.1191, allocations: 107.1 kB / 186.6 MB, free: 2.211 MB / 154.7 MB Notification: Performance of simCode: created initialization part: time 0.0003248/0.1194, allocations: 107.8 kB / 186.7 MB, free: 2.105 MB / 154.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1195, allocations: 0.6875 kB / 186.7 MB, free: 2.105 MB / 154.7 MB Notification: Performance of simCode: created simulation system equations: time 9.345e-05/0.1196, allocations: 39.92 kB / 186.8 MB, free: 2.066 MB / 154.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/0.12, allocations: 31.86 kB / 186.8 MB, free: 2.035 MB / 154.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.1217, allocations: 0.7757 MB / 187.6 MB, free: 1.219 MB / 154.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.1221, allocations: 0.7284 MB / 188.3 MB, free: 476 kB / 154.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.339e-05/0.1221, allocations: 23.38 kB / 188.3 MB, free: 452 kB / 154.7 MB Notification: Performance of SimCode: time 8.72e-07/0.1222, allocations: 4 kB / 188.3 MB, free: 448 kB / 154.7 MB Notification: Performance of Templates: time 0.00541/0.1276, allocations: 1.972 MB / 190.3 MB, free: 14.46 MB / 170.7 MB