Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadModel(ModelicaTest): time 2.459/2.459, allocations: 270 MB / 283.6 MB, free: 1.785 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.051e-05/3.057e-05, allocations: 4 kB / 348.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.32, allocations: 61.88 MB / 410.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1695/0.4896, allocations: 111.2 MB / 0.5092 GB, free: 11.34 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.4899, allocations: 75.97 kB / 0.5093 GB, free: 11.27 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7231/1.213, allocations: 128.6 MB / 0.6349 GB, free: 5.898 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.296e-06/1.213, allocations: 4 kB / 0.6349 GB, free: 5.895 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003314/1.213, allocations: 123.9 kB / 0.635 GB, free: 5.773 MB / 442.7 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.01995/1.233, allocations: 6.313 MB / 0.6412 GB, free: 15.39 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/1.233, allocations: 15.97 kB / 0.6412 GB, free: 15.37 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04512/1.279, allocations: 8.314 MB / 0.6493 GB, free: 7.031 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02451/1.303, allocations: 7.064 MB / 0.6562 GB, free: 15.9 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007238/1.304, allocations: 447.8 kB / 0.6566 GB, free: 15.46 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003254/1.307, allocations: 0.5856 MB / 0.6572 GB, free: 14.88 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0436/1.351, allocations: 15.55 MB / 0.6724 GB, free: 14.17 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003333/1.351, allocations: 71.34 kB / 0.6724 GB, free: 14.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002388/1.354, allocations: 283.8 kB / 0.6727 GB, free: 13.82 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003266/1.357, allocations: 1.616 MB / 0.6743 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03709/1.394, allocations: 13.58 MB / 0.6876 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.49/1.884, allocations: 64.03 MB / 0.7501 GB, free: 69.14 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01782/1.902, allocations: 6.39 MB / 0.7563 GB, free: 67.89 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005768/1.908, allocations: 3.522 MB / 0.7598 GB, free: 67.84 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02826/1.936, allocations: 14.42 MB / 0.7738 GB, free: 64.27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.581e-05/1.936, allocations: 66.31 kB / 0.7739 GB, free: 64.23 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=289): time 7.729e-06/1.936, allocations: 0 / 0.7739 GB, free: 64.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=339): time 0.1144/2.051, allocations: 29.65 MB / 0.8029 GB, free: 58.84 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.975e-05/2.051, allocations: 218.9 kB / 0.8031 GB, free: 58.62 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01012/2.061, allocations: 4.767 MB / 0.8077 GB, free: 56.99 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000686/2.062, allocations: 77.44 kB / 0.8078 GB, free: 56.93 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003264/2.065, allocations: 4.417 MB / 0.8121 GB, free: 53.76 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001602/2.067, allocations: 1.254 MB / 0.8133 GB, free: 52.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009833/2.068, allocations: 174.9 kB / 0.8135 GB, free: 52.71 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005947/2.068, allocations: 0.682 MB / 0.8142 GB, free: 52.24 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008233/2.076, allocations: 4.491 MB / 0.8186 GB, free: 50.58 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0112/2.088, allocations: 9.389 MB / 0.8277 GB, free: 42.33 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/2.099, allocations: 6.428 MB / 0.834 GB, free: 39.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001297/2.099, allocations: 48 kB / 0.834 GB, free: 39.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.0496/2.149, allocations: 18.1 MB / 0.8517 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001241/2.149, allocations: 80 kB / 0.8518 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001848/2.149, allocations: 172 kB / 0.852 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02583/2.175, allocations: 5.634 MB / 0.8575 GB, free: 22.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009149/2.184, allocations: 2.059 MB / 0.8595 GB, free: 20.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03897/2.223, allocations: 23.73 MB / 0.8826 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009577/2.233, allocations: 0.5499 MB / 0.8832 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002028/2.235, allocations: 0.5 MB / 0.8837 GB, free: 14.82 MB / 0.5261 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.002456/2.237, allocations: 0.7601 MB / 0.8844 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001466/2.239, allocations: 0.4975 MB / 0.8849 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04254/2.281, allocations: 12.34 MB / 0.8969 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001176/2.282, allocations: 59.98 kB / 0.897 GB, free: 1.09 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.892e-05/2.282, allocations: 8 kB / 0.897 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.195e-05/2.282, allocations: 19.89 kB / 0.897 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06994/2.352, allocations: 23.94 MB / 0.9204 GB, free: 8.648 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.57e-05/2.352, allocations: 4 kB / 0.9204 GB, free: 8.645 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004153/2.356, allocations: 0.5733 MB / 0.921 GB, free: 8.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0247/2.381, allocations: 4.65 MB / 0.9255 GB, free: 3.414 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007127/2.381, allocations: 59.95 kB / 0.9256 GB, free: 3.355 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3598/2.741, allocations: 18.91 MB / 0.944 GB, free: 144.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.793e-06/2.741, allocations: 11.59 kB / 0.944 GB, free: 144.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04127/2.783, allocations: 17.37 MB / 0.961 GB, free: 143.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001562/2.784, allocations: 0.5327 MB / 0.9615 GB, free: 143.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001724/2.786, allocations: 54.72 kB / 0.9616 GB, free: 143.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004513/2.79, allocations: 256.1 kB / 0.9618 GB, free: 143.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001099/2.792, allocations: 190.8 kB / 0.962 GB, free: 143.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005188/2.792, allocations: 89.52 kB / 0.9621 GB, free: 143.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.008287/2.8, allocations: 3.299 MB / 0.9653 GB, free: 142.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.616e-06/2.801, allocations: 1.75 kB / 0.9653 GB, free: 142.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01049/2.811, allocations: 1.717 MB / 0.967 GB, free: 142.4 MB / 0.5573 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.001058/2.812, allocations: 219.2 kB / 0.9672 GB, free: 142.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01887/2.831, allocations: 10.12 MB / 0.9771 GB, free: 138.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/2.831, allocations: 6.188 kB / 0.9771 GB, free: 138.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007406/2.838, allocations: 3.894 MB / 0.9809 GB, free: 137.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003901/2.842, allocations: 0.5764 MB / 0.9815 GB, free: 136.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02933/2.872, allocations: 13.48 MB / 0.9946 GB, free: 132 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009635/2.882, allocations: 4.746 MB / 0.9993 GB, free: 130.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01055/2.892, allocations: 2.994 MB / 1.002 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002249/2.894, allocations: 355.1 kB / 1.003 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of SimCode: time 1.866e-06/2.894, allocations: 0 / 1.003 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of Templates: time 0.2042/3.099, allocations: 72.72 MB / 1.074 GB, free: 72.39 MB / 0.5573 GB