Running command: translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadModel(Modelica): time 2.072/2.072, allocations: 224.7 MB / 241.1 MB, free: 1.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.994e-05/3.003e-05, allocations: 4 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1116, allocations: 50.42 MB / 345 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002824/0.1145, allocations: 1.592 MB / 346.6 MB, free: 7.328 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.1155, allocations: 411.2 kB / 347 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.537e-05/0.1156, allocations: 4 kB / 347 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.062e-05/0.1157, allocations: 19.84 kB / 347 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001281/0.1158, allocations: 27.92 kB / 347 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.116, allocations: 31.97 kB / 347.1 MB, free: 6.84 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001876/0.1162, allocations: 75.84 kB / 347.1 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.1164, allocations: 44.44 kB / 347.2 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.1166, allocations: 39.86 kB / 347.2 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.1167, allocations: 51.83 kB / 347.3 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.068e-05/0.1167, allocations: 4 kB / 347.3 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.1168, allocations: 4 kB / 347.3 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.429e-05/0.1168, allocations: 27.92 kB / 347.3 MB, free: 6.598 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.088e-05/0.1169, allocations: 12 kB / 347.3 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.1171, allocations: 119.9 kB / 347.4 MB, free: 6.469 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1171, allocations: 0 / 347.4 MB, free: 6.469 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1171, allocations: 3.938 kB / 347.4 MB, free: 6.465 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.1172, allocations: 0 / 347.4 MB, free: 6.465 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007226/0.1179, allocations: 411 kB / 347.8 MB, free: 6.016 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.1179, allocations: 8.031 kB / 347.8 MB, free: 6.008 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.378e-05/0.118, allocations: 23.77 kB / 347.9 MB, free: 5.984 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.1183, allocations: 198.8 kB / 348.1 MB, free: 5.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.1183, allocations: 12 kB / 348.1 MB, free: 5.738 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.029e-05/0.1184, allocations: 23.91 kB / 348.1 MB, free: 5.715 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000424/0.1188, allocations: 133.6 kB / 348.2 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.1189, allocations: 4 kB / 348.2 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.1189, allocations: 4 kB / 348.2 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.1189, allocations: 11.94 kB / 348.2 MB, free: 5.559 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000332/0.1193, allocations: 95.7 kB / 348.3 MB, free: 5.465 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.1204, allocations: 0.5367 MB / 348.9 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.1207, allocations: 82.44 kB / 349 MB, free: 4.781 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.1207, allocations: 0 / 349 MB, free: 4.781 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.1207, allocations: 34.56 kB / 349 MB, free: 4.738 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.853e-06/0.1208, allocations: 4 kB / 349 MB, free: 4.734 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.001447/0.1222, allocations: 0.5955 MB / 349.6 MB, free: 4.047 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.1223, allocations: 55.41 kB / 349.6 MB, free: 3.98 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.1224, allocations: 124.8 kB / 349.8 MB, free: 3.852 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1225, allocations: 29.92 kB / 349.8 MB, free: 3.816 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.1226, allocations: 198.4 kB / 350 MB, free: 3.621 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/0.1227, allocations: 47.38 kB / 350 MB, free: 3.574 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-06/0.1227, allocations: 3.938 kB / 350 MB, free: 3.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1228, allocations: 322.8 kB / 350.3 MB, free: 3.246 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.123, allocations: 31.98 kB / 350.4 MB, free: 3.215 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.1232, allocations: 86.8 kB / 350.5 MB, free: 3.105 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.1234, allocations: 48 kB / 350.5 MB, free: 3.059 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.1234, allocations: 0 / 350.5 MB, free: 3.059 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004314/0.1238, allocations: 157.5 kB / 350.7 MB, free: 2.898 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.1239, allocations: 12 kB / 350.7 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1239, allocations: 0 / 350.7 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.1239, allocations: 4 kB / 350.7 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.1242, allocations: 35.98 kB / 350.7 MB, free: 2.848 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.1242, allocations: 7.938 kB / 350.7 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.1244, allocations: 4 kB / 350.7 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.1244, allocations: 12 kB / 350.7 MB, free: 2.824 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001374/0.1245, allocations: 125.8 kB / 350.9 MB, free: 2.691 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.1246, allocations: 11.91 kB / 350.9 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.12e-05/0.1247, allocations: 16.38 kB / 350.9 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1247, allocations: 0 / 350.9 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1247, allocations: 0 / 350.9 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.1247, allocations: 0 / 350.9 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008338/0.1255, allocations: 455.9 kB / 351.3 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1256, allocations: 0 / 351.3 MB, free: 2.156 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/0.1258, allocations: 27.92 kB / 351.4 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.1258, allocations: 0 / 351.4 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.1259, allocations: 4.188 kB / 351.4 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.1259, allocations: 0 / 351.4 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1259, allocations: 3.938 kB / 351.4 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005468/0.1265, allocations: 292.5 kB / 351.7 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.668e-05/0.1265, allocations: 85.02 kB / 351.7 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/0.1266, allocations: 4 kB / 351.7 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.1267, allocations: 20 kB / 351.8 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.1268, allocations: 4 kB / 351.8 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.1268, allocations: 0 / 351.8 MB, free: 1.672 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.532e-05/0.1269, allocations: 103.8 kB / 351.9 MB, free: 1.57 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1269, allocations: 0 / 351.9 MB, free: 1.57 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003593/0.1273, allocations: 28 kB / 351.9 MB, free: 1.543 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mass.s,mass.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001427/0.1274, allocations: 95.25 kB / 352 MB, free: 1.438 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003422/0.1278, allocations: 99.84 kB / 352.1 MB, free: 1.34 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.1278, allocations: 0 / 352.1 MB, free: 1.34 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.128, allocations: 35.92 kB / 352.1 MB, free: 1.305 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.1282, allocations: 12.62 kB / 352.1 MB, free: 1.293 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.1294, allocations: 0.5468 MB / 352.7 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.1299, allocations: 0.72 MB / 353.4 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.86e-05/0.13, allocations: 15.44 kB / 353.4 MB, free: 15.95 MB / 298.7 MB Notification: Performance of SimCode: time 8.92e-07/0.13, allocations: 0 / 353.4 MB, free: 15.95 MB / 298.7 MB Notification: Performance of Templates: time 0.004253/0.1342, allocations: 1.41 MB / 354.8 MB, free: 14.54 MB / 298.7 MB