Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadModel(Modelica): time 1.77/1.77, allocations: 194.9 MB / 210.6 MB, free: 8.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.069e-05/3.07e-05, allocations: 7.906 kB / 258.8 MB, free: 7.863 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2844, allocations: 44.51 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.04845/0.3329, allocations: 33.04 MB / 336.4 MB, free: 12.47 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02077/0.3538, allocations: 7.818 MB / 344.2 MB, free: 4.633 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006838/0.3607, allocations: 175.6 kB / 344.4 MB, free: 4.461 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005672/0.3664, allocations: 1.715 MB / 346.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01683/0.3833, allocations: 4.745 MB / 350.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00297/0.3863, allocations: 0.5225 MB / 351.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004334/0.3906, allocations: 1.522 MB / 352.9 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007068/0.3977, allocations: 3.704 MB / 356.6 MB, free: 8.176 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.3993, allocations: 0.7598 MB / 357.3 MB, free: 7.414 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002004/0.4013, allocations: 1.122 MB / 358.4 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002328/0.4036, allocations: 0.8543 MB / 359.3 MB, free: 5.434 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007352/0.4044, allocations: 108 kB / 359.4 MB, free: 5.328 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001831/0.4062, allocations: 1.352 MB / 360.8 MB, free: 3.973 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009047/0.4072, allocations: 244 kB / 361 MB, free: 3.734 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007642/0.4148, allocations: 5.019 MB / 366 MB, free: 14.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4149, allocations: 4 kB / 366 MB, free: 14.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.4149, allocations: 4 kB / 366 MB, free: 14.7 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001965/0.4151, allocations: 0 / 366 MB, free: 14.7 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1465 * Number of variables: 1465 Notification: Performance of Generate backend data structure: time 0.0107/0.4258, allocations: 3.611 MB / 369.6 MB, free: 11.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.4259, allocations: 8.031 kB / 369.6 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01386/0.4397, allocations: 2.202 MB / 371.8 MB, free: 8.801 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005907/0.4457, allocations: 2.157 MB / 374 MB, free: 6.594 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002543/0.446, allocations: 241.8 kB / 374.2 MB, free: 6.355 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001582/0.4476, allocations: 375.7 kB / 374.6 MB, free: 5.988 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02568/0.4733, allocations: 9.788 MB / 384.4 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001376/0.4735, allocations: 47.62 kB / 384.4 MB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006469/0.4741, allocations: 151.8 kB / 384.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004719/0.4789, allocations: 1.809 MB / 386.4 MB, free: 9.477 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02636/0.5053, allocations: 8.101 MB / 394.5 MB, free: 1.363 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3244/0.8298, allocations: 38.61 MB / 433.1 MB, free: 81.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01521/0.845, allocations: 3.604 MB / 436.7 MB, free: 81.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01309/0.8582, allocations: 6.56 MB / 443.3 MB, free: 78.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.837e-05/0.8583, allocations: 50.28 kB / 443.3 MB, free: 78.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=131): time 5.059e-06/0.8583, allocations: 0 / 443.3 MB, free: 78.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=138): time 0.04764/0.9059, allocations: 12.06 MB / 455.4 MB, free: 71.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001275/0.9073, allocations: 1.607 MB / 457 MB, free: 69.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006367/0.9136, allocations: 3.481 MB / 460.5 MB, free: 66.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003482/0.914, allocations: 42.64 kB / 460.5 MB, free: 66.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002008/0.9161, allocations: 3.073 MB / 463.6 MB, free: 63.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007298/0.9168, allocations: 0.5831 MB / 464.2 MB, free: 62.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003989/0.9172, allocations: 116 kB / 464.3 MB, free: 62.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003245/0.9176, allocations: 0.5621 MB / 464.8 MB, free: 61.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004482/0.9221, allocations: 1.995 MB / 466.8 MB, free: 59.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006462/0.9285, allocations: 5.885 MB / 472.7 MB, free: 52.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006948/0.9355, allocations: 3.335 MB / 476 MB, free: 49.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-05/0.9357, allocations: 40 kB / 476.1 MB, free: 48.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.03518/0.9709, allocations: 9.694 MB / 485.8 MB, free: 39.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.463e-05/0.971, allocations: 65.25 kB / 485.8 MB, free: 39.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02055/0.9916, allocations: 3.77 MB / 489.6 MB, free: 35.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0222/1.014, allocations: 2.752 MB / 492.4 MB, free: 32.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007103/1.021, allocations: 1.326 MB / 493.7 MB, free: 31.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0155/1.037, allocations: 7.562 MB / 0.4895 GB, free: 23.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006408/1.043, allocations: 405.4 kB / 0.4899 GB, free: 23.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001005/1.044, allocations: 380 kB / 0.4903 GB, free: 22.74 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 36 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (717): * Single equations (assignments): 707 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.003792/1.048, allocations: 1.94 MB / 0.4921 GB, free: 20.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006884/1.049, allocations: 327.7 kB / 0.4925 GB, free: 20.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01035/1.059, allocations: 3.058 MB / 0.4954 GB, free: 17.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009404/1.068, allocations: 2.624 MB / 0.498 GB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/1.068, allocations: 4 kB / 0.498 GB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.729e-05/1.068, allocations: 3.984 kB / 0.498 GB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007366/1.076, allocations: 3.564 MB / 0.5015 GB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.166e-05/1.076, allocations: 0 / 0.5015 GB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001581/1.077, allocations: 163.7 kB / 0.5017 GB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008271/1.086, allocations: 1.496 MB / 0.5031 GB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002789/1.086, allocations: 35.97 kB / 0.5031 GB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008912/1.095, allocations: 5.846 MB / 0.5089 GB, free: 3.297 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00106/1.096, allocations: 1.472 MB / 0.5103 GB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01504/1.111, allocations: 5.245 MB / 0.5154 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/1.112, allocations: 380.8 kB / 0.5158 GB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007417/1.113, allocations: 31.98 kB / 0.5158 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002319/1.115, allocations: 115.8 kB / 0.5159 GB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003086/1.116, allocations: 85.47 kB / 0.516 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001709/1.116, allocations: 44.83 kB / 0.516 GB, free: 11.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.005379/1.121, allocations: 2.403 MB / 0.5184 GB, free: 9.332 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.52e-07/1.121, allocations: 0 / 0.5184 GB, free: 9.332 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006219/1.128, allocations: 1.014 MB / 0.5194 GB, free: 8.324 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {8 27} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006474/1.128, allocations: 177 kB / 0.5195 GB, free: 8.148 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01491/1.143, allocations: 5.34 MB / 0.5248 GB, free: 2.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/1.143, allocations: 4.062 kB / 0.5248 GB, free: 2.766 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006671/1.15, allocations: 1.972 MB / 0.5267 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002642/1.153, allocations: 350.1 kB / 0.527 GB, free: 392 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02262/1.175, allocations: 10.31 MB / 0.5371 GB, free: 6.035 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005347/1.181, allocations: 3.124 MB / 0.5401 GB, free: 2.891 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.007639/1.188, allocations: 1.779 MB / 0.5419 GB, free: 1.102 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008942/1.189, allocations: 215.4 kB / 0.5421 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of SimCode: time 1.342e-06/1.189, allocations: 0 / 0.5421 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of Templates: time 0.4166/1.606, allocations: 35.97 MB / 0.5772 GB, free: 154.5 MB / 426.7 MB