Running command: translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadModel(Modelica): time 2.036/2.036, allocations: 224.7 MB / 241.1 MB, free: 1.652 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.901e-05/2.893e-05, allocations: 4 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1085, allocations: 50.41 MB / 345 MB, free: 8.938 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003085/0.1117, allocations: 1.891 MB / 346.9 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007013/0.1124, allocations: 231.2 kB / 347.1 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.1126, allocations: 11.94 kB / 347.1 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.905e-05/0.1127, allocations: 27.77 kB / 347.1 MB, free: 6.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002637/0.113, allocations: 91.77 kB / 347.2 MB, free: 6.68 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.1131, allocations: 43.89 kB / 347.3 MB, free: 6.637 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002958/0.1134, allocations: 147.7 kB / 347.4 MB, free: 6.492 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.1136, allocations: 52.94 kB / 347.5 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.1138, allocations: 75.83 kB / 347.5 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.114, allocations: 91.67 kB / 347.6 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.584e-05/0.114, allocations: 11.94 kB / 347.6 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.626e-05/0.1141, allocations: 12 kB / 347.6 MB, free: 6.254 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.462e-05/0.1141, allocations: 35.84 kB / 347.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.463e-05/0.1142, allocations: 28 kB / 347.7 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003089/0.1145, allocations: 207.7 kB / 347.9 MB, free: 5.988 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1145, allocations: 0 / 347.9 MB, free: 5.988 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1146, allocations: 3.938 kB / 347.9 MB, free: 5.984 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.1146, allocations: 0 / 347.9 MB, free: 5.984 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009035/0.1155, allocations: 495.2 kB / 348.4 MB, free: 5.449 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.1156, allocations: 16.02 kB / 348.4 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.005e-05/0.1157, allocations: 27.67 kB / 348.4 MB, free: 5.406 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.116, allocations: 236 kB / 348.7 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.116, allocations: 20.55 kB / 348.7 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.294e-05/0.1161, allocations: 27.91 kB / 348.7 MB, free: 5.086 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005703/0.1167, allocations: 235.5 kB / 349 MB, free: 4.844 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/0.1168, allocations: 11.92 kB / 349 MB, free: 4.832 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/0.1168, allocations: 8 kB / 349 MB, free: 4.824 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.1168, allocations: 11.95 kB / 349 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004356/0.1173, allocations: 151.9 kB / 349.1 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.1188, allocations: 0.8086 MB / 349.9 MB, free: 3.797 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007576/0.1196, allocations: 299.6 kB / 350.2 MB, free: 3.477 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.1196, allocations: 4 kB / 350.2 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.1197, allocations: 34.56 kB / 350.3 MB, free: 3.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 3.096e-06/0.1197, allocations: 0 / 350.3 MB, free: 3.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.00401/0.1237, allocations: 1.947 MB / 352.2 MB, free: 1.219 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.822e-05/0.1238, allocations: 107 kB / 352.3 MB, free: 1.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.1241, allocations: 166.5 kB / 352.5 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.1241, allocations: 37.64 kB / 352.5 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.1243, allocations: 203.1 kB / 352.7 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.1244, allocations: 153.7 kB / 352.9 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.481e-05/0.1245, allocations: 12 kB / 352.9 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1246, allocations: 334.8 kB / 353.2 MB, free: 176 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/0.1249, allocations: 80.84 kB / 353.3 MB, free: 92 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003369/0.1252, allocations: 158.3 kB / 353.4 MB, free: 15.92 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.1256, allocations: 114.7 kB / 353.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.1256, allocations: 8 kB / 353.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008062/0.1264, allocations: 336 kB / 353.9 MB, free: 15.47 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.1264, allocations: 4 kB / 353.9 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.1265, allocations: 4 kB / 353.9 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.408e-05/0.1265, allocations: 0 / 353.9 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006569/0.1272, allocations: 99.84 kB / 354 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/0.1272, allocations: 4 kB / 354 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.1274, allocations: 8 kB / 354 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.436e-05/0.1275, allocations: 12.09 kB / 354 MB, free: 15.34 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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.0002077/0.1277, allocations: 161.7 kB / 354.2 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.1278, allocations: 23.72 kB / 354.2 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.128, allocations: 37.86 kB / 354.2 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.128, allocations: 8 kB / 354.2 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.128, allocations: 3.953 kB / 354.2 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.128, allocations: 3.984 kB / 354.3 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/0.1301, allocations: 1.039 MB / 355.3 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.1301, allocations: 4 kB / 355.3 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007544/0.1309, allocations: 95.83 kB / 355.4 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.29e-05/0.1309, allocations: 4 kB / 355.4 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.668e-05/0.131, allocations: 12 kB / 355.4 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.788e-06/0.131, allocations: 4 kB / 355.4 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.131, allocations: 8.219 kB / 355.4 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.1323, allocations: 0.8641 MB / 356.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.1324, allocations: 104.9 kB / 356.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.569e-05/0.1325, allocations: 12 kB / 356.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003225/0.1328, allocations: 12 kB / 356.4 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.807e-05/0.1329, allocations: 36.02 kB / 356.4 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-05/0.1329, allocations: 15.94 kB / 356.5 MB, free: 12.67 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001626/0.1331, allocations: 144.2 kB / 356.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.1331, allocations: 0 / 356.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005756/0.1337, allocations: 72 kB / 356.7 MB, free: 12.46 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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.0001664/0.1339, allocations: 111.1 kB / 356.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007144/0.1346, allocations: 267.7 kB / 357 MB, free: 12.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.1346, allocations: 0 / 357 MB, free: 12.08 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003212/0.135, allocations: 143.7 kB / 357.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007013/0.1357, allocations: 52.94 kB / 357.2 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.138, allocations: 1.102 MB / 358.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/0.1385, allocations: 0.7764 MB / 359.1 MB, free: 9.922 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/0.1387, allocations: 27.44 kB / 359.1 MB, free: 9.895 MB / 298.7 MB Notification: Performance of SimCode: time 4.097e-06/0.1387, allocations: 0 / 359.1 MB, free: 9.895 MB / 298.7 MB Notification: Performance of Templates: time 0.008699/0.1474, allocations: 3.348 MB / 362.5 MB, free: 6.551 MB / 298.7 MB