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.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadModel(Modelica): time 1.765/1.765, allocations: 171.2 MB / 185.7 MB, free: 1.406 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.819e-05/3.789e-05, allocations: 7.984 kB / 228.2 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08165/0.08172, allocations: 38.77 MB / 266.9 MB, free: 484 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.2748/0.3566, allocations: 33.02 MB / 299.9 MB, free: 3.754 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.02094/0.3776, allocations: 7.801 MB / 307.7 MB, free: 3.543 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008849/0.3865, allocations: 174.7 kB / 307.9 MB, free: 3.543 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007245/0.3938, allocations: 1.725 MB / 309.6 MB, free: 3.492 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01995/0.4138, allocations: 4.743 MB / 314.4 MB, free: 2.324 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003442/0.4173, allocations: 0.5283 MB / 314.9 MB, free: 2.152 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004735/0.4221, allocations: 1.535 MB / 316.4 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00739/0.4295, allocations: 3.703 MB / 320.2 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00178/0.4314, allocations: 0.7578 MB / 320.9 MB, free: 408 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001993/0.4334, allocations: 1.129 MB / 322 MB, free: 4 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002793/0.4362, allocations: 0.8409 MB / 322.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008976/0.4371, allocations: 107.5 kB / 323 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002022/0.4392, allocations: 1.352 MB / 324.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001122/0.4403, allocations: 245.6 kB / 324.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00888/0.4492, allocations: 5.006 MB / 329.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4493, allocations: 0 / 329.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4493, allocations: 0 / 329.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002396/0.4496, allocations: 4 kB / 329.6 MB, free: 12.65 MB / 266.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.01494/0.4645, allocations: 3.619 MB / 333.2 MB, free: 9.582 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.344e-05/0.4646, allocations: 8.031 kB / 333.2 MB, free: 9.574 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01954/0.4842, allocations: 2.172 MB / 335.4 MB, free: 7.496 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008483/0.4927, allocations: 2.155 MB / 337.5 MB, free: 5.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004262/0.4932, allocations: 236.5 kB / 337.8 MB, free: 5.621 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002834/0.4961, allocations: 384.1 kB / 338.1 MB, free: 5.359 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03838/0.5345, allocations: 9.794 MB / 347.9 MB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001811/0.5347, allocations: 39.59 kB / 348 MB, free: 12.28 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001165/0.5359, allocations: 147.9 kB / 348.1 MB, free: 12.17 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005087/0.541, allocations: 1.808 MB / 349.9 MB, free: 10.38 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0282/0.5693, allocations: 8.102 MB / 358 MB, free: 2.266 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.073/0.6423, allocations: 38.59 MB / 396.6 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01678/0.6592, allocations: 3.602 MB / 400.2 MB, free: 6.977 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01648/0.6757, allocations: 6.55 MB / 406.8 MB, free: 160 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.554e-05/0.6758, allocations: 55.2 kB / 406.8 MB, free: 96 kB / 330.7 MB Notification: Performance of pre-optimization done (n=131): time 4.909e-06/0.6758, allocations: 0 / 406.8 MB, free: 96 kB / 330.7 MB Notification: Performance of matching and sorting (n=138): time 0.05617/0.732, allocations: 12.05 MB / 418.9 MB, free: 3.801 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001923/0.734, allocations: 1.604 MB / 420.5 MB, free: 2.027 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009222/0.7432, allocations: 3.473 MB / 424 MB, free: 14.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004304/0.7437, allocations: 45.7 kB / 424 MB, free: 14.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003816/0.7476, allocations: 3.073 MB / 427.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001118/0.7487, allocations: 0.5803 MB / 427.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007649/0.7495, allocations: 116 kB / 427.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005815/0.7501, allocations: 0.5584 MB / 428.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006086/0.7562, allocations: 1.975 MB / 430.3 MB, free: 8.215 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009902/0.7662, allocations: 5.855 MB / 436.2 MB, free: 404 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2769/1.043, allocations: 3.306 MB / 439.5 MB, free: 120.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001264/1.043, allocations: 39.62 kB / 439.5 MB, free: 120.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02884/1.072, allocations: 8.781 MB / 448.3 MB, free: 118.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001376/1.072, allocations: 69.53 kB / 448.4 MB, free: 118.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01078/1.083, allocations: 2.869 MB / 451.2 MB, free: 117.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009861/1.093, allocations: 1.763 MB / 453 MB, free: 117.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007292/1.1, allocations: 1.326 MB / 454.3 MB, free: 116.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009034/1.11, allocations: 5.815 MB / 460.1 MB, free: 113.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006754/1.116, allocations: 397.2 kB / 460.5 MB, free: 113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001097/1.117, allocations: 382 kB / 460.9 MB, free: 112.9 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): 2 * Torn equation systems: 3 * 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: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 2 {6 26,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.004437/1.122, allocations: 1.946 MB / 462.8 MB, free: 112 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007244/1.123, allocations: 313.9 kB / 463.1 MB, free: 112 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01099/1.134, allocations: 3.066 MB / 466.2 MB, free: 110.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01038/1.144, allocations: 2.621 MB / 468.8 MB, free: 108.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.97e-05/1.144, allocations: 4 kB / 468.8 MB, free: 108.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.465e-05/1.144, allocations: 3.984 kB / 468.8 MB, free: 108.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008136/1.152, allocations: 3.556 MB / 472.4 MB, free: 104.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.811e-05/1.152, allocations: 4 kB / 472.4 MB, free: 104.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001644/1.154, allocations: 167.7 kB / 472.6 MB, free: 104.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008464/1.163, allocations: 1.495 MB / 474.1 MB, free: 103 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004094/1.163, allocations: 31.98 kB / 474.1 MB, free: 103 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00924/1.172, allocations: 5.861 MB / 479.9 MB, free: 96.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001087/1.173, allocations: 1.469 MB / 481.4 MB, free: 95.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01406/1.188, allocations: 5.238 MB / 486.7 MB, free: 90.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/1.189, allocations: 380.8 kB / 487 MB, free: 89.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008829/1.19, allocations: 24.62 kB / 487 MB, free: 89.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002955/1.192, allocations: 117.5 kB / 487.2 MB, free: 89.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004724/1.193, allocations: 92.81 kB / 487.3 MB, free: 89.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002279/1.193, allocations: 39.98 kB / 487.3 MB, free: 89.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.006785/1.2, allocations: 2.408 MB / 489.7 MB, free: 87.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.81e-07/1.2, allocations: 0 / 489.7 MB, free: 87.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.009287/1.209, allocations: 0.9861 MB / 490.7 MB, free: 86.04 MB / 362.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.0009181/1.21, allocations: 184 kB / 490.9 MB, free: 85.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01826/1.229, allocations: 5.288 MB / 496.2 MB, free: 80.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/1.229, allocations: 4.062 kB / 496.2 MB, free: 80.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008427/1.237, allocations: 1.969 MB / 498.1 MB, free: 78.51 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003631/1.241, allocations: 345.3 kB / 498.5 MB, free: 78.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02818/1.269, allocations: 10.32 MB / 0.4969 GB, free: 67.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007692/1.277, allocations: 3.118 MB / 0.4999 GB, free: 64.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.007804/1.285, allocations: 1.779 MB / 0.5016 GB, free: 62.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009888/1.286, allocations: 215.4 kB / 0.5018 GB, free: 62.68 MB / 362.7 MB Notification: Performance of SimCode: time 1.342e-06/1.286, allocations: 0 / 0.5018 GB, free: 62.68 MB / 362.7 MB Notification: Performance of Templates: time 0.09223/1.378, allocations: 33.58 MB / 0.5346 GB, free: 29.19 MB / 362.7 MB