Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.555/2.555, allocations: 270 MB / 282.6 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.634e-05/4.641e-05, allocations: 4 kB / 347.1 MB, free: 3.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.4311, allocations: 61.87 MB / 408.9 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2071/0.6382, allocations: 113.5 MB / 0.5102 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/0.6386, allocations: 75.95 kB / 0.5102 GB, free: 8.902 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8278/1.466, allocations: 112.8 MB / 0.6204 GB, free: 19.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.224e-06/1.466, allocations: 8 kB / 0.6204 GB, free: 19.7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004036/1.467, allocations: 111.9 kB / 0.6205 GB, free: 19.59 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: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.0244/1.491, allocations: 5.865 MB / 0.6263 GB, free: 13.65 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/1.491, allocations: 12.03 kB / 0.6263 GB, free: 13.64 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004296/1.496, allocations: 0.9725 MB / 0.6272 GB, free: 12.65 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05053/1.546, allocations: 6.895 MB / 0.634 GB, free: 5.738 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02476/1.571, allocations: 6.778 MB / 0.6406 GB, free: 14.88 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005932/1.572, allocations: 406.8 kB / 0.641 GB, free: 14.48 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0031/1.575, allocations: 0.5426 MB / 0.6415 GB, free: 13.93 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04662/1.621, allocations: 13.95 MB / 0.6551 GB, free: 14.83 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003217/1.622, allocations: 75.36 kB / 0.6552 GB, free: 14.76 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001837/1.624, allocations: 267.9 kB / 0.6555 GB, free: 14.5 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003247/1.627, allocations: 1.364 MB / 0.6568 GB, free: 13.13 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04085/1.668, allocations: 11.36 MB / 0.6679 GB, free: 1.758 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5078/2.176, allocations: 60.65 MB / 0.7271 GB, free: 77.43 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02752/2.203, allocations: 5.757 MB / 0.7327 GB, free: 76.76 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006439/2.21, allocations: 3.248 MB / 0.7359 GB, free: 76.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0308/2.24, allocations: 14.7 MB / 0.7503 GB, free: 72.93 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/2.241, allocations: 70.83 kB / 0.7503 GB, free: 72.88 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=227): time 5.711e-06/2.241, allocations: 0 / 0.7503 GB, free: 72.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=264): time 0.1141/2.355, allocations: 21.75 MB / 0.7716 GB, free: 69.09 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/2.355, allocations: 267.2 kB / 0.7718 GB, free: 68.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01092/2.366, allocations: 4.388 MB / 0.7761 GB, free: 68.33 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006591/2.367, allocations: 64.8 kB / 0.7762 GB, free: 68.27 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003445/2.37, allocations: 3.821 MB / 0.7799 GB, free: 65.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001586/2.372, allocations: 0.9885 MB / 0.7809 GB, free: 64.71 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001023/2.373, allocations: 147.9 kB / 0.781 GB, free: 64.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005924/2.373, allocations: 0.6313 MB / 0.7816 GB, free: 64.15 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006519/2.38, allocations: 2.518 MB / 0.7841 GB, free: 63.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009365/2.389, allocations: 6.819 MB / 0.7907 GB, free: 56.66 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009264/2.399, allocations: 4.116 MB / 0.7948 GB, free: 55.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001996/2.399, allocations: 48.52 kB / 0.7948 GB, free: 55.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=966) (initialization): time 0.02501/2.424, allocations: 9.007 MB / 0.8036 GB, free: 53.14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001302/2.424, allocations: 72.75 kB / 0.8037 GB, free: 53.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002463/2.424, allocations: 151.5 kB / 0.8038 GB, free: 53.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002315/2.427, allocations: 0.5823 MB / 0.8044 GB, free: 53.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01159/2.438, allocations: 1.747 MB / 0.8061 GB, free: 52.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008789/2.447, allocations: 5.624 MB / 0.8116 GB, free: 46.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008749/2.456, allocations: 406.7 kB / 0.812 GB, free: 46.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00189/2.458, allocations: 444.1 kB / 0.8124 GB, free: 46.12 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 696 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.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 (916): * Single equations (assignments): 911 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00262/2.46, allocations: 0.6742 MB / 0.8131 GB, free: 45.45 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001211/2.462, allocations: 466 kB / 0.8135 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/2.473, allocations: 3.982 MB / 0.8174 GB, free: 41.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-05/2.473, allocations: 28 kB / 0.8174 GB, free: 41.61 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-05/2.473, allocations: 6.312 kB / 0.8174 GB, free: 41.61 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.604e-05/2.473, allocations: 18.06 kB / 0.8174 GB, free: 41.61 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03045/2.504, allocations: 10.23 MB / 0.8274 GB, free: 33.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.742e-05/2.504, allocations: 2.594 kB / 0.8274 GB, free: 33.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00469/2.509, allocations: 462.9 kB / 0.8279 GB, free: 32.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001699/2.51, allocations: 346.6 kB / 0.8282 GB, free: 32.64 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005591/2.511, allocations: 47.75 kB / 0.8282 GB, free: 32.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007248/2.518, allocations: 4.956 MB / 0.8331 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/2.518, allocations: 0 / 0.8331 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01538/2.534, allocations: 7.076 MB / 0.84 GB, free: 21.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001561/2.535, allocations: 499.3 kB / 0.8405 GB, free: 20.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001621/2.537, allocations: 40 kB / 0.8405 GB, free: 20.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004391/2.541, allocations: 161.6 kB / 0.8407 GB, free: 20.77 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007564/2.542, allocations: 144.8 kB / 0.8408 GB, free: 20.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002853/2.542, allocations: 74.61 kB / 0.8409 GB, free: 20.61 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007544/2.55, allocations: 3.07 MB / 0.8439 GB, free: 17.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.122e-06/2.55, allocations: 0 / 0.8439 GB, free: 17.91 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008795/2.559, allocations: 1.298 MB / 0.8451 GB, free: 16.63 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (224): * Single equations (assignments): 219 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01609/2.575, allocations: 7.91 MB / 0.8529 GB, free: 9.418 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01411/2.589, allocations: 6.141 MB / 0.8589 GB, free: 3.84 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.258e-06/2.589, allocations: 4 kB / 0.8589 GB, free: 3.836 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004611/2.594, allocations: 2.155 MB / 0.861 GB, free: 1.844 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004639/2.598, allocations: 0.5554 MB / 0.8615 GB, free: 1.371 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04362/2.642, allocations: 12.58 MB / 0.8738 GB, free: 6.875 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01019/2.652, allocations: 4.225 MB / 0.8779 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007295/2.66, allocations: 2.681 MB / 0.8805 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of SimCode: time 1.583e-06/2.66, allocations: 3.938 kB / 0.8806 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.409/8.069, allocations: 151 MB / 1.028 GB, free: 120.5 MB / 0.573 GB