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.824/1.824, allocations: 194.9 MB / 208 MB, free: 3.27 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.869e-05/2.881e-05, allocations: 4 kB / 255.4 MB, free: 2.734 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07685/0.0769, allocations: 44.5 MB / 299.9 MB, free: 6.168 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3866/0.4635, allocations: 88.02 MB / 387.9 MB, free: 20.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.4638, allocations: 87.09 kB / 388 MB, free: 20.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3657/0.8295, allocations: 83.59 MB / 471.6 MB, free: 408 kB / 346.7 MB Notification: Performance of FrontEnd: time 5.28e-06/0.8295, allocations: 0 / 471.6 MB, free: 408 kB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002033/0.8297, allocations: 79.94 kB / 471.7 MB, free: 328 kB / 346.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.01156/0.8413, allocations: 3.794 MB / 475.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.8414, allocations: 16.03 kB / 475.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01451/0.8559, allocations: 2.436 MB / 477.9 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01602/0.872, allocations: 5.031 MB / 482.9 MB, free: 4.906 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004866/0.8725, allocations: 312.1 kB / 483.2 MB, free: 4.598 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00176/0.8743, allocations: 407.8 kB / 483.6 MB, free: 4.199 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02441/0.8987, allocations: 9.757 MB / 493.4 MB, free: 9.379 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000198/0.899, allocations: 63.39 kB / 493.5 MB, free: 9.316 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009592/0.8999, allocations: 203.9 kB / 493.7 MB, free: 9.117 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001936/0.9019, allocations: 0.9863 MB / 494.6 MB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0196/0.9215, allocations: 7.347 MB / 0.4902 GB, free: 0.7656 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2918/1.213, allocations: 45.38 MB / 0.5345 GB, free: 46.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008288/1.222, allocations: 2.687 MB / 0.5372 GB, free: 46.28 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001773/1.224, allocations: 0.8182 MB / 0.538 GB, free: 46.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007287/1.231, allocations: 3.451 MB / 0.5413 GB, free: 44.96 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/1.231, allocations: 52.28 kB / 0.5414 GB, free: 44.92 MB / 394.7 MB Notification: Performance of pre-optimization done (n=127): time 5.235e-06/1.231, allocations: 0 / 0.5414 GB, free: 44.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=145): time 0.02711/1.258, allocations: 8.188 MB / 0.5494 GB, free: 42.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/1.258, allocations: 148.8 kB / 0.5495 GB, free: 42.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006708/1.265, allocations: 3.426 MB / 0.5529 GB, free: 41.69 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002269/1.265, allocations: 46.11 kB / 0.5529 GB, free: 41.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002093/1.267, allocations: 3.079 MB / 0.5559 GB, free: 40.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006054/1.268, allocations: 0.5796 MB / 0.5565 GB, free: 39.78 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003796/1.268, allocations: 115.8 kB / 0.5566 GB, free: 39.78 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003491/1.269, allocations: 0.5437 MB / 0.5571 GB, free: 39.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002869/1.272, allocations: 1.466 MB / 0.5586 GB, free: 39.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00475/1.276, allocations: 5.149 MB / 0.5636 GB, free: 34.61 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00496/1.281, allocations: 2.761 MB / 0.5663 GB, free: 34.59 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001137/1.281, allocations: 41.81 kB / 0.5663 GB, free: 34.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.01418/1.296, allocations: 6.018 MB / 0.5722 GB, free: 34.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/1.296, allocations: 64.14 kB / 0.5723 GB, free: 34.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001544/1.296, allocations: 137.8 kB / 0.5724 GB, free: 34.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002195/1.296, allocations: 191.6 kB / 0.5726 GB, free: 34.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005773/1.302, allocations: 1.38 MB / 0.5739 GB, free: 34.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002134/1.302, allocations: 257.6 kB / 0.5742 GB, free: 34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00602/1.308, allocations: 378.3 kB / 0.5745 GB, free: 33.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001041/1.309, allocations: 354.5 kB / 0.5749 GB, free: 33.98 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 607 * 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 (726): * Single equations (assignments): 723 * 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.0009223/1.31, allocations: 0.5574 MB / 0.5754 GB, free: 33.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006781/1.311, allocations: 340.9 kB / 0.5757 GB, free: 33.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/1.313, allocations: 1.168 MB / 0.5769 GB, free: 32.86 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.266e-05/1.313, allocations: 17.28 kB / 0.5769 GB, free: 32.86 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/1.313, allocations: 0.6875 kB / 0.5769 GB, free: 32.86 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.247e-05/1.313, allocations: 11.08 kB / 0.5769 GB, free: 32.86 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01181/1.325, allocations: 5.578 MB / 0.5824 GB, free: 30.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-05/1.325, allocations: 17.94 kB / 0.5824 GB, free: 30.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/1.327, allocations: 275.5 kB / 0.5826 GB, free: 30.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.421e-05/1.327, allocations: 26.66 kB / 0.5827 GB, free: 30.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001445/1.327, allocations: 43.05 kB / 0.5827 GB, free: 30.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.72e-05/1.327, allocations: 38.36 kB / 0.5827 GB, free: 30.24 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.686e-05/1.327, allocations: 27.25 kB / 0.5828 GB, free: 30.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00455/1.332, allocations: 5.117 MB / 0.5878 GB, free: 26.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00148/1.333, allocations: 0.5103 MB / 0.5883 GB, free: 25.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005161/1.334, allocations: 49.14 kB / 0.5883 GB, free: 25.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00189/1.336, allocations: 85.45 kB / 0.5884 GB, free: 25.65 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/1.336, allocations: 140.9 kB / 0.5885 GB, free: 25.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/1.336, allocations: 68.02 kB / 0.5886 GB, free: 25.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.005152/1.341, allocations: 2.373 MB / 0.5909 GB, free: 24.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.12e-07/1.341, allocations: 0 / 0.5909 GB, free: 24.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006362/1.348, allocations: 0.8677 MB / 0.5917 GB, free: 24.66 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 79 * 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 (138): * Single equations (assignments): 135 * 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.0004778/1.348, allocations: 197.7 kB / 0.5919 GB, free: 24.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006453/1.355, allocations: 3.279 MB / 0.5951 GB, free: 23.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.578e-05/1.355, allocations: 3.438 kB / 0.5951 GB, free: 23.46 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001167/1.356, allocations: 0.6759 MB / 0.5958 GB, free: 23.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002588/1.359, allocations: 410.1 kB / 0.5962 GB, free: 23.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/1.374, allocations: 6.882 MB / 0.6029 GB, free: 19.79 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005205/1.379, allocations: 3.165 MB / 0.606 GB, free: 17.37 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.005849/1.385, allocations: 1.759 MB / 0.6077 GB, free: 16.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000818/1.386, allocations: 231.3 kB / 0.6079 GB, free: 16.05 MB / 394.7 MB Notification: Performance of SimCode: time 2.188e-06/1.386, allocations: 0 / 0.6079 GB, free: 16.05 MB / 394.7 MB Notification: Performance of Templates: time 0.07396/1.46, allocations: 24.79 MB / 0.6322 GB, free: 0.8086 MB / 394.7 MB