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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") Notification: Performance of loadModel(Modelica): time 2.148/2.148, allocations: 194.9 MB / 211.2 MB, free: 8.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.785e-05/3.803e-05, allocations: 7.906 kB / 258.8 MB, free: 8.508 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3094, allocations: 44.5 MB / 303.3 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.05284/0.3623, allocations: 33.03 MB / 336.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02368/0.386, allocations: 7.819 MB / 344.1 MB, free: 4.703 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007728/0.3938, allocations: 175.6 kB / 344.3 MB, free: 4.531 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006501/0.4003, allocations: 1.715 MB / 346 MB, free: 2.809 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01845/0.4188, allocations: 4.741 MB / 350.8 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003239/0.4221, allocations: 0.5186 MB / 351.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004807/0.427, allocations: 1.533 MB / 352.8 MB, free: 12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008072/0.4351, allocations: 3.704 MB / 356.5 MB, free: 8.242 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001888/0.4371, allocations: 0.7558 MB / 357.3 MB, free: 7.484 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002391/0.4395, allocations: 1.13 MB / 358.4 MB, free: 6.352 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002565/0.4421, allocations: 0.8426 MB / 359.3 MB, free: 5.508 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008086/0.443, allocations: 112 kB / 359.4 MB, free: 5.398 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002041/0.445, allocations: 1.356 MB / 360.7 MB, free: 4.039 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001041/0.4461, allocations: 244 kB / 361 MB, free: 3.801 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008574/0.4547, allocations: 5.025 MB / 366 MB, free: 14.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.4548, allocations: 0 / 366 MB, free: 14.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.992e-06/0.4548, allocations: 8 kB / 366 MB, free: 14.76 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002374/0.455, allocations: 0 / 366 MB, free: 14.76 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.012/0.467, allocations: 3.607 MB / 369.6 MB, free: 11.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.4671, allocations: 8.031 kB / 369.6 MB, free: 11.08 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01455/0.4817, allocations: 2.202 MB / 371.8 MB, free: 8.867 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006598/0.4883, allocations: 2.161 MB / 374 MB, free: 6.656 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003533/0.4887, allocations: 237.9 kB / 374.2 MB, free: 6.422 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002108/0.4909, allocations: 371.7 kB / 374.6 MB, free: 6.059 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02963/0.5205, allocations: 9.788 MB / 384.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001658/0.5208, allocations: 39.62 kB / 384.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001043/0.5218, allocations: 151.9 kB / 384.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005076/0.5269, allocations: 1.817 MB / 386.4 MB, free: 9.547 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02884/0.5558, allocations: 8.105 MB / 394.5 MB, free: 1.43 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3835/0.9393, allocations: 38.6 MB / 433.1 MB, free: 81.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01552/0.9549, allocations: 3.608 MB / 436.7 MB, free: 81.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01489/0.9699, allocations: 6.561 MB / 443.2 MB, free: 78.56 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.883e-05/0.97, allocations: 44.62 kB / 443.3 MB, free: 78.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=131): time 5.03e-06/0.97, allocations: 0 / 443.3 MB, free: 78.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=138): time 0.04865/1.019, allocations: 12.06 MB / 455.3 MB, free: 71.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001299/1.02, allocations: 1.608 MB / 456.9 MB, free: 69.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006193/1.026, allocations: 3.481 MB / 460.4 MB, free: 66.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003615/1.027, allocations: 46.95 kB / 460.5 MB, free: 66.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001864/1.028, allocations: 3.027 MB / 463.5 MB, free: 63.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007344/1.029, allocations: 0.5845 MB / 464.1 MB, free: 62.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003594/1.03, allocations: 122.7 kB / 464.2 MB, free: 62.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003254/1.03, allocations: 0.5591 MB / 464.8 MB, free: 62.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004334/1.034, allocations: 2.001 MB / 466.8 MB, free: 60.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006082/1.04, allocations: 5.88 MB / 472.6 MB, free: 52.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006935/1.047, allocations: 3.34 MB / 476 MB, free: 49.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.195e-05/1.047, allocations: 40 kB / 476 MB, free: 49.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.03563/1.083, allocations: 9.603 MB / 485.6 MB, free: 39.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/1.083, allocations: 65.25 kB / 485.7 MB, free: 39.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02102/1.104, allocations: 3.775 MB / 489.5 MB, free: 35.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0224/1.127, allocations: 2.752 MB / 492.2 MB, free: 32.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00725/1.134, allocations: 1.329 MB / 493.5 MB, free: 31.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01613/1.15, allocations: 7.558 MB / 0.4894 GB, free: 23.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008831/1.159, allocations: 399.4 kB / 0.4897 GB, free: 23.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001401/1.161, allocations: 384.5 kB / 0.4901 GB, free: 22.98 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.006557/1.167, allocations: 1.938 MB / 0.492 GB, free: 21.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001092/1.168, allocations: 319.9 kB / 0.4923 GB, free: 20.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01502/1.183, allocations: 3.055 MB / 0.4953 GB, free: 17.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0132/1.197, allocations: 2.624 MB / 0.4979 GB, free: 15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.748e-05/1.197, allocations: 4 kB / 0.4979 GB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.076e-05/1.197, allocations: 11.97 kB / 0.4979 GB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01087/1.208, allocations: 3.557 MB / 0.5013 GB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.976e-05/1.208, allocations: 4.188 kB / 0.5013 GB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002096/1.21, allocations: 159.8 kB / 0.5015 GB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01134/1.221, allocations: 1.503 MB / 0.503 GB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003919/1.222, allocations: 35.92 kB / 0.503 GB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01276/1.234, allocations: 5.855 MB / 0.5087 GB, free: 3.531 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001553/1.236, allocations: 1.468 MB / 0.5101 GB, free: 1.922 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01663/1.253, allocations: 5.244 MB / 0.5153 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001292/1.254, allocations: 372.8 kB / 0.5156 GB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009304/1.255, allocations: 33.31 kB / 0.5157 GB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002618/1.258, allocations: 115.8 kB / 0.5158 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004015/1.258, allocations: 84.8 kB / 0.5158 GB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000176/1.258, allocations: 41.16 kB / 0.5159 GB, free: 11.97 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.006329/1.265, allocations: 2.403 MB / 0.5182 GB, free: 9.582 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.82e-07/1.265, allocations: 0 / 0.5182 GB, free: 9.582 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007237/1.272, allocations: 1.018 MB / 0.5192 GB, free: 8.57 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.0007729/1.273, allocations: 177.1 kB / 0.5194 GB, free: 8.398 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01668/1.289, allocations: 5.347 MB / 0.5246 GB, free: 3.008 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/1.29, allocations: 8.188 kB / 0.5246 GB, free: 3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00698/1.297, allocations: 1.971 MB / 0.5266 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002867/1.299, allocations: 350.4 kB / 0.5269 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02575/1.325, allocations: 10.75 MB / 0.5374 GB, free: 5.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005914/1.331, allocations: 3.12 MB / 0.5404 GB, free: 2.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001269/1.333, allocations: 267.3 kB / 0.5407 GB, free: 2.422 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/1.333, allocations: 0 / 0.5407 GB, free: 2.422 MB / 394.7 MB Notification: Performance of Templates: time 0.5218/1.854, allocations: 132.7 MB / 0.6703 GB, free: 63.95 MB / 426.7 MB