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_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") Notification: Performance of loadModel(Modelica): time 2.185/2.185, allocations: 194.9 MB / 211.2 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.509e-05/3.516e-05, allocations: 11.89 kB / 258.8 MB, free: 8.699 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3145, allocations: 44.5 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.0641/0.3786, allocations: 40.08 MB / 343.4 MB, free: 5.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02844/0.4071, allocations: 9.518 MB / 352.9 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009527/0.4167, allocations: 227.4 kB / 353.1 MB, free: 11.76 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007362/0.4241, allocations: 2.088 MB / 355.2 MB, free: 9.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02214/0.4463, allocations: 5.847 MB / 361.1 MB, free: 3.797 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004105/0.4504, allocations: 0.6904 MB / 361.7 MB, free: 3.105 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.04916/0.4996, allocations: 16.59 MB / 378.3 MB, free: 2.5 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009327/0.509, allocations: 4.193 MB / 382.5 MB, free: 14.27 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002072/0.5111, allocations: 0.9273 MB / 383.5 MB, free: 13.34 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003034/0.5142, allocations: 1.449 MB / 384.9 MB, free: 11.89 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002873/0.5171, allocations: 0.9324 MB / 385.8 MB, free: 10.95 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001058/0.5182, allocations: 148 kB / 386 MB, free: 10.81 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002647/0.5209, allocations: 1.703 MB / 387.7 MB, free: 9.102 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001385/0.5223, allocations: 296 kB / 388 MB, free: 8.812 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01071/0.533, allocations: 6.48 MB / 394.5 MB, free: 2.316 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5331, allocations: 0 / 394.5 MB, free: 2.316 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.5331, allocations: 0 / 394.5 MB, free: 2.316 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002583/0.5334, allocations: 0 / 394.5 MB, free: 2.316 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1553 * Number of variables: 1553 Notification: Performance of Generate backend data structure: time 0.01574/0.5491, allocations: 4.468 MB / 398.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.5492, allocations: 8.031 kB / 398.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3473/0.8965, allocations: 18.87 MB / 417.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01395/0.9105, allocations: 3.998 MB / 421.8 MB, free: 6.805 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003012/0.9108, allocations: 246.3 kB / 422 MB, free: 6.562 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001501/0.9123, allocations: 339.7 kB / 422.4 MB, free: 6.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2812/1.194, allocations: 10.32 MB / 432.7 MB, free: 107.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002372/1.194, allocations: 50.7 kB / 432.7 MB, free: 107.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008537/1.195, allocations: 157.2 kB / 432.9 MB, free: 107.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004676/1.199, allocations: 1.91 MB / 434.8 MB, free: 107 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02602/1.226, allocations: 8.714 MB / 443.5 MB, free: 102.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06378/1.289, allocations: 39.37 MB / 482.9 MB, free: 63 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01397/1.303, allocations: 3.989 MB / 486.9 MB, free: 58.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008511/1.304, allocations: 0.6588 MB / 487.5 MB, free: 58.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/1.304, allocations: 51.5 kB / 487.6 MB, free: 58.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=175): time 6.071e-06/1.304, allocations: 4.938 kB / 487.6 MB, free: 58.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=210): time 0.09604/1.4, allocations: 21.82 MB / 0.4975 GB, free: 36.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.686e-05/1.401, allocations: 256.6 kB / 0.4977 GB, free: 35.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00826/1.409, allocations: 4.016 MB / 0.5016 GB, free: 31.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000576/1.409, allocations: 57.7 kB / 0.5017 GB, free: 31.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002764/1.412, allocations: 3.116 MB / 0.5047 GB, free: 28.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001441/1.414, allocations: 0.7919 MB / 0.5055 GB, free: 27.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007595/1.415, allocations: 120 kB / 0.5056 GB, free: 27.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004545/1.415, allocations: 0.5567 MB / 0.5062 GB, free: 27.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00611/1.421, allocations: 2.319 MB / 0.5084 GB, free: 24.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008587/1.43, allocations: 5.812 MB / 0.5141 GB, free: 17.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008817/1.439, allocations: 3.609 MB / 0.5176 GB, free: 13.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001053/1.439, allocations: 36 kB / 0.5177 GB, free: 13.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=778) (initialization): time 0.02852/1.467, allocations: 9.552 MB / 0.527 GB, free: 3.984 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.944e-05/1.467, allocations: 60 kB / 0.5271 GB, free: 3.926 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001414/1.468, allocations: 124 kB / 0.5272 GB, free: 3.805 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01017/1.478, allocations: 2.113 MB / 0.5292 GB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007878/1.486, allocations: 1.287 MB / 0.5305 GB, free: 404 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03911/1.525, allocations: 16.37 MB / 0.5465 GB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007028/1.532, allocations: 351.5 kB / 0.5468 GB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001218/1.533, allocations: 356 kB / 0.5471 GB, free: 14.94 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 562 * Number of states: 0 () * Number of discrete variables: 30 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (690): * Single equations (assignments): 684 * 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.005684/1.539, allocations: 2.189 MB / 0.5493 GB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001125/1.54, allocations: 383 kB / 0.5497 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0144/1.554, allocations: 4.412 MB / 0.554 GB, free: 7.922 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.264e-05/1.555, allocations: 20 kB / 0.554 GB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.735e-05/1.555, allocations: 8 kB / 0.554 GB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.082e-05/1.555, allocations: 15.95 kB / 0.554 GB, free: 7.879 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2978/1.852, allocations: 10.39 MB / 0.5642 GB, free: 122.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.59e-05/1.853, allocations: 2.062 kB / 0.5642 GB, free: 122.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003208/1.856, allocations: 307.2 kB / 0.5644 GB, free: 122.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00922/1.865, allocations: 1.356 MB / 0.5658 GB, free: 122.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006393/1.866, allocations: 40.56 kB / 0.5658 GB, free: 122.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0482/1.914, allocations: 8.651 MB / 0.5743 GB, free: 119 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.914, allocations: 0 / 0.5743 GB, free: 119 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02037/1.934, allocations: 7.552 MB / 0.5816 GB, free: 116.1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002634/1.937, allocations: 0.7527 MB / 0.5824 GB, free: 115.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001329/1.938, allocations: 37.62 kB / 0.5824 GB, free: 115.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003625/1.942, allocations: 134.1 kB / 0.5825 GB, free: 115.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008088/1.943, allocations: 124.5 kB / 0.5827 GB, free: 115.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002328/1.943, allocations: 53.34 kB / 0.5827 GB, free: 115.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.006924/1.95, allocations: 2.87 MB / 0.5855 GB, free: 114.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.51e-07/1.95, allocations: 0 / 0.5855 GB, free: 114.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007092/1.957, allocations: 1.163 MB / 0.5866 GB, free: 114.7 MB / 394.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 (157): * Single equations (assignments): 153 * 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 {(5,72.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009837/1.958, allocations: 183.7 kB / 0.5868 GB, free: 114.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01448/1.973, allocations: 6.155 MB / 0.5928 GB, free: 109.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/1.973, allocations: 4 kB / 0.5928 GB, free: 109.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006609/1.98, allocations: 2.245 MB / 0.595 GB, free: 107.4 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004748/1.984, allocations: 0.5383 MB / 0.5955 GB, free: 106.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02916/2.014, allocations: 12.72 MB / 0.608 GB, free: 94.38 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006752/2.02, allocations: 3.62 MB / 0.6115 GB, free: 90.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00176/2.022, allocations: 303.4 kB / 0.6118 GB, free: 90.43 MB / 394.7 MB Notification: Performance of SimCode: time 1.543e-06/2.022, allocations: 0 / 0.6118 GB, free: 90.43 MB / 394.7 MB Notification: Performance of Templates: time 0.4385/2.461, allocations: 100 MB / 0.7095 GB, free: 131.4 MB / 410.7 MB