Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadModel(ModelicaTest): time 2.425/2.425, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.176e-05/3.171e-05, allocations: 4 kB / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1292, allocations: 61.9 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002413/0.1316, allocations: 1.426 MB / 412.4 MB, free: 11.42 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003674/0.132, allocations: 143.6 kB / 412.5 MB, free: 11.28 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.143e-05/0.1321, allocations: 7.938 kB / 412.5 MB, free: 11.27 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.532e-05/0.1322, allocations: 11.92 kB / 412.5 MB, free: 11.26 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.1324, allocations: 55.8 kB / 412.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001207/0.1325, allocations: 23.98 kB / 412.6 MB, free: 11.18 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.1327, allocations: 95.8 kB / 412.7 MB, free: 11.09 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.1328, allocations: 40.06 kB / 412.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.815e-05/0.1329, allocations: 47.92 kB / 412.8 MB, free: 11 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.1331, allocations: 55.77 kB / 412.8 MB, free: 10.94 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.99e-05/0.1331, allocations: 8 kB / 412.8 MB, free: 10.93 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.1331, allocations: 4 kB / 412.8 MB, free: 10.93 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.508e-05/0.1332, allocations: 27.91 kB / 412.9 MB, free: 10.9 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.147e-05/0.1333, allocations: 16 kB / 412.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.1335, allocations: 131.9 kB / 413 MB, free: 10.76 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1335, allocations: 0 / 413 MB, free: 10.76 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.392e-06/0.1335, allocations: 4 kB / 413 MB, free: 10.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.1335, allocations: 7.875 kB / 413 MB, free: 10.75 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006355/0.1342, allocations: 415.3 kB / 413.4 MB, free: 10.29 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.1342, allocations: 8.031 kB / 413.4 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.03e-05/0.1343, allocations: 19.81 kB / 413.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.1345, allocations: 198.9 kB / 413.6 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.1346, allocations: 12.33 kB / 413.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.437e-05/0.1346, allocations: 23.95 kB / 413.7 MB, free: 9.996 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003886/0.135, allocations: 161.6 kB / 413.8 MB, free: 9.828 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.1351, allocations: 3.906 kB / 413.8 MB, free: 9.824 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.1351, allocations: 8 kB / 413.9 MB, free: 9.816 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.1351, allocations: 7.938 kB / 413.9 MB, free: 9.809 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002485/0.1354, allocations: 91.88 kB / 413.9 MB, free: 9.719 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.1365, allocations: 0.6112 MB / 414.6 MB, free: 9.047 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/0.1368, allocations: 129.3 kB / 414.7 MB, free: 8.902 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.1368, allocations: 8 kB / 414.7 MB, free: 8.895 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.1369, allocations: 30.56 kB / 414.7 MB, free: 8.855 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.465e-06/0.1369, allocations: 0 / 414.7 MB, free: 8.855 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.001095/0.138, allocations: 385.4 kB / 415.1 MB, free: 8.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/0.1381, allocations: 81.09 kB / 415.2 MB, free: 8.332 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.1382, allocations: 121.2 kB / 415.3 MB, free: 8.203 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.1383, allocations: 29.7 kB / 415.3 MB, free: 8.168 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.1384, allocations: 202.4 kB / 415.5 MB, free: 7.969 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.065e-05/0.1384, allocations: 59.25 kB / 415.6 MB, free: 7.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.369e-05/0.1385, allocations: 4 kB / 415.6 MB, free: 7.906 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1386, allocations: 322.8 kB / 415.9 MB, free: 7.582 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.1387, allocations: 35.97 kB / 415.9 MB, free: 7.547 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.1389, allocations: 102.8 kB / 416 MB, free: 7.418 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.139, allocations: 51.92 kB / 416.1 MB, free: 7.367 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.1391, allocations: 4 kB / 416.1 MB, free: 7.363 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005738/0.1396, allocations: 219.3 kB / 416.3 MB, free: 7.137 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.1397, allocations: 4 kB / 416.3 MB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.1397, allocations: 4.094 kB / 416.3 MB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003018/0.14, allocations: 58.05 kB / 416.4 MB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.1403, allocations: 39.92 kB / 416.4 MB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002729/0.143, allocations: 2.728 MB / 419.1 MB, free: 4.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.1432, allocations: 16.16 kB / 419.2 MB, free: 4.012 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.1432, allocations: 12 kB / 419.2 MB, free: 4 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 (20): * Single equations (assignments): 18 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001562/0.1434, allocations: 133.8 kB / 419.3 MB, free: 3.859 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.373e-05/0.1435, allocations: 8.188 kB / 419.3 MB, free: 3.852 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.448e-05/0.1435, allocations: 16.72 kB / 419.3 MB, free: 3.836 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1435, allocations: 3.984 kB / 419.3 MB, free: 3.832 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1436, allocations: 4 kB / 419.3 MB, free: 3.828 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.1436, allocations: 3.953 kB / 419.3 MB, free: 3.824 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003944/0.144, allocations: 241.4 kB / 419.6 MB, free: 3.539 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.144, allocations: 4 kB / 419.6 MB, free: 3.535 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002962/0.1443, allocations: 23.98 kB / 419.6 MB, free: 3.512 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002154/0.1445, allocations: 45.64 kB / 419.6 MB, free: 3.461 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.1446, allocations: 11.98 kB / 419.7 MB, free: 3.449 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002598/0.1472, allocations: 2.724 MB / 422.4 MB, free: 472 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1472, allocations: 0 / 422.4 MB, free: 472 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006159/0.1479, allocations: 390.2 kB / 422.8 MB, free: 52 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.3394/0.4872, allocations: 85.31 kB / 422.8 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.362e-05/0.4874, allocations: 3.781 kB / 422.8 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.4875, allocations: 2.312 kB / 422.8 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.078e-05/0.4876, allocations: 13.69 kB / 422.9 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.4876, allocations: 3.875 kB / 422.9 MB, free: 12.56 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.542e-05/0.4877, allocations: 99.05 kB / 423 MB, free: 12.49 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4877, allocations: 0 / 423 MB, free: 12.49 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006013/0.4884, allocations: 55.42 kB / 423 MB, free: 12.49 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001365/0.4885, allocations: 102.9 kB / 423.1 MB, free: 12.4 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007182/0.4892, allocations: 354.3 kB / 423.5 MB, free: 12.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4893, allocations: 0 / 423.5 MB, free: 12.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004183/0.4897, allocations: 281.5 kB / 423.7 MB, free: 11.96 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.4902, allocations: 28.55 kB / 423.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.4917, allocations: 0.7915 MB / 424.6 MB, free: 11.46 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.492, allocations: 0.7307 MB / 425.3 MB, free: 10.76 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.24e-05/0.492, allocations: 16.39 kB / 425.3 MB, free: 10.75 MB / 346.7 MB Notification: Performance of SimCode: time 1.122e-06/0.492, allocations: 0 / 425.3 MB, free: 10.75 MB / 346.7 MB Notification: Performance of Templates: time 0.007977/0.5, allocations: 3.003 MB / 428.3 MB, free: 10.6 MB / 346.7 MB