Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring2,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Forces_Spring2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.443/2.443, allocations: 270 MB / 282.6 MB, free: 1.871 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.435e-05/5.442e-05, allocations: 8 kB / 347.1 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4907/0.4908, allocations: 61.87 MB / 408.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2126/0.7035, allocations: 104.6 MB / 0.5015 GB, free: 2.02 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.7038, allocations: 79.95 kB / 0.5016 GB, free: 1.941 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.738/1.442, allocations: 99.65 MB / 0.5989 GB, free: 41.47 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.284e-06/1.442, allocations: 0 / 0.5989 GB, free: 41.47 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003843/1.442, allocations: 99.98 kB / 0.599 GB, free: 41.37 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: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.04865/1.491, allocations: 5.906 MB / 0.6048 GB, free: 35.4 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/1.491, allocations: 8.031 kB / 0.6048 GB, free: 35.39 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004438/1.496, allocations: 0.8929 MB / 0.6056 GB, free: 34.49 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02528/1.521, allocations: 2.938 MB / 0.6085 GB, free: 31.54 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0262/1.547, allocations: 6.822 MB / 0.6152 GB, free: 24.65 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000508/1.548, allocations: 369.6 kB / 0.6155 GB, free: 24.29 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002763/1.55, allocations: 499.7 kB / 0.616 GB, free: 23.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03773/1.588, allocations: 12.4 MB / 0.6281 GB, free: 10.17 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000336/1.589, allocations: 71.34 kB / 0.6282 GB, free: 10.1 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002345/1.591, allocations: 239.9 kB / 0.6284 GB, free: 9.867 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003106/1.594, allocations: 1.237 MB / 0.6296 GB, free: 8.625 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03968/1.634, allocations: 10.26 MB / 0.6396 GB, free: 14.35 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1087/1.743, allocations: 57.97 MB / 0.6962 GB, free: 2.672 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02728/1.77, allocations: 5.312 MB / 0.7014 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006462/1.776, allocations: 2.432 MB / 0.7038 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4014/2.178, allocations: 12.29 MB / 0.7158 GB, free: 127.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.916e-05/2.178, allocations: 54.92 kB / 0.7159 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=219): time 8.315e-06/2.178, allocations: 0 / 0.7159 GB, free: 127.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=258): time 0.0968/2.275, allocations: 21.13 MB / 0.7365 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00369/2.279, allocations: 4.604 MB / 0.741 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009839/2.288, allocations: 3.971 MB / 0.7449 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007867/2.289, allocations: 64.78 kB / 0.7449 GB, free: 120 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003034/2.292, allocations: 3.426 MB / 0.7483 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001862/2.294, allocations: 1.017 MB / 0.7493 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001185/2.295, allocations: 146 kB / 0.7494 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005576/2.296, allocations: 0.6305 MB / 0.75 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007862/2.304, allocations: 3.086 MB / 0.753 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01102/2.315, allocations: 7.299 MB / 0.7602 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01074/2.326, allocations: 4.681 MB / 0.7647 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001892/2.326, allocations: 43.09 kB / 0.7648 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.04337/2.369, allocations: 12.42 MB / 0.7769 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001234/2.37, allocations: 67.91 kB / 0.777 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02541/2.395, allocations: 6.46 MB / 0.7833 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02002/2.415, allocations: 3.353 MB / 0.7866 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01113/2.426, allocations: 1.726 MB / 0.7882 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02718/2.454, allocations: 15.83 MB / 0.8037 GB, free: 86.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01227/2.466, allocations: 0.7687 MB / 0.8045 GB, free: 85.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001998/2.468, allocations: 456.7 kB / 0.8049 GB, free: 85.11 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 682 * Number of states: 0 () * Number of discrete variables: 45 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (906): * Single equations (assignments): 886 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0031/2.471, allocations: 0.6637 MB / 0.8055 GB, free: 84.45 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00129/2.472, allocations: 422.5 kB / 0.8059 GB, free: 84.03 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02699/2.499, allocations: 7.048 MB / 0.8128 GB, free: 78.73 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02495/2.524, allocations: 6.395 MB / 0.8191 GB, free: 73.88 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.6e-05/2.524, allocations: 12 kB / 0.8191 GB, free: 73.87 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.911e-05/2.525, allocations: 11.58 kB / 0.8191 GB, free: 73.87 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05075/2.575, allocations: 15.36 MB / 0.8341 GB, free: 59.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.27e-05/2.575, allocations: 7.938 kB / 0.8341 GB, free: 59.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004281/2.58, allocations: 447.4 kB / 0.8345 GB, free: 59.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01892/2.599, allocations: 3.328 MB / 0.8378 GB, free: 56.11 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008452/2.6, allocations: 83.94 kB / 0.8379 GB, free: 56.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02944/2.629, allocations: 16.47 MB / 0.8539 GB, free: 38.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003483/2.633, allocations: 4.407 MB / 0.8582 GB, free: 33.97 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03284/2.665, allocations: 11.24 MB / 0.8692 GB, free: 22.34 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001624/2.667, allocations: 495.5 kB / 0.8697 GB, free: 21.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001912/2.669, allocations: 63.98 kB / 0.8698 GB, free: 21.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006228/2.675, allocations: 335.5 kB / 0.8701 GB, free: 21.45 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001209/2.677, allocations: 205.5 kB / 0.8703 GB, free: 21.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004293/2.677, allocations: 83.95 kB / 0.8703 GB, free: 21.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006864/2.684, allocations: 2.737 MB / 0.873 GB, free: 18.42 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.62e-07/2.684, allocations: 11.94 kB / 0.873 GB, free: 18.41 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01048/2.694, allocations: 1.528 MB / 0.8745 GB, free: 16.89 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 36 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 182 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 8,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03436/2.729, allocations: 13.19 MB / 0.8874 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02751/2.756, allocations: 8.937 MB / 0.8961 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/2.757, allocations: 0.625 kB / 0.8961 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01752/2.774, allocations: 4.564 MB / 0.9006 GB, free: 5.637 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005062/2.779, allocations: 0.5042 MB / 0.9011 GB, free: 5.141 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04706/2.826, allocations: 13.7 MB / 0.9145 GB, free: 7.449 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009804/2.836, allocations: 3.803 MB / 0.9182 GB, free: 3.637 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3802/3.216, allocations: 2.319 MB / 0.9204 GB, free: 145.1 MB / 0.5417 GB Notification: Performance of SimCode: time 1.673e-06/3.216, allocations: 0 / 0.9204 GB, free: 145.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.205/9.421, allocations: 311.1 MB / 1.224 GB, free: 102.9 MB / 0.5573 GB