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_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadModel(ModelicaTest): time 2.355/2.355, allocations: 269 MB / 284.1 MB, free: 3.633 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.214e-05/3.217e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1363, allocations: 61.89 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions3): time 0.002266/0.1386, allocations: 1.278 MB / 412.2 MB, free: 11.58 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003089/0.139, allocations: 107.7 kB / 412.3 MB, free: 11.47 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.281e-05/0.1391, allocations: 0 / 412.3 MB, free: 11.47 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.841e-05/0.1391, allocations: 15.86 kB / 412.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.1393, allocations: 31.91 kB / 412.3 MB, free: 11.43 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.957e-05/0.1394, allocations: 23.98 kB / 412.4 MB, free: 11.4 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.1395, allocations: 63.84 kB / 412.4 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1396, allocations: 19.97 kB / 412.5 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.174e-05/0.1397, allocations: 31.94 kB / 412.5 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.1398, allocations: 39.84 kB / 412.5 MB, free: 11.25 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.123e-05/0.1399, allocations: 4 kB / 412.5 MB, free: 11.25 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.1399, allocations: 4 kB / 412.5 MB, free: 11.24 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.617e-05/0.1399, allocations: 19.92 kB / 412.6 MB, free: 11.22 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.927e-05/0.14, allocations: 12 kB / 412.6 MB, free: 11.21 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.1402, allocations: 92.03 kB / 412.7 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1402, allocations: 0 / 412.7 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1402, allocations: 4 kB / 412.7 MB, free: 11.12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.1402, allocations: 0 / 412.7 MB, free: 11.12 MB / 346.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.0005358/0.1407, allocations: 379.3 kB / 413 MB, free: 10.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.1408, allocations: 11.86 kB / 413 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.1409, allocations: 7.906 kB / 413 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.1411, allocations: 198.8 kB / 413.2 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.1412, allocations: 4.234 kB / 413.2 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.766e-05/0.1412, allocations: 20 kB / 413.3 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003108/0.1415, allocations: 125 kB / 413.4 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.1416, allocations: 0 / 413.4 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.1416, allocations: 7.938 kB / 413.4 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.1416, allocations: 7.938 kB / 413.4 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.1418, allocations: 59.95 kB / 413.5 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.1429, allocations: 0.5489 MB / 414 MB, free: 9.605 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.1431, allocations: 93.16 kB / 414.1 MB, free: 9.496 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.1431, allocations: 0 / 414.1 MB, free: 9.496 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.1431, allocations: 42.45 kB / 414.1 MB, free: 9.445 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.733e-06/0.1432, allocations: 0 / 414.1 MB, free: 9.445 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007802/0.1439, allocations: 294 kB / 414.4 MB, free: 9.109 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.144, allocations: 81.11 kB / 414.5 MB, free: 9.012 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.1442, allocations: 120.8 kB / 414.6 MB, free: 8.887 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.1442, allocations: 25.7 kB / 414.7 MB, free: 8.855 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.991e-05/0.1443, allocations: 186.1 kB / 414.8 MB, free: 8.672 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.1443, allocations: 27.56 kB / 414.9 MB, free: 8.645 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/0.1444, allocations: 0 / 414.9 MB, free: 8.645 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1445, allocations: 322.8 kB / 415.2 MB, free: 8.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.98e-05/0.1446, allocations: 31.92 kB / 415.2 MB, free: 8.289 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.1447, allocations: 84.7 kB / 415.3 MB, free: 8.176 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.1448, allocations: 43.94 kB / 415.3 MB, free: 8.133 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-06/0.1448, allocations: 4 kB / 415.3 MB, free: 8.129 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000463/0.1453, allocations: 167 kB / 415.5 MB, free: 7.953 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.1453, allocations: 7.062 kB / 415.5 MB, free: 7.949 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.1454, allocations: 12 kB / 415.5 MB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002273/0.1456, allocations: 33.7 kB / 415.6 MB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.1458, allocations: 19.94 kB / 415.6 MB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002366/0.1481, allocations: 2.552 MB / 418.1 MB, free: 5.059 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.1483, allocations: 15.88 kB / 418.1 MB, free: 5.043 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.1483, allocations: 11.98 kB / 418.1 MB, free: 5.031 MB / 346.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.0001368/0.1485, allocations: 121.8 kB / 418.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.983e-05/0.1486, allocations: 8 kB / 418.3 MB, free: 4.895 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.219e-05/0.1486, allocations: 16.08 kB / 418.3 MB, free: 4.875 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1486, allocations: 7.984 kB / 418.3 MB, free: 4.867 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.1486, allocations: 3.953 kB / 418.3 MB, free: 4.863 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.1487, allocations: 7.938 kB / 418.3 MB, free: 4.855 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003331/0.149, allocations: 189.6 kB / 418.5 MB, free: 4.621 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1491, allocations: 0 / 418.5 MB, free: 4.621 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.1492, allocations: 19.98 kB / 418.5 MB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001706/0.1494, allocations: 33.7 kB / 418.5 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.1495, allocations: 0 / 418.5 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002261/0.1517, allocations: 2.556 MB / 421.1 MB, free: 1.738 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.1518, allocations: 0 / 421.1 MB, free: 1.738 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004447/0.1522, allocations: 318.2 kB / 421.4 MB, free: 1.398 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.261e-05/0.1523, allocations: 85.02 kB / 421.5 MB, free: 1.297 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.1523, allocations: 4.125 kB / 421.5 MB, free: 1.293 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.1525, allocations: 4 kB / 421.5 MB, free: 1.289 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.1525, allocations: 11.98 kB / 421.5 MB, free: 1.277 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.1525, allocations: 0 / 421.5 MB, free: 1.277 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.453e-05/0.1526, allocations: 95.27 kB / 421.6 MB, free: 1.184 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1526, allocations: 4 kB / 421.6 MB, free: 1.18 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005018/0.1532, allocations: 35.91 kB / 421.6 MB, free: 1.145 MB / 346.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.0001443/0.1533, allocations: 103.2 kB / 421.8 MB, free: 1.035 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005575/0.1539, allocations: 297.6 kB / 422 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1539, allocations: 0 / 422 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003704/0.1543, allocations: 261.3 kB / 422.3 MB, free: 448 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.1547, allocations: 23.94 kB / 422.3 MB, free: 424 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3148/0.4695, allocations: 0.5629 MB / 422.9 MB, free: 12.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.4698, allocations: 0.7156 MB / 423.6 MB, free: 12.07 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.4698, allocations: 12.16 kB / 423.6 MB, free: 12.06 MB / 346.7 MB Notification: Performance of SimCode: time 9.72e-07/0.4699, allocations: 0 / 423.6 MB, free: 12.06 MB / 346.7 MB Notification: Performance of Templates: time 0.006734/0.4766, allocations: 2.34 MB / 426 MB, free: 12.05 MB / 346.7 MB