Running command: translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadModel(Modelica): time 1.724/1.724, allocations: 171.2 MB / 185.7 MB, free: 1.387 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.866e-05/2.887e-05, allocations: 7.984 kB / 228.1 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08274/0.08279, allocations: 38.76 MB / 266.9 MB, free: 500 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.00414/0.08699, allocations: 1.894 MB / 268.8 MB, free: 14.57 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.08857, allocations: 0.503 MB / 269.3 MB, free: 14.07 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001744/0.08877, allocations: 7.938 kB / 269.3 MB, free: 14.06 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.655e-05/0.08889, allocations: 27.83 kB / 269.3 MB, free: 14.03 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003159/0.08922, allocations: 71.75 kB / 269.4 MB, free: 13.96 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.08952, allocations: 47.95 kB / 269.5 MB, free: 13.91 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004078/0.08994, allocations: 135.6 kB / 269.6 MB, free: 13.78 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002261/0.09019, allocations: 52.92 kB / 269.6 MB, free: 13.73 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002166/0.09043, allocations: 71.83 kB / 269.7 MB, free: 13.66 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.09069, allocations: 79.69 kB / 269.8 MB, free: 13.58 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.241e-05/0.09078, allocations: 8 kB / 269.8 MB, free: 13.57 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.758e-05/0.09084, allocations: 8 kB / 269.8 MB, free: 13.56 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.174e-05/0.09093, allocations: 39.84 kB / 269.8 MB, free: 13.52 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.839e-05/0.09104, allocations: 20 kB / 269.9 MB, free: 13.5 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003813/0.09144, allocations: 179.7 kB / 270 MB, free: 13.33 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.09146, allocations: 0 / 270 MB, free: 13.33 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.09148, allocations: 0 / 270 MB, free: 13.33 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.0915, allocations: 0 / 270 MB, free: 13.33 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001264/0.09278, allocations: 495.1 kB / 270.5 MB, free: 12.8 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.09285, allocations: 12.03 kB / 270.5 MB, free: 12.79 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/0.09298, allocations: 23.72 kB / 270.6 MB, free: 12.76 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004361/0.09343, allocations: 226.6 kB / 270.8 MB, free: 12.5 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/0.09349, allocations: 16.44 kB / 270.8 MB, free: 12.48 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.823e-05/0.09358, allocations: 16 kB / 270.8 MB, free: 12.47 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008726/0.09447, allocations: 233.3 kB / 271 MB, free: 12.23 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.09451, allocations: 3.938 kB / 271 MB, free: 12.22 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.072e-05/0.09457, allocations: 4 kB / 271 MB, free: 12.22 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.09459, allocations: 8 kB / 271.1 MB, free: 12.21 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007632/0.09537, allocations: 156.4 kB / 271.2 MB, free: 12.06 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/0.09763, allocations: 0.8035 MB / 272 MB, free: 11.19 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008243/0.09848, allocations: 213 kB / 272.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.572e-05/0.09854, allocations: 0 / 272.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.09859, allocations: 38.56 kB / 272.3 MB, free: 10.92 MB / 234.7 MB Notification: Performance of pre-optimization done (n=22): time 2.405e-06/0.09861, allocations: 3.938 kB / 272.3 MB, free: 10.91 MB / 234.7 MB Notification: Performance of matching and sorting (n=26): time 0.003109/0.1017, allocations: 0.88 MB / 273.1 MB, free: 9.941 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.057e-05/0.1019, allocations: 85.11 kB / 273.2 MB, free: 9.84 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/0.1022, allocations: 157.7 kB / 273.4 MB, free: 9.676 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/0.1022, allocations: 29.7 kB / 273.4 MB, free: 9.641 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.1024, allocations: 148.3 kB / 273.6 MB, free: 9.492 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.1026, allocations: 98.73 kB / 273.6 MB, free: 9.395 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.1026, allocations: 4 kB / 273.7 MB, free: 9.391 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.1028, allocations: 330.8 kB / 274 MB, free: 9.059 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/0.1032, allocations: 71.97 kB / 274 MB, free: 8.988 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004168/0.1036, allocations: 108.2 kB / 274.2 MB, free: 8.867 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004199/0.1041, allocations: 83.98 kB / 274.2 MB, free: 8.785 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1041, allocations: 0 / 274.2 MB, free: 8.785 MB / 234.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001051/0.1052, allocations: 247.6 kB / 274.5 MB, free: 8.539 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.1052, allocations: 14.12 kB / 274.5 MB, free: 8.527 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.1052, allocations: 0 / 274.5 MB, free: 8.527 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.1053, allocations: 7.953 kB / 274.5 MB, free: 8.52 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006785/0.106, allocations: 59.91 kB / 274.6 MB, free: 8.461 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.106, allocations: 4.078 kB / 274.6 MB, free: 8.457 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.1063, allocations: 19.89 kB / 274.6 MB, free: 8.438 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.1064, allocations: 11.98 kB / 274.6 MB, free: 8.426 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0002311/0.1066, allocations: 141.8 kB / 274.7 MB, free: 8.277 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.1068, allocations: 15.81 kB / 274.7 MB, free: 8.262 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.1069, allocations: 29.86 kB / 274.8 MB, free: 8.23 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.1069, allocations: 4 kB / 274.8 MB, free: 8.227 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.1069, allocations: 3.953 kB / 274.8 MB, free: 8.223 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.107, allocations: 4 kB / 274.8 MB, free: 8.219 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.1087, allocations: 0.5825 MB / 275.4 MB, free: 7.57 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/0.1087, allocations: 7.953 kB / 275.4 MB, free: 7.562 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007245/0.1095, allocations: 63.89 kB / 275.4 MB, free: 7.5 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.238e-05/0.1095, allocations: 4 kB / 275.4 MB, free: 7.496 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.658e-05/0.1095, allocations: 8 kB / 275.4 MB, free: 7.488 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.1096, allocations: 0 / 275.4 MB, free: 7.488 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/0.1096, allocations: 8.094 kB / 275.5 MB, free: 7.48 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.1111, allocations: 0.5387 MB / 276 MB, free: 6.891 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001799/0.1113, allocations: 112.9 kB / 276.1 MB, free: 6.762 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.64e-05/0.1114, allocations: 8 kB / 276.1 MB, free: 6.754 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004017/0.1118, allocations: 12 kB / 276.1 MB, free: 6.742 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.904e-05/0.1119, allocations: 24.02 kB / 276.1 MB, free: 6.719 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.432e-05/0.112, allocations: 8 kB / 276.2 MB, free: 6.711 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001996/0.1122, allocations: 132.2 kB / 276.3 MB, free: 6.582 MB / 234.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.1122, allocations: 0 / 276.3 MB, free: 6.582 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0007398/0.1129, allocations: 55.94 kB / 276.3 MB, free: 6.527 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0001797/0.1131, allocations: 111.2 kB / 276.4 MB, free: 6.41 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0008586/0.114, allocations: 183.8 kB / 276.6 MB, free: 6.23 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.114, allocations: 4 kB / 276.6 MB, free: 6.227 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004289/0.1145, allocations: 104.5 kB / 276.7 MB, free: 6.125 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006765/0.1152, allocations: 28.39 kB / 276.8 MB, free: 6.098 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/0.1176, allocations: 0.8297 MB / 277.6 MB, free: 5.227 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005346/0.1182, allocations: 0.756 MB / 278.3 MB, free: 4.445 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0002373/0.1184, allocations: 17.95 kB / 278.4 MB, free: 4.426 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.1185, allocations: 31.38 kB / 278.4 MB, free: 4.395 MB / 234.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1186, allocations: 0 / 278.4 MB, free: 4.395 MB / 234.7 MB Notification: Performance of Templates: time 0.009458/0.128, allocations: 1.772 MB / 280.2 MB, free: 2.629 MB / 234.7 MB "" Variables in the reference:time,damper1.s_rel,damper1.v_rel,mass1.s,mass1.v Variables in the result:damper1.d,damper1.flange_b.s,damper1.s_nominal,damper1.s_rel,damper1.v_rel,fixed1.flange.s,fixed1.s0,fixed2.flange.s,fixed2.s0,mass1.L,mass1.m,mass1.s,mass1.stateSelect,mass1.v,mass2.L,mass2.m,mass2.stateSelect,sine1.amplitude,sine1.freqHz,sine1.offset,sine1.phase,sine1.startTime,sine2.amplitude,sine2.freqHz,sine2.offset,sine2.phase,sine2.startTime,spring1.c,spring1.flange_b.s,spring1.s_rel0,spring2.c,spring2.flange_b.s,spring2.s_rel0,time