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_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadModel(Modelica): time 1.818/1.818, allocations: 171.1 MB / 186.3 MB, free: 1.391 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.961e-05/2.976e-05, allocations: 0 / 228.1 MB, free: 7.973 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08564/0.0857, allocations: 38.77 MB / 266.9 MB, free: 1.121 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003144/0.08891, allocations: 1.847 MB / 268.7 MB, free: 15.26 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006832/0.08965, allocations: 231.5 kB / 269 MB, free: 15.03 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.08982, allocations: 11.94 kB / 269 MB, free: 15.02 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.253e-05/0.08992, allocations: 31.75 kB / 269 MB, free: 14.99 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002633/0.09019, allocations: 91.72 kB / 269.1 MB, free: 14.9 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.09038, allocations: 39.91 kB / 269.1 MB, free: 14.86 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003011/0.0907, allocations: 159.5 kB / 269.3 MB, free: 14.7 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/0.0909, allocations: 52.94 kB / 269.3 MB, free: 14.64 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.09103, allocations: 71.84 kB / 269.4 MB, free: 14.57 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001929/0.09123, allocations: 95.61 kB / 269.5 MB, free: 14.48 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.644e-05/0.0913, allocations: 8 kB / 269.5 MB, free: 14.47 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.688e-05/0.09135, allocations: 12 kB / 269.5 MB, free: 14.46 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.768e-05/0.09141, allocations: 31.84 kB / 269.6 MB, free: 14.43 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.682e-05/0.0915, allocations: 32 kB / 269.6 MB, free: 14.4 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.09181, allocations: 203.6 kB / 269.8 MB, free: 14.2 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.09182, allocations: 0 / 269.8 MB, free: 14.2 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.09184, allocations: 0 / 269.8 MB, free: 14.2 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.09186, allocations: 0 / 269.8 MB, free: 14.2 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009434/0.09281, allocations: 499.2 kB / 270.3 MB, free: 13.66 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.09287, allocations: 12.03 kB / 270.3 MB, free: 13.65 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.79e-05/0.09297, allocations: 27.66 kB / 270.3 MB, free: 13.62 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000368/0.09335, allocations: 243.2 kB / 270.5 MB, free: 13.34 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/0.09339, allocations: 20.52 kB / 270.6 MB, free: 13.32 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.139e-05/0.09348, allocations: 24 kB / 270.6 MB, free: 13.3 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005924/0.09408, allocations: 239.4 kB / 270.8 MB, free: 13.05 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.09412, allocations: 8 kB / 270.8 MB, free: 13.05 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.862e-05/0.09417, allocations: 8 kB / 270.8 MB, free: 13.04 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.09419, allocations: 8 kB / 270.8 MB, free: 13.03 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004449/0.09465, allocations: 157.7 kB / 271 MB, free: 12.88 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.09629, allocations: 0.8049 MB / 271.8 MB, free: 12.02 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007901/0.09714, allocations: 299.7 kB / 272.1 MB, free: 11.7 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.0972, allocations: 4 kB / 272.1 MB, free: 11.69 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.09725, allocations: 34.56 kB / 272.1 MB, free: 11.65 MB / 234.7 MB Notification: Performance of pre-optimization done (n=33): time 3.967e-06/0.09726, allocations: 224 / 272.1 MB, free: 11.65 MB / 234.7 MB Notification: Performance of matching and sorting (n=45): time 0.004062/0.1013, allocations: 1.936 MB / 274.1 MB, free: 9.445 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.557e-05/0.1015, allocations: 114.8 kB / 274.2 MB, free: 9.309 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.1017, allocations: 169.7 kB / 274.3 MB, free: 9.133 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.1018, allocations: 34.08 kB / 274.4 MB, free: 9.094 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.1019, allocations: 203 kB / 274.6 MB, free: 8.895 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.1021, allocations: 157.7 kB / 274.7 MB, free: 8.738 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.1021, allocations: 12 kB / 274.7 MB, free: 8.727 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1023, allocations: 330.8 kB / 275.1 MB, free: 8.395 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/0.1025, allocations: 88.84 kB / 275.2 MB, free: 8.309 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/0.1029, allocations: 154.3 kB / 275.3 MB, free: 8.137 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.1032, allocations: 114 kB / 275.4 MB, free: 8.027 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.1032, allocations: 4 kB / 275.4 MB, free: 8.023 MB / 234.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008468/0.1041, allocations: 336.3 kB / 275.8 MB, free: 7.691 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.1041, allocations: 4 kB / 275.8 MB, free: 7.688 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.1042, allocations: 0 / 275.8 MB, free: 7.688 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.1042, allocations: 4 kB / 275.8 MB, free: 7.684 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006806/0.1049, allocations: 95.89 kB / 275.9 MB, free: 7.59 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.1049, allocations: 4 kB / 275.9 MB, free: 7.586 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.1051, allocations: 15.94 kB / 275.9 MB, free: 7.57 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.1052, allocations: 12 kB / 275.9 MB, free: 7.559 MB / 234.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.0002223/0.1054, allocations: 161.8 kB / 276 MB, free: 7.391 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.1056, allocations: 31.73 kB / 276.1 MB, free: 7.359 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.1057, allocations: 33.88 kB / 276.1 MB, free: 7.324 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.1057, allocations: 8 kB / 276.1 MB, free: 7.316 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.1057, allocations: 0 / 276.1 MB, free: 7.316 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.1057, allocations: 3.984 kB / 276.1 MB, free: 7.312 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/0.1078, allocations: 1.048 MB / 277.2 MB, free: 6.18 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/0.1079, allocations: 7.984 kB / 277.2 MB, free: 6.172 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007506/0.1087, allocations: 83.91 kB / 277.3 MB, free: 6.09 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.541e-05/0.1087, allocations: 7.953 kB / 277.3 MB, free: 6.082 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.743e-05/0.1088, allocations: 12 kB / 277.3 MB, free: 6.07 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.467e-05/0.1088, allocations: 7.984 kB / 277.3 MB, free: 6.062 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.256e-06/0.1088, allocations: 7.938 kB / 277.3 MB, free: 6.055 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.1101, allocations: 0.8492 MB / 278.1 MB, free: 5.094 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.1102, allocations: 100.8 kB / 278.2 MB, free: 4.977 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.078e-05/0.1103, allocations: 16.06 kB / 278.3 MB, free: 4.961 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003391/0.1107, allocations: 11.95 kB / 278.3 MB, free: 4.949 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.384e-05/0.1107, allocations: 31.95 kB / 278.3 MB, free: 4.918 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.545e-05/0.1108, allocations: 16 kB / 278.3 MB, free: 4.902 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001812/0.111, allocations: 136.2 kB / 278.4 MB, free: 4.77 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.111, allocations: 0 / 278.4 MB, free: 4.77 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005943/0.1116, allocations: 72.09 kB / 278.5 MB, free: 4.699 MB / 234.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.0001852/0.1118, allocations: 123 kB / 278.6 MB, free: 4.57 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.000739/0.1126, allocations: 265.9 kB / 278.9 MB, free: 4.312 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.1126, allocations: 0 / 278.9 MB, free: 4.312 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003378/0.1129, allocations: 151.8 kB / 279 MB, free: 4.164 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007354/0.1137, allocations: 47.92 kB / 279.1 MB, free: 4.117 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.1161, allocations: 1.118 MB / 280.2 MB, free: 2.93 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.1165, allocations: 0.7725 MB / 281 MB, free: 2.129 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.1167, allocations: 35.38 kB / 281 MB, free: 2.094 MB / 234.7 MB Notification: Performance of SimCode: time 1.253e-06/0.1167, allocations: 0 / 281 MB, free: 2.094 MB / 234.7 MB Notification: Performance of Templates: time 0.008841/0.1256, allocations: 3.33 MB / 284.3 MB, free: 14.77 MB / 250.7 MB