Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadModel(ModelicaTest): time 2.269/2.269, allocations: 270 MB / 282.7 MB, free: 1.77 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.752e-05/2.76e-05, allocations: 4 kB / 347 MB, free: 3.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3179, allocations: 61.88 MB / 408.8 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1806/0.4985, allocations: 119.5 MB / 0.516 GB, free: 2.965 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.4988, allocations: 71.97 kB / 0.516 GB, free: 2.895 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9315/1.43, allocations: 174.1 MB / 0.686 GB, free: 440 kB / 490.7 MB Notification: Performance of FrontEnd: time 2.574e-06/1.43, allocations: 0 / 0.686 GB, free: 440 kB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004217/1.431, allocations: 152 kB / 0.6861 GB, free: 288 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.02598/1.457, allocations: 7.686 MB / 0.6936 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/1.457, allocations: 8.031 kB / 0.6937 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03936/1.496, allocations: 6.947 MB / 0.7004 GB, free: 1.539 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0298/1.526, allocations: 9.257 MB / 0.7095 GB, free: 8.195 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009152/1.527, allocations: 0.5656 MB / 0.71 GB, free: 7.629 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003761/1.531, allocations: 0.7652 MB / 0.7108 GB, free: 6.863 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6764/2.207, allocations: 20.45 MB / 0.7308 GB, free: 79.42 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004065/2.208, allocations: 94.36 kB / 0.7308 GB, free: 79.42 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002866/2.211, allocations: 363.7 kB / 0.7312 GB, free: 79.42 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00331/2.214, allocations: 1.96 MB / 0.7331 GB, free: 79.41 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04424/2.258, allocations: 17.63 MB / 0.7503 GB, free: 79.38 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1103/2.368, allocations: 82.19 MB / 0.8306 GB, free: 28.85 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02255/2.391, allocations: 7.267 MB / 0.8377 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007055/2.398, allocations: 3.933 MB / 0.8415 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03547/2.434, allocations: 18.18 MB / 0.8593 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.144e-05/2.434, allocations: 70.25 kB / 0.8593 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=332): time 8.647e-06/2.434, allocations: 0 / 0.8593 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=413): time 0.1018/2.536, allocations: 25.87 MB / 0.8846 GB, free: 9.359 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001555/2.536, allocations: 196.8 kB / 0.8848 GB, free: 9.129 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01225/2.548, allocations: 5.656 MB / 0.8903 GB, free: 4.25 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0007303/2.549, allocations: 85.7 kB / 0.8904 GB, free: 4.16 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.005343/2.554, allocations: 5.243 MB / 0.8955 GB, free: 15.42 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.002298/2.557, allocations: 1.525 MB / 0.897 GB, free: 14.07 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001108/2.558, allocations: 204 kB / 0.8972 GB, free: 13.87 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0008916/2.559, allocations: 0.7579 MB / 0.898 GB, free: 13.23 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009659/2.568, allocations: 4.027 MB / 0.9019 GB, free: 9.57 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01547/2.584, allocations: 9.801 MB / 0.9115 GB, free: 13.62 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01358/2.597, allocations: 6.253 MB / 0.9176 GB, free: 8.355 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001986/2.598, allocations: 60 kB / 0.9176 GB, free: 8.297 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1373) (initialization): time 0.384/2.982, allocations: 15.22 MB / 0.9325 GB, free: 114.6 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001455/2.982, allocations: 100.5 kB / 0.9326 GB, free: 114.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002126/2.982, allocations: 206.8 kB / 0.9328 GB, free: 114.6 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009777/2.992, allocations: 2.326 MB / 0.9351 GB, free: 114.6 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0112/3.003, allocations: 2.445 MB / 0.9374 GB, free: 114.6 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02317/3.026, allocations: 11.53 MB / 0.9487 GB, free: 113.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01095/3.037, allocations: 0.6924 MB / 0.9494 GB, free: 113.2 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001939/3.039, allocations: 0.5897 MB / 0.95 GB, free: 113.2 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 49 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1272): * Single equations (assignments): 1265 * Array equations: 6 * 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 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002279/3.042, allocations: 0.869 MB / 0.9508 GB, free: 113.1 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001284/3.043, allocations: 0.5917 MB / 0.9514 GB, free: 113.1 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02116/3.064, allocations: 8.083 MB / 0.9593 GB, free: 112.9 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001087/3.064, allocations: 61.61 kB / 0.9593 GB, free: 112.9 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.36e-05/3.064, allocations: 14.03 kB / 0.9593 GB, free: 112.9 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.658e-05/3.064, allocations: 20.3 kB / 0.9594 GB, free: 112.9 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04479/3.109, allocations: 18.7 MB / 0.9776 GB, free: 111 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.932e-05/3.109, allocations: 11.03 kB / 0.9776 GB, free: 111 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004064/3.113, allocations: 0.6474 MB / 0.9783 GB, free: 111 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009251/3.123, allocations: 1.872 MB / 0.9801 GB, free: 111 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005886/3.123, allocations: 77.94 kB / 0.9802 GB, free: 111 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01989/3.143, allocations: 9.879 MB / 0.9898 GB, free: 108 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.642e-05/3.143, allocations: 20.86 kB / 0.9898 GB, free: 108 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02753/3.171, allocations: 14.17 MB / 1.004 GB, free: 101.1 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001818/3.173, allocations: 0.6347 MB / 1.004 GB, free: 100.7 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001364/3.174, allocations: 78.27 kB / 1.004 GB, free: 100.7 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004181/3.178, allocations: 263.3 kB / 1.005 GB, free: 100.6 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009371/3.179, allocations: 256.6 kB / 1.005 GB, free: 100.6 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004175/3.18, allocations: 110.2 kB / 1.005 GB, free: 100.6 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.008199/3.188, allocations: 3.915 MB / 1.009 GB, free: 99.21 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.313e-06/3.188, allocations: 0 / 1.009 GB, free: 99.21 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01144/3.199, allocations: 1.936 MB / 1.011 GB, free: 98.99 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 2 (j2.s,j2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (324): * Single equations (assignments): 317 * Array equations: 6 * 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 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001061/3.2, allocations: 284.2 kB / 1.011 GB, free: 98.86 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.01846/3.219, allocations: 9.315 MB / 1.02 GB, free: 95.97 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/3.219, allocations: 0 / 1.02 GB, free: 95.97 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.006448/3.225, allocations: 3.226 MB / 1.023 GB, free: 94.74 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004304/3.23, allocations: 0.7242 MB / 1.024 GB, free: 94.44 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03242/3.262, allocations: 15.46 MB / 1.039 GB, free: 83.13 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01076/3.273, allocations: 5.744 MB / 1.045 GB, free: 78.93 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002567/3.276, allocations: 489.7 kB / 1.045 GB, free: 78.46 MB / 0.5574 GB Notification: Performance of SimCode: time 2.392e-06/3.276, allocations: 3.344 kB / 1.045 GB, free: 78.46 MB / 0.5574 GB Notification: Performance of Templates: time 0.5225/3.798, allocations: 133.9 MB / 1.176 GB, free: 84.86 MB / 0.5574 GB