Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|revolute.phi|revolute.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadModel(Modelica): time 1.873/1.873, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.827e-05/2.84e-05, allocations: 4 kB / 292.2 MB, free: 8.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08935/0.0894, allocations: 50.41 MB / 342.6 MB, free: 5.875 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4128/0.5022, allocations: 101.4 MB / 444 MB, free: 9.051 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/0.5025, allocations: 86.95 kB / 444.1 MB, free: 9.008 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3169/0.8194, allocations: 76.54 MB / 0.5084 GB, free: 264 kB / 426.7 MB Notification: Performance of FrontEnd: time 2.367e-06/0.8195, allocations: 4 kB / 0.5084 GB, free: 260 kB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001699/0.8197, allocations: 75.98 kB / 0.5085 GB, free: 184 kB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.009395/0.8291, allocations: 3.48 MB / 0.5119 GB, free: 12.64 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.8291, allocations: 8.031 kB / 0.5119 GB, free: 12.63 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01267/0.8418, allocations: 2.273 MB / 0.5141 GB, free: 10.35 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01242/0.8543, allocations: 3.79 MB / 0.5178 GB, free: 6.512 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003533/0.8547, allocations: 283.3 kB / 0.5181 GB, free: 6.234 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001295/0.856, allocations: 367.9 kB / 0.5184 GB, free: 5.875 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2976/1.154, allocations: 10.33 MB / 0.5285 GB, free: 101.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003746/1.154, allocations: 58.27 kB / 0.5286 GB, free: 101.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001744/1.156, allocations: 184.7 kB / 0.5288 GB, free: 101.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004165/1.16, allocations: 0.9963 MB / 0.5297 GB, free: 101.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04085/1.201, allocations: 8.416 MB / 0.5379 GB, free: 101.9 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05086/1.252, allocations: 44.72 MB / 0.5816 GB, free: 72.96 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01261/1.264, allocations: 3.825 MB / 0.5853 GB, free: 71.3 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003037/1.268, allocations: 1.761 MB / 0.5871 GB, free: 70.56 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01379/1.281, allocations: 7.629 MB / 0.5945 GB, free: 66.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/1.281, allocations: 46.95 kB / 0.5946 GB, free: 66.43 MB / 442.7 MB Notification: Performance of pre-optimization done (n=150): time 6.099e-06/1.282, allocations: 3.531 kB / 0.5946 GB, free: 66.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=166): time 0.05649/1.338, allocations: 14.66 MB / 0.6089 GB, free: 61.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/1.338, allocations: 150.8 kB / 0.609 GB, free: 61.73 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005423/1.344, allocations: 3.042 MB / 0.612 GB, free: 60.65 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003258/1.344, allocations: 55.09 kB / 0.612 GB, free: 60.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001699/1.346, allocations: 2.736 MB / 0.6147 GB, free: 58.51 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000669/1.346, allocations: 0.6453 MB / 0.6154 GB, free: 58.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003315/1.347, allocations: 117.1 kB / 0.6155 GB, free: 57.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000307/1.347, allocations: 0.5327 MB / 0.616 GB, free: 57.55 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003437/1.35, allocations: 1.866 MB / 0.6178 GB, free: 56.94 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005183/1.356, allocations: 5.229 MB / 0.6229 GB, free: 51.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005686/1.361, allocations: 3.084 MB / 0.6259 GB, free: 50.53 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001026/1.361, allocations: 35.31 kB / 0.626 GB, free: 50.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.01871/1.38, allocations: 7.656 MB / 0.6334 GB, free: 44.08 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.143e-05/1.38, allocations: 56 kB / 0.6335 GB, free: 44.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001206/1.38, allocations: 123.2 kB / 0.6336 GB, free: 43.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004865/1.385, allocations: 1.306 MB / 0.6349 GB, free: 43.01 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005304/1.391, allocations: 1.265 MB / 0.6361 GB, free: 41.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/1.401, allocations: 6.119 MB / 0.6421 GB, free: 36.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005505/1.407, allocations: 344.2 kB / 0.6424 GB, free: 36.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008762/1.408, allocations: 339.6 kB / 0.6427 GB, free: 35.97 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * Number of states: 0 () * Number of discrete variables: 36 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[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.groundColor[3],world.groundColor[2],world.groundColor[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 (679): * Single equations (assignments): 675 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000902/1.408, allocations: 0.5245 MB / 0.6433 GB, free: 35.44 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006066/1.409, allocations: 304.1 kB / 0.6435 GB, free: 35.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008116/1.417, allocations: 3.328 MB / 0.6468 GB, free: 32.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.397e-05/1.417, allocations: 21.48 kB / 0.6468 GB, free: 32.57 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/1.417, allocations: 4 kB / 0.6468 GB, free: 32.56 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.097e-05/1.417, allocations: 7.266 kB / 0.6468 GB, free: 32.56 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01817/1.436, allocations: 7.564 MB / 0.6542 GB, free: 26.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.137e-05/1.436, allocations: 0 / 0.6542 GB, free: 26.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001571/1.437, allocations: 236.5 kB / 0.6544 GB, free: 26.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004561/1.442, allocations: 1.12 MB / 0.6555 GB, free: 25.63 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002668/1.442, allocations: 30.44 kB / 0.6556 GB, free: 25.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009868/1.452, allocations: 5.766 MB / 0.6612 GB, free: 19.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.432e-06/1.452, allocations: 0 / 0.6612 GB, free: 19.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01102/1.463, allocations: 5.686 MB / 0.6667 GB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000929/1.464, allocations: 365 kB / 0.6671 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005375/1.465, allocations: 24 kB / 0.6671 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001783/1.466, allocations: 103.9 kB / 0.6672 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002904/1.467, allocations: 86.59 kB / 0.6673 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001807/1.467, allocations: 44 kB / 0.6673 GB, free: 13.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00377/1.471, allocations: 2.098 MB / 0.6694 GB, free: 11.37 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.04e-06/1.471, allocations: 4 kB / 0.6694 GB, free: 11.37 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006245/1.477, allocations: 0.9134 MB / 0.6703 GB, free: 10.46 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 125 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005155/1.477, allocations: 183 kB / 0.6705 GB, free: 10.29 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008827/1.486, allocations: 4.474 MB / 0.6748 GB, free: 5.832 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.265e-06/1.486, allocations: 4 kB / 0.6748 GB, free: 5.828 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002741/1.489, allocations: 1.49 MB / 0.6763 GB, free: 4.328 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/1.491, allocations: 324.5 kB / 0.6766 GB, free: 4.016 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0154/1.507, allocations: 6.581 MB / 0.683 GB, free: 13.41 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00483/1.512, allocations: 2.921 MB / 0.6859 GB, free: 10.46 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006102/1.518, allocations: 1.706 MB / 0.6875 GB, free: 8.762 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009369/1.519, allocations: 215.4 kB / 0.6877 GB, free: 8.551 MB / 458.7 MB Notification: Performance of SimCode: time 1.944e-06/1.519, allocations: 0 / 0.6877 GB, free: 8.551 MB / 458.7 MB Notification: Performance of Templates: time 0.3444/1.863, allocations: 31.29 MB / 0.7183 GB, free: 105.6 MB / 458.7 MB