Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.phi|J1.w|J3.phi|J3.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadModel(ModelicaTest): time 2.067/2.067, allocations: 209.2 MB / 224.4 MB, free: 1.613 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.406e-05/5.4e-05, allocations: 4 kB / 276.1 MB, free: 28 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1175, allocations: 48.7 MB / 324.8 MB, free: 15.22 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002248/0.1198, allocations: 1.274 MB / 326.1 MB, free: 13.93 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003057/0.1201, allocations: 103.7 kB / 326.2 MB, free: 13.83 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.937e-05/0.1202, allocations: 0 / 326.2 MB, free: 13.83 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.13e-05/0.1203, allocations: 11.92 kB / 326.2 MB, free: 13.82 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001258/0.1204, allocations: 31.92 kB / 326.3 MB, free: 13.79 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001018/0.1205, allocations: 15.98 kB / 326.3 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.1207, allocations: 67.84 kB / 326.3 MB, free: 13.71 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.1208, allocations: 19.98 kB / 326.4 MB, free: 13.69 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.377e-05/0.1209, allocations: 39.91 kB / 326.4 MB, free: 13.65 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.97e-05/0.121, allocations: 39.84 kB / 326.4 MB, free: 13.61 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.367e-05/0.1211, allocations: 4 kB / 326.4 MB, free: 13.61 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.1211, allocations: 4 kB / 326.4 MB, free: 13.6 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.343e-05/0.1211, allocations: 11.94 kB / 326.5 MB, free: 13.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.986e-05/0.1212, allocations: 12 kB / 326.5 MB, free: 13.58 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.1213, allocations: 92.02 kB / 326.6 MB, free: 13.49 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1214, allocations: 0 / 326.6 MB, free: 13.49 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1214, allocations: 8 kB / 326.6 MB, free: 13.48 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.1214, allocations: 0 / 326.6 MB, free: 13.48 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005506/0.122, allocations: 375.4 kB / 326.9 MB, free: 13.06 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.122, allocations: 8.031 kB / 326.9 MB, free: 13.05 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.675e-05/0.1221, allocations: 11.89 kB / 327 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.1223, allocations: 198.8 kB / 327.1 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.1224, allocations: 8.234 kB / 327.2 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.755e-05/0.1224, allocations: 12 kB / 327.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003137/0.1227, allocations: 136.9 kB / 327.3 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.1228, allocations: 0 / 327.3 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.1228, allocations: 4 kB / 327.3 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.1228, allocations: 4 kB / 327.3 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.123, allocations: 55.97 kB / 327.4 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.1241, allocations: 0.5488 MB / 327.9 MB, free: 11.97 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.1243, allocations: 92.95 kB / 328 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.1243, allocations: 4 kB / 328 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.1244, allocations: 38.75 kB / 328 MB, free: 11.81 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 2.795e-06/0.1244, allocations: 0 / 328 MB, free: 11.81 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008098/0.1252, allocations: 297.4 kB / 328.3 MB, free: 11.47 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.1253, allocations: 77.11 kB / 328.4 MB, free: 11.38 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.1254, allocations: 124.9 kB / 328.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.1255, allocations: 25.7 kB / 328.6 MB, free: 11.22 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.1256, allocations: 182.1 kB / 328.7 MB, free: 11.04 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/0.1256, allocations: 39.45 kB / 328.8 MB, free: 11 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.1257, allocations: 0 / 328.8 MB, free: 11 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1258, allocations: 326.8 kB / 329.1 MB, free: 10.67 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.568e-05/0.1259, allocations: 20 kB / 329.1 MB, free: 10.65 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.126, allocations: 80.58 kB / 329.2 MB, free: 10.54 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.1261, allocations: 43.92 kB / 329.2 MB, free: 10.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.1262, allocations: 4 kB / 329.2 MB, free: 10.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004221/0.1266, allocations: 151.7 kB / 329.4 MB, free: 10.34 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.1266, allocations: 4 kB / 329.4 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.1266, allocations: 4 kB / 329.4 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002473/0.1269, allocations: 53.83 kB / 329.4 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.1271, allocations: 19.98 kB / 329.5 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00251/0.1296, allocations: 2.541 MB / 332 MB, free: 7.445 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.1298, allocations: 15.94 kB / 332 MB, free: 7.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.1298, allocations: 12 kB / 332 MB, free: 7.418 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001488/0.13, allocations: 121.8 kB / 332.2 MB, free: 7.289 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.343e-05/0.1301, allocations: 15.86 kB / 332.2 MB, free: 7.273 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.697e-05/0.1301, allocations: 11.91 kB / 332.2 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1301, allocations: 0 / 332.2 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1301, allocations: 0 / 332.2 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1301, allocations: 8 kB / 332.2 MB, free: 7.254 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003411/0.1305, allocations: 197.6 kB / 332.4 MB, free: 7.012 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1305, allocations: 0 / 332.4 MB, free: 7.012 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.1307, allocations: 12 kB / 332.4 MB, free: 7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001915/0.1309, allocations: 41.64 kB / 332.4 MB, free: 6.953 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.1309, allocations: 7.938 kB / 332.4 MB, free: 6.945 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002432/0.1334, allocations: 2.552 MB / 335 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.1334, allocations: 0 / 335 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000455/0.1339, allocations: 318.2 kB / 335.3 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.022e-05/0.134, allocations: 85.02 kB / 335.4 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.134, allocations: 4 kB / 335.4 MB, free: 3.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.1341, allocations: 4 kB / 335.4 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.1342, allocations: 15.91 kB / 335.4 MB, free: 3.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.1342, allocations: 0 / 335.4 MB, free: 3.66 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.317e-05/0.1343, allocations: 99.27 kB / 335.5 MB, free: 3.562 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1343, allocations: 0 / 335.5 MB, free: 3.562 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005006/0.1348, allocations: 43.8 kB / 335.6 MB, free: 3.52 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.w,J2.phi,J3.w,J4.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001627/0.135, allocations: 99.25 kB / 335.6 MB, free: 3.414 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000568/0.1356, allocations: 301.4 kB / 335.9 MB, free: 3.094 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1356, allocations: 0.5 kB / 335.9 MB, free: 3.094 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003764/0.136, allocations: 257.4 kB / 336.2 MB, free: 2.816 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.1364, allocations: 23.98 kB / 336.2 MB, free: 2.793 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.1377, allocations: 0.5682 MB / 336.8 MB, free: 2.188 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.1381, allocations: 0.72 MB / 337.5 MB, free: 1.441 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.26e-05/0.1381, allocations: 11.44 kB / 337.5 MB, free: 1.43 MB / 282.7 MB Notification: Performance of SimCode: time 1.343e-06/0.1381, allocations: 0 / 337.5 MB, free: 1.43 MB / 282.7 MB Notification: Performance of Templates: time 0.2604/0.3985, allocations: 2.345 MB / 339.9 MB, free: 14.25 MB / 282.7 MB