Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadModel(ModelicaTest): time 2.443/2.443, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.326e-05/3.329e-05, allocations: 4 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.387, allocations: 54.86 MB / 362.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.08089/0.468, allocations: 49.98 MB / 412.8 MB, free: 11.75 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.035/0.503, allocations: 11.55 MB / 424.4 MB, free: 156 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01246/0.5156, allocations: 267.4 kB / 424.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009538/0.5252, allocations: 2.621 MB / 427.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02769/0.5529, allocations: 7.199 MB / 434.5 MB, free: 6.039 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006088/0.5591, allocations: 1.225 MB / 435.7 MB, free: 4.812 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.03228/0.5914, allocations: 10.97 MB / 446.7 MB, free: 9.832 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01465/0.6061, allocations: 7.045 MB / 453.7 MB, free: 2.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004297/0.6105, allocations: 1.613 MB / 455.3 MB, free: 1.113 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006203/0.6168, allocations: 2.693 MB / 458 MB, free: 14.41 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004721/0.6215, allocations: 1.299 MB / 459.3 MB, free: 13.11 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002452/0.624, allocations: 252 kB / 459.6 MB, free: 12.87 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00544/0.6295, allocations: 2.93 MB / 462.5 MB, free: 9.93 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00279/0.6324, allocations: 488 kB / 463 MB, free: 9.453 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0179/0.6503, allocations: 10.62 MB / 473.6 MB, free: 14.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.6504, allocations: 0 / 473.6 MB, free: 14.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.687e-06/0.6504, allocations: 0 / 473.6 MB, free: 14.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004825/0.6509, allocations: 0 / 473.6 MB, free: 14.8 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2779 * Number of variables: 2779 Notification: Performance of Generate backend data structure: time 0.02799/0.6789, allocations: 7.517 MB / 481.1 MB, free: 7.207 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.679, allocations: 8.031 kB / 481.1 MB, free: 7.199 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08364/0.7626, allocations: 9.248 MB / 490.4 MB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02/0.7827, allocations: 6.015 MB / 496.4 MB, free: 7.828 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006269/0.7834, allocations: 434.9 kB / 496.8 MB, free: 7.402 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003564/0.787, allocations: 0.601 MB / 497.4 MB, free: 6.801 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6684/1.455, allocations: 20.82 MB / 0.5061 GB, free: 108.1 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003713/1.456, allocations: 74.09 kB / 0.5061 GB, free: 108 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002506/1.458, allocations: 284.1 kB / 0.5064 GB, free: 107.9 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008987/1.467, allocations: 3.71 MB / 0.51 GB, free: 106.5 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05614/1.524, allocations: 18.35 MB / 0.528 GB, free: 90 MB / 426.8 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1277/1.651, allocations: 74.46 MB / 0.6007 GB, free: 14.23 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02903/1.68, allocations: 7.456 MB / 0.608 GB, free: 6.523 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05102/1.732, allocations: 18.16 MB / 0.6257 GB, free: 3.793 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.115e-05/1.732, allocations: 64.56 kB / 0.6258 GB, free: 3.723 MB / 442.8 MB Notification: Performance of pre-optimization done (n=332): time 7.825e-06/1.732, allocations: 0 / 0.6258 GB, free: 3.723 MB / 442.8 MB Notification: Performance of matching and sorting (n=413): time 0.2238/1.956, allocations: 35.7 MB / 0.6606 GB, free: 15.78 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001565/1.956, allocations: 196.8 kB / 0.6608 GB, free: 15.55 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01613/1.972, allocations: 6.234 MB / 0.6669 GB, free: 9.32 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000976/1.973, allocations: 81.7 kB / 0.667 GB, free: 9.234 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006047/1.979, allocations: 5.243 MB / 0.6721 GB, free: 3.93 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002792/1.982, allocations: 1.519 MB / 0.6736 GB, free: 2.391 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001249/1.983, allocations: 208 kB / 0.6738 GB, free: 2.188 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001024/1.984, allocations: 0.7571 MB / 0.6745 GB, free: 1.422 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.377/2.361, allocations: 4.129 MB / 0.6785 GB, free: 162.6 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01645/2.378, allocations: 9.961 MB / 0.6883 GB, free: 153.3 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01525/2.393, allocations: 6.293 MB / 0.6944 GB, free: 150.9 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002058/2.393, allocations: 58.5 kB / 0.6945 GB, free: 150.9 MB / 490.8 MB Notification: Performance of matching and sorting (n=1374) (initialization): time 0.0484/2.442, allocations: 15.62 MB / 0.7097 GB, free: 145.4 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001487/2.442, allocations: 98.19 kB / 0.7098 GB, free: 145.4 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003254/2.442, allocations: 203 kB / 0.71 GB, free: 145.4 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01347/2.456, allocations: 2.332 MB / 0.7123 GB, free: 144.8 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01465/2.47, allocations: 2.395 MB / 0.7146 GB, free: 142.7 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03/2.5, allocations: 12.08 MB / 0.7264 GB, free: 132.3 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01116/2.512, allocations: 0.5882 MB / 0.727 GB, free: 131.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00212/2.514, allocations: 0.5832 MB / 0.7276 GB, free: 131.2 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 46 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1273): * Single equations (assignments): 1266 * 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.00944/2.523, allocations: 3.707 MB / 0.7312 GB, free: 127.6 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001541/2.525, allocations: 0.5939 MB / 0.7318 GB, free: 127.3 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02854/2.553, allocations: 8.147 MB / 0.7397 GB, free: 119.1 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000114/2.554, allocations: 60.7 kB / 0.7398 GB, free: 119 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-05/2.554, allocations: 10.75 kB / 0.7398 GB, free: 119 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.625e-05/2.554, allocations: 19.92 kB / 0.7398 GB, free: 119 MB / 490.8 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05642/2.61, allocations: 18.75 MB / 0.7581 GB, free: 100 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.917e-05/2.61, allocations: 16.03 kB / 0.7581 GB, free: 99.99 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005544/2.616, allocations: 0.6123 MB / 0.7587 GB, free: 99.38 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01194/2.628, allocations: 1.759 MB / 0.7605 GB, free: 97.61 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009822/2.629, allocations: 81.42 kB / 0.7605 GB, free: 97.54 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02641/2.655, allocations: 10.13 MB / 0.7704 GB, free: 87.35 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.454e-05/2.655, allocations: 23.98 kB / 0.7704 GB, free: 87.32 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03528/2.691, allocations: 14.06 MB / 0.7842 GB, free: 72.75 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00408/2.695, allocations: 1.176 MB / 0.7853 GB, free: 71.55 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002159/2.697, allocations: 72.94 kB / 0.7854 GB, free: 71.48 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005632/2.703, allocations: 208.4 kB / 0.7856 GB, free: 71.27 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001256/2.704, allocations: 250.9 kB / 0.7858 GB, free: 71.03 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005454/2.705, allocations: 112.8 kB / 0.7859 GB, free: 70.92 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.01083/2.715, allocations: 4.383 MB / 0.7902 GB, free: 66.55 MB / 490.8 MB Notification: Performance of sort global known variables: time 9.62e-07/2.715, allocations: 0 / 0.7902 GB, free: 66.55 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0116/2.727, allocations: 1.933 MB / 0.7921 GB, free: 64.62 MB / 490.8 MB 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 (325): * Single equations (assignments): 318 * 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.001511/2.729, allocations: 286.6 kB / 0.7924 GB, free: 64.36 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.02263/2.751, allocations: 9.758 MB / 0.8019 GB, free: 54.61 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.609e-05/2.751, allocations: 4 kB / 0.8019 GB, free: 54.61 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008229/2.76, allocations: 3.298 MB / 0.8051 GB, free: 51.29 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005877/2.766, allocations: 0.7258 MB / 0.8058 GB, free: 50.56 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04559/2.811, allocations: 21.53 MB / 0.8269 GB, free: 28.84 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01169/2.823, allocations: 5.752 MB / 0.8325 GB, free: 23.05 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003197/2.826, allocations: 495.4 kB / 0.833 GB, free: 22.57 MB / 490.8 MB Notification: Performance of SimCode: time 1.823e-06/2.826, allocations: 4 kB / 0.833 GB, free: 22.57 MB / 490.8 MB Notification: Performance of Templates: time 0.6128/3.439, allocations: 136.1 MB / 0.9659 GB, free: 49.16 MB / 490.8 MB