Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadModel(ModelicaTest): time 2.436/2.436, allocations: 269 MB / 284.1 MB, free: 3.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.867e-05/3.891e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1384, allocations: 61.88 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.003742/0.1422, allocations: 2.227 MB / 413.1 MB, free: 10.62 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.1438, allocations: 0.6158 MB / 413.8 MB, free: 9.996 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002302/0.144, allocations: 15.94 kB / 413.8 MB, free: 9.98 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 9.863e-05/0.1441, allocations: 35.69 kB / 413.8 MB, free: 9.945 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003495/0.1445, allocations: 111.7 kB / 413.9 MB, free: 9.836 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.1448, allocations: 75.91 kB / 414 MB, free: 9.762 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004601/0.1453, allocations: 243.8 kB / 414.2 MB, free: 9.523 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002471/0.1455, allocations: 100.3 kB / 414.3 MB, free: 9.426 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.1458, allocations: 119.7 kB / 414.4 MB, free: 9.309 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002757/0.1461, allocations: 139.4 kB / 414.6 MB, free: 9.172 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.577e-05/0.1462, allocations: 20 kB / 414.6 MB, free: 9.152 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.491e-05/0.1462, allocations: 12 kB / 414.6 MB, free: 9.141 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.819e-05/0.1463, allocations: 55.77 kB / 414.7 MB, free: 9.086 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.1464, allocations: 36 kB / 414.7 MB, free: 9.051 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004444/0.1469, allocations: 319.3 kB / 415 MB, free: 8.738 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1469, allocations: 0 / 415 MB, free: 8.738 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1469, allocations: 0 / 415 MB, free: 8.738 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.1469, allocations: 0 / 415 MB, free: 8.738 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001252/0.1482, allocations: 0.589 MB / 415.6 MB, free: 8.098 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.1482, allocations: 12.03 kB / 415.6 MB, free: 8.086 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.1484, allocations: 43.53 kB / 415.7 MB, free: 8.043 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/0.1488, allocations: 275.4 kB / 415.9 MB, free: 7.73 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.853e-05/0.1489, allocations: 29 kB / 416 MB, free: 7.703 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.149, allocations: 47.86 kB / 416 MB, free: 7.656 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.15, allocations: 385 kB / 416.4 MB, free: 7.262 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.214e-05/0.1501, allocations: 8 kB / 416.4 MB, free: 7.254 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.957e-05/0.1501, allocations: 16 kB / 416.4 MB, free: 7.238 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.1501, allocations: 8 kB / 416.4 MB, free: 7.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008537/0.151, allocations: 255.8 kB / 416.7 MB, free: 6.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00247/0.1535, allocations: 1.124 MB / 417.8 MB, free: 5.797 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000868/0.1544, allocations: 343.6 kB / 418.1 MB, free: 5.434 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.256e-05/0.1545, allocations: 8 kB / 418.1 MB, free: 5.426 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.1545, allocations: 42.5 kB / 418.2 MB, free: 5.375 MB / 346.7 MB Notification: Performance of pre-optimization done (n=39): time 3.146e-06/0.1545, allocations: 0 / 418.2 MB, free: 5.375 MB / 346.7 MB Notification: Performance of matching and sorting (n=57): time 0.006019/0.1606, allocations: 2.463 MB / 420.6 MB, free: 2.641 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.698e-05/0.1607, allocations: 118.8 kB / 420.7 MB, free: 2.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003216/0.161, allocations: 217.7 kB / 421 MB, free: 2.289 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.006e-05/0.1611, allocations: 37.69 kB / 421 MB, free: 2.246 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.1612, allocations: 235.1 kB / 421.2 MB, free: 2.012 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/0.1615, allocations: 197.1 kB / 421.4 MB, free: 1.816 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.1615, allocations: 8 kB / 421.4 MB, free: 1.809 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1616, allocations: 334.8 kB / 421.8 MB, free: 1.473 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004593/0.1621, allocations: 133.1 kB / 421.9 MB, free: 1.344 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005313/0.1627, allocations: 231.8 kB / 422.1 MB, free: 1.082 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005349/0.1632, allocations: 163.9 kB / 422.3 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.1632, allocations: 7.984 kB / 422.3 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001684/0.1649, allocations: 0.55 MB / 422.8 MB, free: 356 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.165, allocations: 10.66 kB / 422.8 MB, free: 348 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.165, allocations: 4 kB / 422.8 MB, free: 344 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005856/0.1656, allocations: 118.5 kB / 423 MB, free: 216 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007153/0.1663, allocations: 95.98 kB / 423.1 MB, free: 120 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3204/0.4867, allocations: 4.712 MB / 427.8 MB, free: 8.504 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004275/0.4872, allocations: 23.64 kB / 427.8 MB, free: 8.504 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.307e-05/0.4873, allocations: 19.14 kB / 427.8 MB, free: 8.504 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002559/0.4876, allocations: 172.5 kB / 428 MB, free: 8.391 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.4877, allocations: 39.25 kB / 428 MB, free: 8.391 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.4878, allocations: 48.69 kB / 428.1 MB, free: 8.383 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.4879, allocations: 6.281 kB / 428.1 MB, free: 8.383 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.738e-05/0.4879, allocations: 6.953 kB / 428.1 MB, free: 8.379 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.4879, allocations: 4.125 kB / 428.1 MB, free: 8.379 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003212/0.4911, allocations: 1.342 MB / 429.4 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.158e-06/0.4912, allocations: 0.7812 kB / 429.4 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008658/0.4921, allocations: 99.64 kB / 429.5 MB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004821/0.4926, allocations: 92.83 kB / 429.6 MB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.142e-05/0.4926, allocations: 14.39 kB / 429.6 MB, free: 7.594 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003651/0.4963, allocations: 4.146 MB / 433.8 MB, free: 3.535 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.4963, allocations: 4.688 kB / 433.8 MB, free: 3.535 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002188/0.4985, allocations: 0.9978 MB / 434.8 MB, free: 2.871 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.4987, allocations: 108.7 kB / 434.9 MB, free: 2.758 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-05/0.4988, allocations: 17.22 kB / 434.9 MB, free: 2.746 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004153/0.4992, allocations: 20.12 kB / 434.9 MB, free: 2.738 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/0.4995, allocations: 48.25 kB / 435 MB, free: 2.727 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-05/0.4995, allocations: 10.95 kB / 435 MB, free: 2.727 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002341/0.4998, allocations: 177.9 kB / 435.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.4998, allocations: 1.438 kB / 435.1 MB, free: 2.617 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001104/0.5009, allocations: 120.2 kB / 435.3 MB, free: 2.598 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001798/0.5011, allocations: 116.2 kB / 435.4 MB, free: 2.492 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001854/0.503, allocations: 0.7641 MB / 436.1 MB, free: 2.016 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.503, allocations: 4.188 kB / 436.1 MB, free: 2.012 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001224/0.5042, allocations: 0.5811 MB / 436.7 MB, free: 1.598 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007111/0.505, allocations: 55.44 kB / 436.8 MB, free: 1.574 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.5078, allocations: 1.323 MB / 438.1 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004707/0.5083, allocations: 0.8268 MB / 438.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.5085, allocations: 33.14 kB / 439 MB, free: 15.95 MB / 362.7 MB Notification: Performance of SimCode: time 1.513e-06/0.5085, allocations: 0 / 439 MB, free: 15.95 MB / 362.7 MB Notification: Performance of Templates: time 0.01899/0.5275, allocations: 8.783 MB / 447.7 MB, free: 13.99 MB / 362.7 MB