Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadModel(ModelicaTest): time 2.335/2.335, allocations: 270 MB / 282.7 MB, free: 1.809 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.908e-05/2.9e-05, allocations: 4 kB / 347 MB, free: 3.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3256, allocations: 61.88 MB / 408.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1731/0.4988, allocations: 111.2 MB / 0.5079 GB, free: 11.41 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.4991, allocations: 71.97 kB / 0.5079 GB, free: 11.34 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.714/1.213, allocations: 128.6 MB / 0.6335 GB, free: 6.008 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.234e-06/1.213, allocations: 0 / 0.6335 GB, free: 6.008 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003314/1.214, allocations: 115.9 kB / 0.6336 GB, free: 5.895 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.01965/1.233, allocations: 6.317 MB / 0.6398 GB, free: 15.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/1.233, allocations: 19.95 kB / 0.6398 GB, free: 15.48 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0448/1.278, allocations: 8.318 MB / 0.6479 GB, free: 7.141 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02362/1.302, allocations: 7.053 MB / 0.6548 GB, free: 28 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006981/1.302, allocations: 451.8 kB / 0.6552 GB, free: 15.58 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002993/1.305, allocations: 0.5895 MB / 0.6558 GB, free: 14.99 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04268/1.348, allocations: 15.55 MB / 0.671 GB, free: 14.28 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003198/1.349, allocations: 67.34 kB / 0.671 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002057/1.351, allocations: 287.8 kB / 0.6713 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003355/1.354, allocations: 1.62 MB / 0.6729 GB, free: 12.31 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03683/1.391, allocations: 13.58 MB / 0.6862 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4118/1.803, allocations: 64.03 MB / 0.7487 GB, free: 67.96 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01823/1.821, allocations: 6.387 MB / 0.7549 GB, free: 66.72 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005609/1.827, allocations: 3.515 MB / 0.7584 GB, free: 66.67 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02588/1.853, allocations: 14.42 MB / 0.7724 GB, free: 63.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.875e-05/1.853, allocations: 63.16 kB / 0.7725 GB, free: 63.06 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=289): time 7.609e-06/1.853, allocations: 0 / 0.7725 GB, free: 63.06 MB / 0.5105 GB Notification: Performance of matching and sorting (n=339): time 0.1135/1.966, allocations: 29.66 MB / 0.8015 GB, free: 57.62 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.331e-05/1.966, allocations: 212.8 kB / 0.8017 GB, free: 57.39 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008312/1.975, allocations: 4.766 MB / 0.8063 GB, free: 55.77 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006747/1.975, allocations: 77.02 kB / 0.8064 GB, free: 55.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00258/1.978, allocations: 4.282 MB / 0.8106 GB, free: 52.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001431/1.979, allocations: 1.257 MB / 0.8118 GB, free: 51.63 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007364/1.98, allocations: 174.6 kB / 0.812 GB, free: 51.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005061/1.981, allocations: 0.6857 MB / 0.8126 GB, free: 51.02 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008079/1.989, allocations: 4.491 MB / 0.817 GB, free: 49.36 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01052/1.999, allocations: 9.389 MB / 0.8262 GB, free: 41.11 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01109/2.01, allocations: 6.427 MB / 0.8325 GB, free: 38.19 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001074/2.011, allocations: 52 kB / 0.8325 GB, free: 38.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.04742/2.058, allocations: 17.92 MB / 0.85 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001185/2.058, allocations: 80 kB / 0.8501 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001733/2.058, allocations: 172 kB / 0.8503 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02538/2.084, allocations: 5.63 MB / 0.8558 GB, free: 20.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008718/2.092, allocations: 2.061 MB / 0.8578 GB, free: 19.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04017/2.133, allocations: 23.84 MB / 0.8811 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00905/2.142, allocations: 0.5411 MB / 0.8816 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001743/2.144, allocations: 0.5 MB / 0.8821 GB, free: 13.89 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.002035/2.146, allocations: 0.7543 MB / 0.8828 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001309/2.147, allocations: 0.5052 MB / 0.8833 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03898/2.186, allocations: 12.35 MB / 0.8954 GB, free: 204 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001236/2.186, allocations: 58.56 kB / 0.8954 GB, free: 148 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.601e-05/2.186, allocations: 12 kB / 0.8954 GB, free: 136 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.792e-05/2.186, allocations: 11.95 kB / 0.8954 GB, free: 124 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06526/2.251, allocations: 23.94 MB / 0.9188 GB, free: 7.703 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.085e-05/2.252, allocations: 4 kB / 0.9188 GB, free: 7.699 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003899/2.255, allocations: 0.5733 MB / 0.9194 GB, free: 7.125 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02423/2.28, allocations: 4.646 MB / 0.9239 GB, free: 2.461 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006862/2.28, allocations: 52 kB / 0.924 GB, free: 2.41 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3498/2.63, allocations: 18.91 MB / 0.9425 GB, free: 143.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.297e-06/2.63, allocations: 11.59 kB / 0.9425 GB, free: 143.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04153/2.672, allocations: 17.38 MB / 0.9594 GB, free: 142 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001477/2.673, allocations: 0.5301 MB / 0.96 GB, free: 141.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001149/2.675, allocations: 54.52 kB / 0.96 GB, free: 141.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003562/2.678, allocations: 249.2 kB / 0.9602 GB, free: 141.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008142/2.679, allocations: 199.6 kB / 0.9604 GB, free: 141.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004096/2.679, allocations: 83.42 kB / 0.9605 GB, free: 141.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.006302/2.686, allocations: 3.3 MB / 0.9637 GB, free: 140.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.79e-07/2.686, allocations: 0 / 0.9637 GB, free: 140.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00965/2.695, allocations: 1.714 MB / 0.9654 GB, free: 140.7 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.0008253/2.696, allocations: 214.4 kB / 0.9656 GB, free: 140.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01815/2.714, allocations: 10.14 MB / 0.9755 GB, free: 137.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.896e-06/2.714, allocations: 3.406 kB / 0.9755 GB, free: 137.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007042/2.722, allocations: 3.916 MB / 0.9793 GB, free: 135.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003675/2.725, allocations: 0.5869 MB / 0.9799 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02867/2.754, allocations: 14.18 MB / 0.9938 GB, free: 130 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008018/2.762, allocations: 4.754 MB / 0.9984 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002544/2.765, allocations: 417.1 kB / 0.9988 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of SimCode: time 1.889e-06/2.765, allocations: 0 / 0.9988 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of Templates: time 0.5086/3.273, allocations: 141.3 MB / 1.137 GB, free: 141.6 MB / 0.5573 GB