Running command: translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadModel(Modelica): time 1.812/1.812, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.286e-05/3.287e-05, allocations: 4 kB / 228.1 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08423/0.08429, allocations: 38.77 MB / 266.9 MB, free: 492 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.00288/0.08723, allocations: 1.566 MB / 268.5 MB, free: 14.89 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.08836, allocations: 431.4 kB / 268.9 MB, free: 14.47 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.0885, allocations: 4 kB / 268.9 MB, free: 14.46 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.475e-05/0.08858, allocations: 19.84 kB / 268.9 MB, free: 14.45 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.08873, allocations: 35.84 kB / 269 MB, free: 14.41 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/0.08892, allocations: 31.97 kB / 269 MB, free: 14.38 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.08913, allocations: 75.78 kB / 269.1 MB, free: 14.3 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.0893, allocations: 36.59 kB / 269.1 MB, free: 14.27 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.08945, allocations: 51.91 kB / 269.1 MB, free: 14.21 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.08959, allocations: 47.83 kB / 269.2 MB, free: 14.17 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.101e-05/0.08963, allocations: 4 kB / 269.2 MB, free: 14.16 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.08966, allocations: 8 kB / 269.2 MB, free: 14.16 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.384e-05/0.08971, allocations: 23.86 kB / 269.2 MB, free: 14.13 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.544e-05/0.08976, allocations: 12 kB / 269.2 MB, free: 14.12 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.08997, allocations: 119.9 kB / 269.4 MB, free: 14 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.08998, allocations: 0 / 269.4 MB, free: 14 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.08999, allocations: 0 / 269.4 MB, free: 14 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.09001, allocations: 0 / 269.4 MB, free: 14 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007603/0.09078, allocations: 411 kB / 269.8 MB, free: 13.55 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.09085, allocations: 12.03 kB / 269.8 MB, free: 13.54 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.423e-05/0.09093, allocations: 19.81 kB / 269.8 MB, free: 13.52 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.09121, allocations: 210.6 kB / 270 MB, free: 13.28 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.09125, allocations: 16 kB / 270 MB, free: 13.26 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.236e-05/0.09132, allocations: 12 kB / 270 MB, free: 13.25 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004223/0.09175, allocations: 145.1 kB / 270.2 MB, free: 13.1 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.09179, allocations: 7.969 kB / 270.2 MB, free: 13.09 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.09183, allocations: 8 kB / 270.2 MB, free: 13.09 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.09185, allocations: 4 kB / 270.2 MB, free: 13.08 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003341/0.09219, allocations: 91.89 kB / 270.3 MB, free: 12.99 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.09342, allocations: 0.529 MB / 270.8 MB, free: 12.41 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.0937, allocations: 82.55 kB / 270.9 MB, free: 12.32 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.09373, allocations: 0 / 270.9 MB, free: 12.32 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.09378, allocations: 34.56 kB / 270.9 MB, free: 12.27 MB / 234.7 MB Notification: Performance of pre-optimization done (n=9): time 1.773e-06/0.09379, allocations: 0 / 270.9 MB, free: 12.27 MB / 234.7 MB Notification: Performance of matching and sorting (n=11): time 0.001484/0.09528, allocations: 0.6101 MB / 271.5 MB, free: 11.57 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.09536, allocations: 51.41 kB / 271.6 MB, free: 11.51 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.09552, allocations: 125.2 kB / 271.7 MB, free: 11.38 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.09556, allocations: 30.73 kB / 271.7 MB, free: 11.34 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.09567, allocations: 132 kB / 271.9 MB, free: 11.21 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.195e-05/0.09573, allocations: 35.47 kB / 271.9 MB, free: 11.17 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.09575, allocations: 4 kB / 271.9 MB, free: 11.17 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.09591, allocations: 322.8 kB / 272.2 MB, free: 10.84 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.09605, allocations: 31.98 kB / 272.2 MB, free: 10.81 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.09626, allocations: 94.77 kB / 272.3 MB, free: 10.7 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.09645, allocations: 51.86 kB / 272.4 MB, free: 10.64 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.09646, allocations: 0 / 272.4 MB, free: 10.64 MB / 234.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004598/0.09693, allocations: 161.3 kB / 272.5 MB, free: 10.48 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.09698, allocations: 9.359 kB / 272.5 MB, free: 10.47 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.097, allocations: 4 kB / 272.6 MB, free: 10.47 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.09703, allocations: 4 kB / 272.6 MB, free: 10.46 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.09734, allocations: 39.91 kB / 272.6 MB, free: 10.43 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.09737, allocations: 4 kB / 272.6 MB, free: 10.42 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.09751, allocations: 12.19 kB / 272.6 MB, free: 10.41 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.09754, allocations: 4 kB / 272.6 MB, free: 10.41 MB / 234.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.0001592/0.09771, allocations: 133.7 kB / 272.7 MB, free: 10.27 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.915e-05/0.09777, allocations: 7.906 kB / 272.8 MB, free: 10.26 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.452e-05/0.09783, allocations: 20.66 kB / 272.8 MB, free: 10.24 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.09785, allocations: 0 / 272.8 MB, free: 10.24 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.09786, allocations: 0 / 272.8 MB, free: 10.24 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.09787, allocations: 0 / 272.8 MB, free: 10.24 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009173/0.0988, allocations: 448 kB / 273.2 MB, free: 9.738 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.09883, allocations: 4 kB / 273.2 MB, free: 9.734 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.09909, allocations: 28.03 kB / 273.2 MB, free: 9.707 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.09912, allocations: 3.984 kB / 273.2 MB, free: 9.703 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.09915, allocations: 8.062 kB / 273.3 MB, free: 9.695 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.09916, allocations: 0 / 273.3 MB, free: 9.695 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.09917, allocations: 0 / 273.3 MB, free: 9.695 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005604/0.09974, allocations: 284.4 kB / 273.5 MB, free: 9.383 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.968e-05/0.09985, allocations: 85.05 kB / 273.6 MB, free: 9.281 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/0.09989, allocations: 11.98 kB / 273.6 MB, free: 9.27 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.1, allocations: 4.188 kB / 273.6 MB, free: 9.266 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.1001, allocations: 4 kB / 273.6 MB, free: 9.262 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.1001, allocations: 11.92 kB / 273.6 MB, free: 9.25 MB / 234.7 MB Notification: Performance of sorting global known variables: time 9.629e-05/0.1002, allocations: 103.8 kB / 273.7 MB, free: 9.148 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1002, allocations: 4.062 kB / 273.8 MB, free: 9.145 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0003618/0.1006, allocations: 28 kB / 273.8 MB, free: 9.117 MB / 234.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.000147/0.1008, allocations: 99.19 kB / 273.9 MB, free: 9.012 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003595/0.1011, allocations: 95.83 kB / 274 MB, free: 8.918 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1012, allocations: 384 / 274 MB, free: 8.918 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001403/0.1013, allocations: 47.92 kB / 274 MB, free: 8.871 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.1016, allocations: 8 kB / 274 MB, free: 8.863 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.1028, allocations: 0.5117 MB / 274.5 MB, free: 8.324 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.1033, allocations: 0.7199 MB / 275.3 MB, free: 7.578 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0001116/0.1034, allocations: 12.88 kB / 275.3 MB, free: 7.562 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.744e-05/0.1035, allocations: 11.44 kB / 275.3 MB, free: 7.551 MB / 234.7 MB Notification: Performance of SimCode: time 9.41e-07/0.1035, allocations: 0 / 275.3 MB, free: 7.551 MB / 234.7 MB Notification: Performance of Templates: time 0.004701/0.1082, allocations: 0.7699 MB / 276 MB, free: 6.785 MB / 234.7 MB