Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1") Notification: Performance of loadModel(ModelicaTest): time 2.253/2.253, allocations: 270 MB / 282.7 MB, free: 1.777 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.241e-05/3.26e-05, allocations: 4 kB / 347 MB, free: 3.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3177, allocations: 61.88 MB / 408.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1695/0.4872, allocations: 110.4 MB / 0.5071 GB, free: 12.22 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.4875, allocations: 83.95 kB / 0.5071 GB, free: 12.14 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7632/1.251, allocations: 150.3 MB / 0.6539 GB, free: 1.164 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.326e-06/1.251, allocations: 0 / 0.6539 GB, free: 1.164 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004769/1.251, allocations: 144 kB / 0.654 GB, free: 1.023 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2276 * Number of variables: 2276 Notification: Performance of Generate backend data structure: time 0.03948/1.291, allocations: 8.548 MB / 0.6624 GB, free: 8.395 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/1.291, allocations: 12.03 kB / 0.6624 GB, free: 8.383 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08637/1.377, allocations: 16.68 MB / 0.6787 GB, free: 7.664 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04021/1.417, allocations: 12.69 MB / 0.691 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007063/1.418, allocations: 0.4932 MB / 0.6915 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002915/1.421, allocations: 0.6636 MB / 0.6922 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04703/1.468, allocations: 16.72 MB / 0.7085 GB, free: 7.496 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004035/1.469, allocations: 107 kB / 0.7086 GB, free: 7.391 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001943/1.471, allocations: 323.8 kB / 0.7089 GB, free: 7.074 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003125/1.474, allocations: 1.475 MB / 0.7104 GB, free: 5.59 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6561/2.13, allocations: 13.22 MB / 0.7233 GB, free: 88.11 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09673/2.227, allocations: 76.74 MB / 0.7982 GB, free: 43.83 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03322/2.26, allocations: 8.514 MB / 0.8065 GB, free: 41.43 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006672/2.267, allocations: 4.1 MB / 0.8105 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00203/2.269, allocations: 1.344 MB / 0.8118 GB, free: 38.49 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.747e-05/2.269, allocations: 65.36 kB / 0.8119 GB, free: 38.44 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=268): time 7.942e-06/2.269, allocations: 2.812 kB / 0.8119 GB, free: 38.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=352): time 0.1833/2.452, allocations: 44.7 MB / 0.8556 GB, free: 18.57 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00207/2.454, allocations: 3.228 MB / 0.8587 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01302/2.467, allocations: 6.463 MB / 0.865 GB, free: 9.57 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008153/2.468, allocations: 77.7 kB / 0.8651 GB, free: 9.488 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003432/2.472, allocations: 4.871 MB / 0.8698 GB, free: 5.223 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001669/2.473, allocations: 1.341 MB / 0.8712 GB, free: 4.043 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008849/2.474, allocations: 194.9 kB / 0.8713 GB, free: 3.855 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005325/2.475, allocations: 0.7148 MB / 0.872 GB, free: 3.242 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0143/2.489, allocations: 4.799 MB / 0.8767 GB, free: 0 / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.016/2.505, allocations: 9.722 MB / 0.8862 GB, free: 4.523 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01439/2.52, allocations: 6.54 MB / 0.8926 GB, free: 15.05 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001549/2.52, allocations: 56 kB / 0.8927 GB, free: 14.99 MB / 0.5418 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.1168/2.637, allocations: 30.61 MB / 0.9226 GB, free: 4.25 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002871/2.637, allocations: 88.06 kB / 0.9226 GB, free: 4.164 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3968/3.034, allocations: 20.56 MB / 0.9427 GB, free: 123.8 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05856/3.092, allocations: 16.59 MB / 0.9589 GB, free: 123.7 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009754/3.102, allocations: 2.118 MB / 0.961 GB, free: 123.7 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06007/3.162, allocations: 33.35 MB / 0.9936 GB, free: 118.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01125/3.174, allocations: 0.7665 MB / 0.9943 GB, free: 118.5 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002018/3.176, allocations: 0.5598 MB / 0.9948 GB, free: 118.5 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 845 * Number of states: 0 () * Number of discrete variables: 63 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],bodyCylinder4.color[3],bodyCylinder4.color[2],bodyCylinder4.color[1],bodyCylinder4.body.sphereColor[3],bodyCylinder4.body.sphereColor[2],bodyCylinder4.body.sphereColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],spherical2.sphereColor[3],spherical2.sphereColor[2],spherical2.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1092): * Single equations (assignments): 1079 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 38,(4,100.0%) 41} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.002086/3.178, allocations: 0.8147 MB / 0.9956 GB, free: 118.4 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001512/3.179, allocations: 0.6696 MB / 0.9963 GB, free: 118.4 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02503/3.204, allocations: 10.15 MB / 1.006 GB, free: 115.5 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02188/3.226, allocations: 8.847 MB / 1.015 GB, free: 112.6 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-05/3.226, allocations: 19.53 kB / 1.015 GB, free: 112.6 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.237e-05/3.226, allocations: 15.33 kB / 1.015 GB, free: 112.6 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.053/3.279, allocations: 23.34 MB / 1.038 GB, free: 97.23 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.355e-05/3.279, allocations: 0 / 1.038 GB, free: 97.23 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003725/3.283, allocations: 0.5653 MB / 1.038 GB, free: 96.7 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01663/3.3, allocations: 4.007 MB / 1.042 GB, free: 92.75 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008825/3.301, allocations: 110.3 kB / 1.042 GB, free: 92.64 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03501/3.336, allocations: 23.97 MB / 1.066 GB, free: 68.16 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001924/3.338, allocations: 2.999 MB / 1.069 GB, free: 64.92 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03097/3.369, allocations: 15.46 MB / 1.084 GB, free: 49.69 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002033/3.371, allocations: 0.705 MB / 1.084 GB, free: 48.97 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002053/3.373, allocations: 91.75 kB / 1.084 GB, free: 48.88 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005986/3.379, allocations: 355.5 kB / 1.085 GB, free: 48.54 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001316/3.38, allocations: 250.4 kB / 1.085 GB, free: 48.3 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006108/3.381, allocations: 95.95 kB / 1.085 GB, free: 48.2 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.01055/3.392, allocations: 4.611 MB / 1.09 GB, free: 43.63 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.137e-06/3.392, allocations: 0 / 1.09 GB, free: 43.63 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01229/3.404, allocations: 2.124 MB / 1.092 GB, free: 41.52 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],fixedRotation1.frame_b.R.w[1],fixedRotation1.frame_b.R.w[2],fixedRotation1.frame_b.R.w[3],revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (244): * Single equations (assignments): 233 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(5,100.0%) 35,(1,100.0%) 1,(3,100.0%) 33,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0011/3.405, allocations: 230.5 kB / 1.092 GB, free: 41.32 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0213/3.426, allocations: 11.5 MB / 1.103 GB, free: 30.11 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 7.723e-06/3.426, allocations: 0 / 1.103 GB, free: 30.11 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.00957/3.436, allocations: 5.107 MB / 1.108 GB, free: 24.91 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005913/3.442, allocations: 0.9387 MB / 1.109 GB, free: 24.01 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04069/3.483, allocations: 17.06 MB / 1.126 GB, free: 7.234 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01122/3.494, allocations: 5.503 MB / 1.131 GB, free: 1.738 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.331/3.825, allocations: 0.5005 MB / 1.132 GB, free: 117 MB / 0.5574 GB Notification: Performance of SimCode: time 2.243e-06/3.825, allocations: 0.75 kB / 1.132 GB, free: 117 MB / 0.5574 GB Notification: Performance of Templates: time 0.7171/4.542, allocations: 312.3 MB / 1.437 GB, free: 120 MB / 0.5887 GB