Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadModel(ModelicaTest): time 2.34/2.34, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 2.777e-05/2.82e-05, allocations: 0 / 323.4 MB, free: 4.328 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3214, allocations: 58.83 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1934/0.5148, allocations: 109.3 MB / 491.5 MB, free: 15.15 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003899/0.5153, allocations: 79.89 kB / 491.6 MB, free: 15.07 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.7816/1.297, allocations: 126.9 MB / 0.604 GB, free: 70.96 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.962e-06/1.297, allocations: 0 / 0.604 GB, free: 70.96 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0002919/1.297, allocations: 120 kB / 0.6042 GB, free: 70.85 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.0198/1.317, allocations: 6.337 MB / 0.6103 GB, free: 64.44 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/1.317, allocations: 15.97 kB / 0.6104 GB, free: 64.42 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04111/1.358, allocations: 8.318 MB / 0.6185 GB, free: 56.08 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02011/1.378, allocations: 7.381 MB / 0.6257 GB, free: 48.64 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004397/1.379, allocations: 447.8 kB / 0.6261 GB, free: 48.2 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002426/1.381, allocations: 0.5894 MB / 0.6267 GB, free: 47.61 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03359/1.415, allocations: 15.55 MB / 0.6419 GB, free: 30.9 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002598/1.415, allocations: 83.33 kB / 0.642 GB, free: 30.82 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001484/1.417, allocations: 279.8 kB / 0.6422 GB, free: 30.54 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002334/1.419, allocations: 1.62 MB / 0.6438 GB, free: 28.92 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03091/1.45, allocations: 13.58 MB / 0.6571 GB, free: 15.32 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3957/1.846, allocations: 64.08 MB / 0.7197 GB, free: 109.6 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01745/1.863, allocations: 6.388 MB / 0.7259 GB, free: 108.4 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005455/1.869, allocations: 3.539 MB / 0.7293 GB, free: 108.3 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02671/1.895, allocations: 14.43 MB / 0.7434 GB, free: 105 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.148e-05/1.896, allocations: 64.06 kB / 0.7435 GB, free: 104.9 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=289): time 7.014e-06/1.896, allocations: 0 / 0.7435 GB, free: 104.9 MB / 0.4949 GB Notification: Performance of matching and sorting (n=339): time 0.1107/2.006, allocations: 29.77 MB / 0.7726 GB, free: 98.94 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.801e-05/2.006, allocations: 221.6 kB / 0.7728 GB, free: 98.71 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008946/2.015, allocations: 4.797 MB / 0.7775 GB, free: 97.06 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0006663/2.016, allocations: 73.72 kB / 0.7775 GB, free: 97 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003055/2.019, allocations: 4.431 MB / 0.7819 GB, free: 93.59 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001565/2.021, allocations: 1.254 MB / 0.7831 GB, free: 92.67 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008446/2.022, allocations: 173 kB / 0.7833 GB, free: 92.54 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.000516/2.022, allocations: 0.6815 MB / 0.7839 GB, free: 92.07 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008703/2.031, allocations: 4.492 MB / 0.7883 GB, free: 90.41 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.011/2.042, allocations: 9.388 MB / 0.7975 GB, free: 82.17 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/2.053, allocations: 6.44 MB / 0.8038 GB, free: 79.23 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001396/2.053, allocations: 48 kB / 0.8038 GB, free: 79.18 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.04994/2.103, allocations: 18.09 MB / 0.8215 GB, free: 65.27 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001233/2.104, allocations: 80 kB / 0.8215 GB, free: 65.19 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001727/2.104, allocations: 176 kB / 0.8217 GB, free: 65.02 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02559/2.129, allocations: 5.633 MB / 0.8272 GB, free: 61.61 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009214/2.139, allocations: 2.063 MB / 0.8292 GB, free: 59.85 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03693/2.176, allocations: 23.63 MB / 0.8523 GB, free: 37.07 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009291/2.185, allocations: 0.5459 MB / 0.8528 GB, free: 36.52 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001804/2.187, allocations: 0.5 MB / 0.8533 GB, free: 36.02 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 793 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (1061): * Single equations (assignments): 1053 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001895/2.189, allocations: 0.7588 MB / 0.8541 GB, free: 35.26 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001185/2.19, allocations: 0.5052 MB / 0.8546 GB, free: 34.75 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04293/2.233, allocations: 12.34 MB / 0.8666 GB, free: 22.34 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000152/2.233, allocations: 63.88 kB / 0.8667 GB, free: 22.28 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.383e-05/2.233, allocations: 8 kB / 0.8667 GB, free: 22.27 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.811e-05/2.233, allocations: 15.91 kB / 0.8667 GB, free: 22.26 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09277/2.326, allocations: 23.95 MB / 0.8901 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.848e-05/2.326, allocations: 8 kB / 0.8901 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004136/2.33, allocations: 0.5733 MB / 0.8907 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02435/2.355, allocations: 4.642 MB / 0.8952 GB, free: 8.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007178/2.355, allocations: 56 kB / 0.8952 GB, free: 8.535 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4235/2.779, allocations: 18.91 MB / 0.9137 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.117e-05/2.779, allocations: 9.344 kB / 0.9137 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04028/2.819, allocations: 17.38 MB / 0.9307 GB, free: 135 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003471/2.823, allocations: 1.229 MB / 0.9319 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001428/2.824, allocations: 54.34 kB / 0.932 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004077/2.828, allocations: 251.9 kB / 0.9322 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001022/2.829, allocations: 191.7 kB / 0.9324 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004695/2.83, allocations: 86.02 kB / 0.9325 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007019/2.837, allocations: 3.33 MB / 0.9357 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.112e-06/2.837, allocations: 1.203 kB / 0.9357 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009533/2.846, allocations: 1.712 MB / 0.9374 GB, free: 134.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 246 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009084/2.847, allocations: 214.2 kB / 0.9376 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01818/2.866, allocations: 10.12 MB / 0.9475 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.481e-06/2.866, allocations: 0 / 0.9475 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007067/2.873, allocations: 3.908 MB / 0.9513 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003925/2.877, allocations: 0.5697 MB / 0.9518 GB, free: 130 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02886/2.906, allocations: 13.51 MB / 0.965 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009539/2.915, allocations: 4.753 MB / 0.9697 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01033/2.926, allocations: 3.004 MB / 0.9726 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002215/2.928, allocations: 346.2 kB / 0.9729 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of SimCode: time 2.831e-06/2.928, allocations: 3.938 kB / 0.9729 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.1646/3.092, allocations: 72.79 MB / 1.044 GB, free: 64.63 MB / 0.5261 GB