Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p1.s|p1.v|p2.s|p2.v",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem") Notification: Performance of loadModel(Modelica): time 1.864/1.864, allocations: 194.9 MB / 210.6 MB, free: 9.328 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.072e-05/3.073e-05, allocations: 0 / 258.8 MB, free: 9.035 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3, allocations: 44.51 MB / 303.3 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystem): time 0.0465/0.3465, allocations: 30.42 MB / 333.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01928/0.3659, allocations: 7.299 MB / 341 MB, free: 7.805 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005933/0.3719, allocations: 163.6 kB / 341.2 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005326/0.3772, allocations: 1.563 MB / 342.8 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01579/0.3931, allocations: 4.429 MB / 347.2 MB, free: 1.633 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002818/0.3959, allocations: 0.589 MB / 347.8 MB, free: 1.043 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004659/0.4006, allocations: 1.759 MB / 349.5 MB, free: 15.28 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005422/0.4061, allocations: 2.956 MB / 352.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001483/0.4076, allocations: 0.8377 MB / 353.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0023/0.4099, allocations: 1.352 MB / 354.7 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00184/0.4118, allocations: 0.6788 MB / 355.4 MB, free: 9.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006231/0.4124, allocations: 112 kB / 355.5 MB, free: 9.301 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001776/0.4142, allocations: 1.449 MB / 356.9 MB, free: 7.848 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009217/0.4151, allocations: 252 kB / 357.2 MB, free: 7.602 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006848/0.422, allocations: 4.836 MB / 362 MB, free: 2.754 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.422, allocations: 0 / 362 MB, free: 2.754 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4221, allocations: 0 / 362 MB, free: 2.754 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001326/0.4222, allocations: 0 / 362 MB, free: 2.754 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1450 * Number of variables: 1450 Notification: Performance of Generate backend data structure: time 0.01043/0.4326, allocations: 3.719 MB / 365.7 MB, free: 14.97 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.4327, allocations: 8.031 kB / 365.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01469/0.4474, allocations: 2.264 MB / 368 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007191/0.4546, allocations: 2.668 MB / 370.7 MB, free: 9.961 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002521/0.4549, allocations: 221.5 kB / 370.9 MB, free: 9.742 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008387/0.4558, allocations: 295.7 kB / 371.2 MB, free: 9.453 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02312/0.4789, allocations: 9.57 MB / 380.7 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001524/0.4791, allocations: 47.53 kB / 380.8 MB, free: 15.08 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005697/0.4797, allocations: 147.8 kB / 380.9 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004877/0.4846, allocations: 1.899 MB / 382.8 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02384/0.5085, allocations: 7.582 MB / 390.4 MB, free: 5.418 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3115/0.82, allocations: 37.55 MB / 428 MB, free: 99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01045/0.8305, allocations: 2.76 MB / 430.7 MB, free: 98.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007804/0.8383, allocations: 3.448 MB / 434.2 MB, free: 97.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.082e-05/0.8384, allocations: 47.72 kB / 434.2 MB, free: 97.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=127): time 5.601e-06/0.8384, allocations: 0 / 434.2 MB, free: 97.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=145): time 0.03243/0.8709, allocations: 9.19 MB / 443.4 MB, free: 93.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/0.871, allocations: 140.4 kB / 443.6 MB, free: 92.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007093/0.8781, allocations: 3.71 MB / 447.3 MB, free: 91.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002405/0.8784, allocations: 48.42 kB / 447.3 MB, free: 91.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002336/0.8807, allocations: 3.079 MB / 450.4 MB, free: 89.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006682/0.8814, allocations: 0.584 MB / 451 MB, free: 88.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003574/0.8818, allocations: 111.5 kB / 451.1 MB, free: 88.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003283/0.8821, allocations: 0.5482 MB / 451.6 MB, free: 88.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003688/0.8858, allocations: 1.532 MB / 453.2 MB, free: 87.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005517/0.8914, allocations: 5.254 MB / 458.4 MB, free: 81.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005992/0.8974, allocations: 2.788 MB / 461.2 MB, free: 78.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.206e-05/0.8976, allocations: 36 kB / 461.2 MB, free: 78.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.0157/0.9133, allocations: 6.518 MB / 467.8 MB, free: 71.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.031e-05/0.9134, allocations: 60 kB / 467.8 MB, free: 71.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001461/0.9136, allocations: 136.9 kB / 467.9 MB, free: 71.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001851/0.9138, allocations: 196 kB / 468.1 MB, free: 71.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007389/0.9212, allocations: 1.361 MB / 469.5 MB, free: 70.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002185/0.9215, allocations: 259 kB / 469.8 MB, free: 69.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00528/0.9267, allocations: 288.9 kB / 470 MB, free: 69.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007314/0.9275, allocations: 364 kB / 470.4 MB, free: 69.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 609 * Number of states: 0 () * Number of discrete variables: 33 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],p1.boxColor[3],p1.boxColor[2],p1.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 (728): * Single equations (assignments): 725 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003747/0.9313, allocations: 1.922 MB / 472.3 MB, free: 67.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006803/0.932, allocations: 335.7 kB / 472.6 MB, free: 67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002773/0.9348, allocations: 1.22 MB / 473.9 MB, free: 65.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.31e-05/0.9348, allocations: 21.25 kB / 473.9 MB, free: 65.75 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.9348, allocations: 480 / 473.9 MB, free: 65.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/0.9349, allocations: 7.938 kB / 473.9 MB, free: 65.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/0.9468, allocations: 5.617 MB / 479.5 MB, free: 59.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.693e-05/0.9468, allocations: 20 kB / 479.5 MB, free: 59.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001742/0.9486, allocations: 267.7 kB / 479.8 MB, free: 59.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.894e-05/0.9486, allocations: 31.94 kB / 479.8 MB, free: 59.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.9487, allocations: 47.98 kB / 479.9 MB, free: 59.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.567e-05/0.9488, allocations: 35.86 kB / 479.9 MB, free: 59.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.818e-05/0.9488, allocations: 31.83 kB / 479.9 MB, free: 59.42 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005264/0.9541, allocations: 5.053 MB / 485 MB, free: 53.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001414/0.9555, allocations: 0.5161 MB / 485.5 MB, free: 53.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006167/0.9562, allocations: 59.44 kB / 485.6 MB, free: 53.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001805/0.958, allocations: 58.38 kB / 485.6 MB, free: 53.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/0.9582, allocations: 135.5 kB / 485.7 MB, free: 53.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001189/0.9583, allocations: 63.98 kB / 485.8 MB, free: 52.98 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.005033/0.9634, allocations: 2.606 MB / 488.4 MB, free: 50.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.52e-07/0.9634, allocations: 0 / 488.4 MB, free: 50.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005618/0.9691, allocations: 0.8677 MB / 489.3 MB, free: 49.53 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 77 * Number of states: 4 (p1.s,p1.v,p2.s,p2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 133 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006194/0.9697, allocations: 203.5 kB / 489.5 MB, free: 49.33 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007708/0.9775, allocations: 3.55 MB / 493 MB, free: 45.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.608e-05/0.9775, allocations: 4 kB / 493 MB, free: 45.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001476/0.979, allocations: 0.6995 MB / 493.7 MB, free: 45.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002891/0.9819, allocations: 427.4 kB / 494.2 MB, free: 44.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0186/1.001, allocations: 9.954 MB / 0.4923 GB, free: 34.49 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004571/1.005, allocations: 3.164 MB / 0.4954 GB, free: 31.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.007172/1.012, allocations: 1.759 MB / 0.4971 GB, free: 29.53 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008058/1.013, allocations: 235.4 kB / 0.4973 GB, free: 29.3 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/1.013, allocations: 0 / 0.4973 GB, free: 29.3 MB / 362.7 MB Notification: Performance of Templates: time 0.07737/1.091, allocations: 25.84 MB / 0.5226 GB, free: 3.535 MB / 362.7 MB