Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.991/1.991, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.228e-05/3.232e-05, allocations: 4 kB / 292.2 MB, free: 8.762 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.107, allocations: 50.42 MB / 342.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4758/0.5829, allocations: 98.76 MB / 441.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/0.5833, allocations: 88.08 kB / 441.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.391/0.9742, allocations: 93.67 MB / 0.5226 GB, free: 2.07 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.9743, allocations: 0 / 0.5226 GB, free: 2.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003708/0.9747, allocations: 88 kB / 0.5227 GB, free: 1.984 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.316/1.291, allocations: 4.396 MB / 0.527 GB, free: 95.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.88e-05/1.291, allocations: 8.75 kB / 0.527 GB, free: 95.86 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00388/1.295, allocations: 0.764 MB / 0.5277 GB, free: 95.79 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0513/1.346, allocations: 6.711 MB / 0.5343 GB, free: 95.49 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02278/1.369, allocations: 5.812 MB / 0.54 GB, free: 95.13 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005046/1.369, allocations: 320.7 kB / 0.5403 GB, free: 95.12 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002445/1.372, allocations: 427.2 kB / 0.5407 GB, free: 95.11 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02881/1.401, allocations: 10.1 MB / 0.5505 GB, free: 92.65 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002938/1.401, allocations: 70.58 kB / 0.5506 GB, free: 92.64 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001534/1.403, allocations: 205.1 kB / 0.5508 GB, free: 92.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001909/1.405, allocations: 0.9728 MB / 0.5518 GB, free: 92.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02342/1.428, allocations: 8.105 MB / 0.5597 GB, free: 92.61 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06476/1.493, allocations: 45.13 MB / 0.6037 GB, free: 60.57 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01388/1.507, allocations: 3.844 MB / 0.6075 GB, free: 59.03 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003527/1.51, allocations: 1.967 MB / 0.6094 GB, free: 58.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008536/1.511, allocations: 0.6476 MB / 0.6101 GB, free: 57.61 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/1.511, allocations: 51.06 kB / 0.6101 GB, free: 57.56 MB / 442.7 MB Notification: Performance of pre-optimization done (n=166): time 6.392e-06/1.511, allocations: 3.281 kB / 0.6101 GB, free: 57.56 MB / 442.7 MB Notification: Performance of matching and sorting (n=201): time 0.0842/1.595, allocations: 18.45 MB / 0.6281 GB, free: 48.12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.905e-05/1.596, allocations: 260.5 kB / 0.6284 GB, free: 47.81 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00819/1.604, allocations: 3.628 MB / 0.6319 GB, free: 44.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000537/1.604, allocations: 58.95 kB / 0.632 GB, free: 44.51 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002527/1.607, allocations: 3.053 MB / 0.635 GB, free: 41.73 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00115/1.608, allocations: 0.7667 MB / 0.6357 GB, free: 41.06 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006863/1.609, allocations: 116 kB / 0.6358 GB, free: 40.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003543/1.609, allocations: 0.5657 MB / 0.6364 GB, free: 40.44 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005023/1.614, allocations: 2.15 MB / 0.6385 GB, free: 38.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007241/1.622, allocations: 5.586 MB / 0.6439 GB, free: 31.55 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007233/1.629, allocations: 3.459 MB / 0.6473 GB, free: 28.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.176e-05/1.629, allocations: 36 kB / 0.6473 GB, free: 28.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.02621/1.655, allocations: 8.758 MB / 0.6559 GB, free: 21.15 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.185e-05/1.655, allocations: 59.95 kB / 0.6559 GB, free: 21.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001544/1.655, allocations: 120 kB / 0.6561 GB, free: 20.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009683/1.665, allocations: 1.965 MB / 0.658 GB, free: 19.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007366/1.673, allocations: 1.253 MB / 0.6592 GB, free: 18.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.029/1.702, allocations: 14.98 MB / 0.6738 GB, free: 3.801 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006779/1.708, allocations: 335.5 kB / 0.6741 GB, free: 3.473 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001318/1.71, allocations: 351.4 kB / 0.6745 GB, free: 3.133 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.00129/1.711, allocations: 0.5484 MB / 0.675 GB, free: 2.578 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009532/1.712, allocations: 375.1 kB / 0.6754 GB, free: 2.207 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01309/1.725, allocations: 4.049 MB / 0.6793 GB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-05/1.725, allocations: 23.95 kB / 0.6794 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-05/1.725, allocations: 19.75 kB / 0.6794 GB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-05/1.725, allocations: 11.97 kB / 0.6794 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03179/1.757, allocations: 9.687 MB / 0.6888 GB, free: 4.355 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.052e-05/1.757, allocations: 0 / 0.6888 GB, free: 4.355 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002781/1.76, allocations: 279.6 kB / 0.6891 GB, free: 4.082 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006654/1.767, allocations: 1.222 MB / 0.6903 GB, free: 2.859 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004767/1.767, allocations: 35.94 kB / 0.6903 GB, free: 2.824 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3702/2.138, allocations: 7.537 MB / 0.6977 GB, free: 99.58 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/2.138, allocations: 0.9375 kB / 0.6977 GB, free: 99.58 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01958/2.157, allocations: 7 MB / 0.7045 GB, free: 98.97 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/2.159, allocations: 422.4 kB / 0.7049 GB, free: 98.88 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001349/2.16, allocations: 35.06 kB / 0.705 GB, free: 98.87 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003627/2.164, allocations: 123.1 kB / 0.7051 GB, free: 98.87 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007836/2.164, allocations: 113.5 kB / 0.7052 GB, free: 98.87 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002367/2.165, allocations: 50.44 kB / 0.7052 GB, free: 98.87 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007243/2.172, allocations: 2.552 MB / 0.7077 GB, free: 98.67 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.11e-07/2.172, allocations: 1.219 kB / 0.7077 GB, free: 98.67 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008378/2.18, allocations: 1.111 MB / 0.7088 GB, free: 98.67 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.01915/2.2, allocations: 7.933 MB / 0.7166 GB, free: 97.27 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01311/2.213, allocations: 5.595 MB / 0.722 GB, free: 96.87 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.397e-06/2.213, allocations: 0 / 0.722 GB, free: 96.87 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005547/2.218, allocations: 1.989 MB / 0.724 GB, free: 96.74 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005064/2.223, allocations: 0.5356 MB / 0.7245 GB, free: 96.72 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03384/2.257, allocations: 10.25 MB / 0.7345 GB, free: 94.36 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007503/2.265, allocations: 3.547 MB / 0.738 GB, free: 93.04 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004902/2.27, allocations: 2.066 MB / 0.74 GB, free: 91.39 MB / 458.7 MB Notification: Performance of SimCode: time 1.533e-06/2.27, allocations: 0 / 0.74 GB, free: 91.39 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.818/7.088, allocations: 122.7 MB / 0.8598 GB, free: 95.75 MB / 474.7 MB