Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") Notification: Performance of loadModel(Modelica): time 2.108/2.108, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.742e-05/2.744e-05, allocations: 4 kB / 292.2 MB, free: 8.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08958/0.08963, allocations: 50.41 MB / 342.6 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3798/0.4695, allocations: 98.71 MB / 441.3 MB, free: 11.82 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.4698, allocations: 86.45 kB / 441.4 MB, free: 11.78 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.351/0.8208, allocations: 93.65 MB / 0.5225 GB, free: 1.883 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.025e-06/0.8209, allocations: 0 / 0.5225 GB, free: 1.883 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002617/0.8211, allocations: 87.98 kB / 0.5226 GB, free: 1.797 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1508 * Number of variables: 1508 Notification: Performance of Generate backend data structure: time 0.2589/1.08, allocations: 4.393 MB / 0.5268 GB, free: 96.25 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/1.08, allocations: 11.88 kB / 0.5269 GB, free: 96.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03526/1.115, allocations: 6.708 MB / 0.5334 GB, free: 95.95 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01714/1.133, allocations: 5.812 MB / 0.5391 GB, free: 95.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003834/1.133, allocations: 317.5 kB / 0.5394 GB, free: 95.57 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001675/1.135, allocations: 429.7 kB / 0.5398 GB, free: 95.57 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02197/1.157, allocations: 10.09 MB / 0.5497 GB, free: 93.11 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002064/1.157, allocations: 66.84 kB / 0.5497 GB, free: 93.1 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007768/1.158, allocations: 210.4 kB / 0.5499 GB, free: 93.09 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001404/1.159, allocations: 0.974 MB / 0.5509 GB, free: 93.08 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01927/1.178, allocations: 8.104 MB / 0.5588 GB, free: 93.06 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05103/1.229, allocations: 45.14 MB / 0.6029 GB, free: 61.19 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01065/1.24, allocations: 3.843 MB / 0.6066 GB, free: 59.64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003127/1.243, allocations: 1.964 MB / 0.6085 GB, free: 58.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007439/1.244, allocations: 0.6486 MB / 0.6092 GB, free: 58.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/1.244, allocations: 55.19 kB / 0.6092 GB, free: 58.17 MB / 442.7 MB Notification: Performance of pre-optimization done (n=166): time 6.652e-06/1.244, allocations: 0 / 0.6092 GB, free: 58.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=201): time 0.06471/1.309, allocations: 18.44 MB / 0.6272 GB, free: 48.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.049e-05/1.309, allocations: 256.4 kB / 0.6275 GB, free: 48.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006532/1.316, allocations: 3.631 MB / 0.631 GB, free: 45.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003837/1.316, allocations: 53.7 kB / 0.6311 GB, free: 45.17 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002132/1.318, allocations: 3.175 MB / 0.6342 GB, free: 42.31 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008974/1.319, allocations: 0.7625 MB / 0.6349 GB, free: 41.64 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004682/1.32, allocations: 116.9 kB / 0.635 GB, free: 41.53 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003386/1.32, allocations: 0.5547 MB / 0.6356 GB, free: 41.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003891/1.324, allocations: 2.153 MB / 0.6377 GB, free: 39.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005854/1.33, allocations: 5.584 MB / 0.6431 GB, free: 32.14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006075/1.336, allocations: 3.469 MB / 0.6465 GB, free: 29.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-05/1.336, allocations: 35.94 kB / 0.6465 GB, free: 29.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.0208/1.357, allocations: 8.908 MB / 0.6552 GB, free: 21.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.057e-05/1.357, allocations: 59.95 kB / 0.6553 GB, free: 21.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001143/1.357, allocations: 124 kB / 0.6554 GB, free: 21.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006956/1.364, allocations: 1.968 MB / 0.6573 GB, free: 19.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004793/1.369, allocations: 1.256 MB / 0.6586 GB, free: 18.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02288/1.392, allocations: 14.97 MB / 0.6732 GB, free: 4.203 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005699/1.397, allocations: 339.3 kB / 0.6735 GB, free: 3.871 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001043/1.399, allocations: 356 kB / 0.6739 GB, free: 3.523 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 556 * Number of states: 0 () * Number of discrete variables: 35 (freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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 (675): * Single equations (assignments): 669 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,88.9%) 35,(3,100.0%) 11} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.001045/1.4, allocations: 0.5447 MB / 0.6744 GB, free: 2.977 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008159/1.4, allocations: 375.2 kB / 0.6747 GB, free: 2.605 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009472/1.41, allocations: 4.051 MB / 0.6787 GB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.935e-05/1.41, allocations: 24 kB / 0.6787 GB, free: 14.51 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.216e-05/1.41, allocations: 11.95 kB / 0.6787 GB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.062e-05/1.41, allocations: 7.969 kB / 0.6787 GB, free: 14.49 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02444/1.435, allocations: 9.683 MB / 0.6882 GB, free: 4.762 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.783e-05/1.435, allocations: 4 kB / 0.6882 GB, free: 4.758 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001861/1.437, allocations: 283.6 kB / 0.6885 GB, free: 4.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004899/1.441, allocations: 1.222 MB / 0.6897 GB, free: 3.262 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003718/1.442, allocations: 32 kB / 0.6897 GB, free: 3.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2733/1.715, allocations: 7.533 MB / 0.6971 GB, free: 98.75 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.742e-06/1.715, allocations: 6.109 kB / 0.6971 GB, free: 98.75 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01477/1.73, allocations: 6.995 MB / 0.7039 GB, free: 98.14 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/1.731, allocations: 427.7 kB / 0.7043 GB, free: 98.04 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008385/1.732, allocations: 33.22 kB / 0.7043 GB, free: 98.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002254/1.734, allocations: 114.2 kB / 0.7044 GB, free: 98.04 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004844/1.735, allocations: 125 kB / 0.7046 GB, free: 98.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002214/1.735, allocations: 53.14 kB / 0.7046 GB, free: 98.04 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005337/1.74, allocations: 2.551 MB / 0.7071 GB, free: 97.84 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.033e-06/1.74, allocations: 0 / 0.7071 GB, free: 97.84 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006603/1.747, allocations: 1.11 MB / 0.7082 GB, free: 97.84 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 143 * 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 {(4,87.5%) 31} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005269/1.748, allocations: 188.7 kB / 0.7084 GB, free: 97.75 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01048/1.758, allocations: 5.586 MB / 0.7138 GB, free: 97.37 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.88e-06/1.758, allocations: 0 / 0.7138 GB, free: 97.37 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00419/1.762, allocations: 1.992 MB / 0.7158 GB, free: 97.23 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003297/1.766, allocations: 0.5293 MB / 0.7163 GB, free: 97.21 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01779/1.783, allocations: 8.307 MB / 0.7244 GB, free: 95.65 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005381/1.789, allocations: 3.533 MB / 0.7278 GB, free: 94.85 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006073/1.795, allocations: 1.887 MB / 0.7297 GB, free: 94.81 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/1.796, allocations: 251 kB / 0.7299 GB, free: 94.8 MB / 458.7 MB Notification: Performance of SimCode: time 1.628e-06/1.796, allocations: 0 / 0.7299 GB, free: 94.8 MB / 458.7 MB Notification: Performance of Templates: time 0.1131/1.909, allocations: 44.32 MB / 0.7732 GB, free: 83.63 MB / 458.7 MB