Running command: translateModel(ModelicaTest.MultiBody.Forces.Spring2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.|body1.Q.1.|body1.Q.2.|body1.Q.3.|body1.Q.4.|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.Q.1.|body2.Q.2.|body2.Q.3.|body2.Q.4.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Spring2") Notification: Performance of loadModel(ModelicaTest): time 2.456/2.456, allocations: 269 MB / 284.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.187e-05/3.189e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1266, allocations: 61.89 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring2): time 0.3859/0.5125, allocations: 41.94 MB / 452.9 MB, free: 5.191 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03155/0.5441, allocations: 9.685 MB / 462.6 MB, free: 14.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01276/0.557, allocations: 220.5 kB / 462.8 MB, free: 14.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008838/0.5659, allocations: 2.141 MB / 464.9 MB, free: 14.08 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0267/0.5926, allocations: 6.061 MB / 471 MB, free: 9.641 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004846/0.5975, allocations: 0.7575 MB / 471.7 MB, free: 9.145 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007211/0.6048, allocations: 2.312 MB / 474 MB, free: 7.707 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009611/0.6144, allocations: 4.228 MB / 478.3 MB, free: 4.148 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002988/0.6175, allocations: 1.013 MB / 479.3 MB, free: 3.133 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004062/0.6216, allocations: 1.66 MB / 480.9 MB, free: 1.469 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003622/0.6253, allocations: 0.8817 MB / 481.8 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001577/0.6269, allocations: 140 kB / 482 MB, free: 460 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003611/0.6305, allocations: 1.843 MB / 483.8 MB, free: 14.6 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002003/0.6326, allocations: 324 kB / 484.1 MB, free: 14.29 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01077/0.6434, allocations: 6.089 MB / 490.2 MB, free: 8.184 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.6435, allocations: 0 / 490.2 MB, free: 8.184 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.536e-06/0.6435, allocations: 0 / 490.2 MB, free: 8.184 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000314/0.6438, allocations: 0 / 490.2 MB, free: 8.184 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.01842/0.6622, allocations: 4.825 MB / 495 MB, free: 3.293 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.6623, allocations: 12.03 kB / 495 MB, free: 3.281 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02006/0.6824, allocations: 2.677 MB / 497.7 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009569/0.692, allocations: 3.055 MB / 0.489 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004825/0.6926, allocations: 291.2 kB / 0.4893 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003775/0.6963, allocations: 0.597 MB / 0.4899 GB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03877/0.7352, allocations: 12.24 MB / 0.5019 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003109/0.7355, allocations: 55.53 kB / 0.5019 GB, free: 15.49 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001691/0.7372, allocations: 175.8 kB / 0.5021 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006322/0.7436, allocations: 2.143 MB / 0.5042 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03863/0.7823, allocations: 10.88 MB / 0.5148 GB, free: 2.27 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1185/0.9009, allocations: 47.92 MB / 0.5616 GB, free: 1.121 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06519/0.9661, allocations: 5.406 MB / 0.5669 GB, free: 11.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03942/1.006, allocations: 12.39 MB / 0.579 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.681e-05/1.006, allocations: 59.81 kB / 0.579 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=219): time 6.362e-06/1.006, allocations: 0 / 0.579 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=258): time 0.1198/1.126, allocations: 25.22 MB / 0.6037 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3446/1.47, allocations: 4.604 MB / 0.6082 GB, free: 167.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01279/1.483, allocations: 4.376 MB / 0.6124 GB, free: 166.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007618/1.484, allocations: 63.02 kB / 0.6125 GB, free: 166.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003266/1.487, allocations: 3.432 MB / 0.6158 GB, free: 164.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001912/1.489, allocations: 1.022 MB / 0.6168 GB, free: 163.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001135/1.49, allocations: 154 kB / 0.617 GB, free: 163.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006678/1.491, allocations: 0.6322 MB / 0.6176 GB, free: 163.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009898/1.501, allocations: 3.294 MB / 0.6208 GB, free: 162.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01326/1.514, allocations: 7.579 MB / 0.6282 GB, free: 155.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01333/1.528, allocations: 4.846 MB / 0.633 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002919/1.528, allocations: 43.81 kB / 0.633 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=991) (initialization): time 0.07753/1.606, allocations: 15.97 MB / 0.6486 GB, free: 149.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001375/1.606, allocations: 66.69 kB / 0.6487 GB, free: 149.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0553/1.661, allocations: 9.424 MB / 0.6579 GB, free: 142.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.057/1.718, allocations: 6.644 MB / 0.6643 GB, free: 135.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01007/1.728, allocations: 1.704 MB / 0.666 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05009/1.778, allocations: 21.89 MB / 0.6874 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01085/1.789, allocations: 0.6592 MB / 0.688 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00187/1.791, allocations: 461.4 kB / 0.6885 GB, free: 110.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 688 * Number of states: 0 () * Number of discrete variables: 45 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (912): * Single equations (assignments): 892 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006548/1.798, allocations: 2.296 MB / 0.6907 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001421/1.799, allocations: 422.5 kB / 0.6911 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0267/1.826, allocations: 7.097 MB / 0.6981 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02453/1.851, allocations: 6.443 MB / 0.7043 GB, free: 93.97 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.731e-05/1.851, allocations: 8 kB / 0.7044 GB, free: 93.96 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.723e-05/1.851, allocations: 15.95 kB / 0.7044 GB, free: 93.95 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04768/1.898, allocations: 15.43 MB / 0.7194 GB, free: 78.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-05/1.899, allocations: 8 kB / 0.7194 GB, free: 78.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004128/1.903, allocations: 451.3 kB / 0.7199 GB, free: 77.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01841/1.921, allocations: 3.347 MB / 0.7231 GB, free: 74.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007713/1.922, allocations: 89.02 kB / 0.7232 GB, free: 74.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03007/1.952, allocations: 16.81 MB / 0.7396 GB, free: 56.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003583/1.956, allocations: 4.463 MB / 0.744 GB, free: 51.98 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03238/1.988, allocations: 11.32 MB / 0.7551 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001537/1.99, allocations: 0.4917 MB / 0.7555 GB, free: 39.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001892/1.992, allocations: 64.52 kB / 0.7556 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005517/1.997, allocations: 304.2 kB / 0.7559 GB, free: 39.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001074/1.998, allocations: 201.5 kB / 0.7561 GB, free: 39.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004439/1.999, allocations: 88.52 kB / 0.7562 GB, free: 39.12 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007191/2.006, allocations: 3.074 MB / 0.7592 GB, free: 36.04 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.383e-06/2.006, allocations: 0 / 0.7592 GB, free: 36.04 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009927/2.016, allocations: 1.605 MB / 0.7607 GB, free: 34.45 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 36 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 182 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 8,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001259/2.017, allocations: 238.7 kB / 0.761 GB, free: 34.21 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0273/2.045, allocations: 9.575 MB / 0.7703 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-05/2.045, allocations: 4 kB / 0.7703 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01535/2.06, allocations: 4.68 MB / 0.7749 GB, free: 19.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00464/2.065, allocations: 0.5188 MB / 0.7754 GB, free: 19.08 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03261/2.097, allocations: 15.97 MB / 0.791 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007509/2.105, allocations: 3.803 MB / 0.7947 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002215/2.107, allocations: 367.3 kB / 0.7951 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of SimCode: time 1.222e-06/2.107, allocations: 3.938 kB / 0.7951 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of Templates: time 1.217/3.324, allocations: 285.2 MB / 1.074 GB, free: 136.1 MB / 0.5417 GB