Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.464/2.464, allocations: 270 MB / 282.6 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.04e-05/4.056e-05, allocations: 4 kB / 347.1 MB, free: 3.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4041, allocations: 61.87 MB / 408.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1983/0.6025, allocations: 108.5 MB / 0.5053 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.6028, allocations: 83.94 kB / 0.5053 GB, free: 13.94 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6612/1.264, allocations: 77.79 MB / 0.5813 GB, free: 59.61 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.405e-06/1.264, allocations: 3.938 kB / 0.5813 GB, free: 59.61 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002319/1.264, allocations: 68 kB / 0.5814 GB, free: 59.54 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: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.01396/1.278, allocations: 3.589 MB / 0.5849 GB, free: 55.89 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/1.278, allocations: 16.02 kB / 0.5849 GB, free: 55.88 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002926/1.281, allocations: 0.6677 MB / 0.5856 GB, free: 55.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03209/1.313, allocations: 4.332 MB / 0.5898 GB, free: 50.85 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01649/1.33, allocations: 4.315 MB / 0.594 GB, free: 46.47 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003059/1.33, allocations: 275.1 kB / 0.5943 GB, free: 46.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001989/1.332, allocations: 367.8 kB / 0.5946 GB, free: 45.84 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02405/1.356, allocations: 9.041 MB / 0.6034 GB, free: 35.79 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002179/1.357, allocations: 67.41 kB / 0.6035 GB, free: 35.72 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001169/1.358, allocations: 183.9 kB / 0.6037 GB, free: 35.54 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001731/1.36, allocations: 0.8766 MB / 0.6045 GB, free: 34.67 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02061/1.38, allocations: 7.053 MB / 0.6114 GB, free: 27.61 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06177/1.442, allocations: 44.13 MB / 0.6545 GB, free: 13.92 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.016/1.458, allocations: 3.472 MB / 0.6579 GB, free: 10.29 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003867/1.462, allocations: 1.59 MB / 0.6595 GB, free: 8.691 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02016/1.482, allocations: 7.175 MB / 0.6665 GB, free: 1.246 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.26e-05/1.482, allocations: 47.28 kB / 0.6665 GB, free: 1.191 MB / 474.7 MB Notification: Performance of pre-optimization done (n=151): time 5.841e-06/1.482, allocations: 0 / 0.6665 GB, free: 1.191 MB / 474.7 MB Notification: Performance of matching and sorting (n=188): time 0.09225/1.575, allocations: 16.18 MB / 0.6823 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001911/1.575, allocations: 201.2 kB / 0.6825 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008198/1.583, allocations: 3.269 MB / 0.6857 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004633/1.584, allocations: 57.67 kB / 0.6857 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002873/1.587, allocations: 2.776 MB / 0.6885 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001261/1.588, allocations: 0.7173 MB / 0.6892 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005356/1.588, allocations: 116 kB / 0.6893 GB, free: 9.668 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004669/1.589, allocations: 0.5587 MB / 0.6898 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00503/1.594, allocations: 1.929 MB / 0.6917 GB, free: 7.164 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008303/1.602, allocations: 5.444 MB / 0.697 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008099/1.61, allocations: 3.244 MB / 0.7002 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001025/1.611, allocations: 36 kB / 0.7002 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of matching and sorting (n=765) (initialization): time 0.0295/1.64, allocations: 7.977 MB / 0.708 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001144/1.64, allocations: 60.25 kB / 0.7081 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002051/1.641, allocations: 128 kB / 0.7082 GB, free: 4.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009789/1.65, allocations: 1.457 MB / 0.7096 GB, free: 3.039 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008572/1.659, allocations: 1.29 MB / 0.7109 GB, free: 1.746 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3978/2.057, allocations: 8.014 MB / 0.7187 GB, free: 132.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006436/2.063, allocations: 303.3 kB / 0.719 GB, free: 132.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001319/2.065, allocations: 361.3 kB / 0.7193 GB, free: 132.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 572 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (697): * Single equations (assignments): 693 * 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 {(1,100.0%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001357/2.066, allocations: 0.5557 MB / 0.7199 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008087/2.067, allocations: 330.9 kB / 0.7202 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01688/2.084, allocations: 3.596 MB / 0.7237 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.981e-05/2.084, allocations: 22.97 kB / 0.7237 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.653e-05/2.084, allocations: 10.66 kB / 0.7237 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.174e-05/2.084, allocations: 6.797 kB / 0.7237 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03707/2.121, allocations: 7.881 MB / 0.7314 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.941e-05/2.121, allocations: 0 / 0.7314 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003253/2.124, allocations: 241.5 kB / 0.7317 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01178/2.136, allocations: 1.231 MB / 0.7329 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004796/2.137, allocations: 27.59 kB / 0.7329 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02226/2.159, allocations: 7.292 MB / 0.74 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/2.159, allocations: 7.109 kB / 0.74 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01845/2.178, allocations: 6.01 MB / 0.7459 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/2.179, allocations: 379.6 kB / 0.7463 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009925/2.18, allocations: 27.89 kB / 0.7463 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002964/2.183, allocations: 91.3 kB / 0.7464 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006664/2.183, allocations: 111.4 kB / 0.7465 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001978/2.184, allocations: 42.5 kB / 0.7465 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005475/2.189, allocations: 2.273 MB / 0.7487 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.282e-06/2.189, allocations: 0 / 0.7487 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006863/2.196, allocations: 0.9786 MB / 0.7497 GB, free: 125.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 126 * 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 {(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01896/2.215, allocations: 6.843 MB / 0.7564 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01093/2.226, allocations: 4.687 MB / 0.7609 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.066e-06/2.226, allocations: 0 / 0.7609 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003607/2.23, allocations: 1.567 MB / 0.7625 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003108/2.233, allocations: 358.5 kB / 0.7628 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02636/2.259, allocations: 8.456 MB / 0.7711 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005906/2.265, allocations: 3.042 MB / 0.774 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003959/2.269, allocations: 1.693 MB / 0.7757 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.653e-06/2.269, allocations: 0 / 0.7757 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.335/6.604, allocations: 88.57 MB / 0.8622 GB, free: 30.52 MB / 0.5105 GB