Running command: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadModel(ModelicaTest): time 2.426/2.426, allocations: 269 MB / 284.1 MB, free: 3.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.73e-05/3.742e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1351, allocations: 61.89 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.3739/0.509, allocations: 28.62 MB / 439.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02258/0.5317, allocations: 7.075 MB / 446.6 MB, free: 9.996 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008138/0.5399, allocations: 148.8 kB / 446.8 MB, free: 9.973 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006105/0.546, allocations: 1.422 MB / 448.2 MB, free: 9.504 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01868/0.5647, allocations: 4.158 MB / 452.3 MB, free: 7.523 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003121/0.5679, allocations: 484.1 kB / 452.8 MB, free: 7.344 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004735/0.5727, allocations: 1.387 MB / 454.2 MB, free: 6.492 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006028/0.5788, allocations: 2.606 MB / 456.8 MB, free: 4.984 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002185/0.581, allocations: 0.6859 MB / 457.5 MB, free: 4.676 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002902/0.584, allocations: 1.049 MB / 458.5 MB, free: 4.152 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003118/0.5871, allocations: 0.7619 MB / 459.3 MB, free: 3.816 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001195/0.5884, allocations: 100 kB / 459.4 MB, free: 3.816 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00251/0.5909, allocations: 1.256 MB / 460.7 MB, free: 3.195 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001421/0.5924, allocations: 221.9 kB / 460.9 MB, free: 3.195 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007811/0.6002, allocations: 4.449 MB / 465.3 MB, free: 244 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.6003, allocations: 0 / 465.3 MB, free: 244 kB / 362.7 MB Notification: Performance of FrontEnd: time 3.115e-06/0.6003, allocations: 0 / 465.3 MB, free: 244 kB / 362.7 MB Notification: Performance of Transformations before backend: time 0.00022/0.6005, allocations: 4 kB / 465.3 MB, free: 240 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01078/0.6113, allocations: 3.305 MB / 468.6 MB, free: 13.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.6114, allocations: 8.031 kB / 468.6 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0134/0.6248, allocations: 2.113 MB / 470.7 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006191/0.631, allocations: 1.982 MB / 472.7 MB, free: 9.652 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000235/0.6313, allocations: 192.8 kB / 472.9 MB, free: 9.461 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001185/0.6325, allocations: 259.8 kB / 473.2 MB, free: 9.207 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02311/0.6557, allocations: 8.487 MB / 481.7 MB, free: 48 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001511/0.6559, allocations: 43.58 kB / 481.7 MB, free: 4 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006706/0.6566, allocations: 123.9 kB / 481.8 MB, free: 15.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005143/0.6617, allocations: 1.695 MB / 483.5 MB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02326/0.685, allocations: 7.153 MB / 490.7 MB, free: 7.023 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0635/0.7486, allocations: 34.23 MB / 0.5126 GB, free: 3.797 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01325/0.7619, allocations: 3.279 MB / 0.5158 GB, free: 372 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01108/0.773, allocations: 4.389 MB / 0.5201 GB, free: 11.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.979e-05/0.7731, allocations: 55.02 kB / 0.5201 GB, free: 11.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=121): time 5.23e-06/0.7732, allocations: 4 kB / 0.5201 GB, free: 11.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=129): time 0.05339/0.8266, allocations: 11.77 MB / 0.5316 GB, free: 15.73 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.8267, allocations: 163 kB / 0.5318 GB, free: 15.54 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008971/0.8357, allocations: 3.443 MB / 0.5352 GB, free: 12.11 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003322/0.8361, allocations: 41.7 kB / 0.5352 GB, free: 12.06 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003139/0.8393, allocations: 2.693 MB / 0.5378 GB, free: 9.328 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009768/0.8403, allocations: 0.5248 MB / 0.5383 GB, free: 8.797 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006434/0.841, allocations: 112 kB / 0.5384 GB, free: 8.688 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005334/0.8415, allocations: 0.53 MB / 0.539 GB, free: 8.148 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00495/0.8465, allocations: 1.677 MB / 0.5406 GB, free: 6.465 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008504/0.855, allocations: 5.076 MB / 0.5456 GB, free: 15.66 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007624/0.8627, allocations: 2.864 MB / 0.5483 GB, free: 12.79 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001182/0.8629, allocations: 36 kB / 0.5484 GB, free: 12.76 MB / 474.7 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01943/0.8823, allocations: 6.544 MB / 0.5548 GB, free: 6.207 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001223/0.8825, allocations: 56 kB / 0.5548 GB, free: 6.152 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002254/0.8828, allocations: 124 kB / 0.5549 GB, free: 6.031 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/0.8839, allocations: 345.3 kB / 0.5553 GB, free: 5.691 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007976/0.8919, allocations: 1.24 MB / 0.5565 GB, free: 4.449 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004079/0.896, allocations: 2.317 MB / 0.5587 GB, free: 1.996 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005909/0.902, allocations: 295.6 kB / 0.559 GB, free: 1.707 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001137/0.9032, allocations: 328.1 kB / 0.5593 GB, free: 1.387 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (664): * Single equations (assignments): 660 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004832/0.9081, allocations: 1.76 MB / 0.5611 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008654/0.9089, allocations: 315.9 kB / 0.5614 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008503/0.9175, allocations: 2.367 MB / 0.5637 GB, free: 12.92 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.747e-05/0.9176, allocations: 16.19 kB / 0.5637 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/0.9176, allocations: 4 kB / 0.5637 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.391e-05/0.9176, allocations: 7.969 kB / 0.5637 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02029/0.9379, allocations: 5.927 MB / 0.5695 GB, free: 6.895 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.46e-05/0.938, allocations: 0 / 0.5695 GB, free: 6.895 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/0.9397, allocations: 171.8 kB / 0.5697 GB, free: 6.727 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004116/0.9438, allocations: 0.7147 MB / 0.5704 GB, free: 6.008 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002885/0.9442, allocations: 20 kB / 0.5704 GB, free: 5.988 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0103/0.9545, allocations: 4.58 MB / 0.5748 GB, free: 1.277 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.9546, allocations: 3.984 kB / 0.5748 GB, free: 1.273 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01217/0.9667, allocations: 4.442 MB / 0.5792 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/0.968, allocations: 372.9 kB / 0.5795 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001092/0.9691, allocations: 20 kB / 0.5796 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002624/0.9718, allocations: 71.91 kB / 0.5796 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004434/0.9723, allocations: 72.52 kB / 0.5797 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001541/0.9724, allocations: 28.06 kB / 0.5797 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006441/0.9789, allocations: 2.409 MB / 0.5821 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.152e-06/0.9789, allocations: 0 / 0.5821 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006171/0.9851, allocations: 0.8398 MB / 0.5829 GB, free: 8.965 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008879/0.986, allocations: 179.1 kB / 0.5831 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0103/0.9964, allocations: 3.991 MB / 0.587 GB, free: 4.805 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.9964, allocations: 256 / 0.587 GB, free: 4.805 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002974/0.9994, allocations: 1.111 MB / 0.5881 GB, free: 3.684 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003217/1.003, allocations: 361.4 kB / 0.5884 GB, free: 3.328 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02303/1.026, allocations: 8.963 MB / 0.5971 GB, free: 10.31 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006147/1.032, allocations: 2.863 MB / 0.5999 GB, free: 7.418 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00145/1.033, allocations: 251.4 kB / 0.6002 GB, free: 7.172 MB / 0.5105 GB Notification: Performance of SimCode: time 1.683e-06/1.033, allocations: 3.938 kB / 0.6002 GB, free: 7.168 MB / 0.5105 GB Notification: Performance of Templates: time 0.4797/1.513, allocations: 61.93 MB / 0.6607 GB, free: 132.6 MB / 0.5105 GB