Running command: translateModel(Modelica.Mechanics.Rotational.Examples.First,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.First") Notification: Performance of loadModel(Modelica): time 2.09/2.09, allocations: 224.7 MB / 241.1 MB, free: 1.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.781e-05/2.783e-05, allocations: 4 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1122, allocations: 50.4 MB / 345 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.First): time 0.003129/0.1154, allocations: 1.865 MB / 346.8 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.1167, allocations: 0.4912 MB / 347.3 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.1169, allocations: 8 kB / 347.3 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.2e-05/0.1169, allocations: 19.78 kB / 347.4 MB, free: 6.543 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.1172, allocations: 75.75 kB / 347.4 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.1174, allocations: 43.95 kB / 347.5 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002899/0.1177, allocations: 139.7 kB / 347.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.1179, allocations: 60.94 kB / 347.7 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.1181, allocations: 79.77 kB / 347.7 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.1183, allocations: 83.67 kB / 347.8 MB, free: 6.07 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.324e-05/0.1184, allocations: 8 kB / 347.8 MB, free: 6.062 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.261e-05/0.1184, allocations: 8 kB / 347.8 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.421e-05/0.1185, allocations: 31.86 kB / 347.9 MB, free: 6.023 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.892e-05/0.1185, allocations: 24 kB / 347.9 MB, free: 6 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.1188, allocations: 191.7 kB / 348.1 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1188, allocations: 3.938 kB / 348.1 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1189, allocations: 0 / 348.1 MB, free: 5.809 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.1189, allocations: 0 / 348.1 MB, free: 5.809 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008916/0.1198, allocations: 479.1 kB / 348.6 MB, free: 5.293 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.1198, allocations: 8.031 kB / 348.6 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.354e-05/0.1199, allocations: 31.67 kB / 348.6 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003606/0.1203, allocations: 232.1 kB / 348.8 MB, free: 4.984 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.1204, allocations: 16.44 kB / 348.8 MB, free: 4.969 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.877e-05/0.1204, allocations: 31.98 kB / 348.9 MB, free: 4.938 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005429/0.121, allocations: 191.2 kB / 349.1 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/0.121, allocations: 7.906 kB / 349.1 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.1211, allocations: 4 kB / 349.1 MB, free: 4.734 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.1211, allocations: 7.953 kB / 349.1 MB, free: 4.727 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000458/0.1216, allocations: 141.7 kB / 349.2 MB, free: 4.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.123, allocations: 0.6425 MB / 349.9 MB, free: 3.895 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004716/0.1235, allocations: 185.5 kB / 350 MB, free: 3.707 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.1236, allocations: 0 / 350 MB, free: 3.707 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.1236, allocations: 34.56 kB / 350.1 MB, free: 3.664 MB / 282.7 MB Notification: Performance of pre-optimization done (n=24): time 2.234e-06/0.1236, allocations: 0 / 350.1 MB, free: 3.664 MB / 282.7 MB Notification: Performance of matching and sorting (n=32): time 0.002903/0.1265, allocations: 1.082 MB / 351.2 MB, free: 2.492 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.1266, allocations: 55.41 kB / 351.2 MB, free: 2.426 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.1269, allocations: 162.3 kB / 351.4 MB, free: 2.258 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.1269, allocations: 29.7 kB / 351.4 MB, free: 2.223 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.127, allocations: 203 kB / 351.6 MB, free: 2.023 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.1272, allocations: 122.2 kB / 351.7 MB, free: 1.902 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.803e-05/0.1272, allocations: 4 kB / 351.7 MB, free: 1.898 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1273, allocations: 326.8 kB / 352 MB, free: 1.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.1276, allocations: 75.97 kB / 352.1 MB, free: 1.496 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003051/0.1279, allocations: 98.81 kB / 352.2 MB, free: 1.391 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.1282, allocations: 85.41 kB / 352.3 MB, free: 1.309 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1282, allocations: 0 / 352.3 MB, free: 1.309 MB / 282.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008285/0.1291, allocations: 296 kB / 352.6 MB, free: 1.012 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.1291, allocations: 4 kB / 352.6 MB, free: 1.008 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.1291, allocations: 4 kB / 352.6 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002649/0.1294, allocations: 44.83 kB / 352.6 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004511/0.1299, allocations: 59.91 kB / 352.7 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/0.1319, allocations: 1.581 MB / 354.3 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.1322, allocations: 12.03 kB / 354.3 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.1323, allocations: 8 kB / 354.3 MB, free: 15.16 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001943/0.1325, allocations: 141.8 kB / 354.4 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.44e-05/0.1326, allocations: 23.72 kB / 354.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.579e-05/0.1327, allocations: 30.59 kB / 354.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.1327, allocations: 0 / 354.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.1327, allocations: 11.89 kB / 354.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.1327, allocations: 12.03 kB / 354.5 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.1344, allocations: 0.7788 MB / 355.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.1345, allocations: 4 kB / 355.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005269/0.135, allocations: 59.91 kB / 355.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002023/0.1352, allocations: 36.83 kB / 355.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/0.1353, allocations: 8 kB / 355.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.1369, allocations: 1.386 MB / 356.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.1369, allocations: 7.984 kB / 356.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.1381, allocations: 0.5111 MB / 357.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.13e-05/0.1382, allocations: 96.92 kB / 357.4 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.065e-05/0.1383, allocations: 8.031 kB / 357.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.1385, allocations: 12 kB / 357.4 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.06e-05/0.1386, allocations: 20.3 kB / 357.4 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.1387, allocations: 12 kB / 357.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001545/0.1388, allocations: 135.2 kB / 357.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.685e-06/0.1388, allocations: 0 / 357.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005323/0.1394, allocations: 67.94 kB / 357.6 MB, free: 11.53 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001828/0.1396, allocations: 103.2 kB / 357.7 MB, free: 11.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.1406, allocations: 347.6 kB / 358.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1406, allocations: 0 / 358.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005384/0.1412, allocations: 250.8 kB / 358.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004896/0.1417, allocations: 32.16 kB / 358.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/0.1437, allocations: 0.9028 MB / 359.3 MB, free: 9.828 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.1441, allocations: 0.7603 MB / 360 MB, free: 9.043 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.1442, allocations: 23.44 kB / 360 MB, free: 9.02 MB / 298.7 MB Notification: Performance of SimCode: time 1.302e-06/0.1442, allocations: 0 / 360 MB, free: 9.02 MB / 298.7 MB Notification: Performance of Templates: time 0.008749/0.153, allocations: 3.693 MB / 363.7 MB, free: 5.32 MB / 298.7 MB