Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.975/1.975, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.039e-05/3.043e-05, allocations: 0 / 292.2 MB, free: 8.738 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1078, allocations: 50.42 MB / 342.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4601/0.5679, allocations: 94.72 MB / 437.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/0.5683, allocations: 81.67 kB / 437.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3734/0.9417, allocations: 81.35 MB / 0.5066 GB, free: 2.305 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.9417, allocations: 4 kB / 0.5066 GB, free: 2.301 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002497/0.942, allocations: 76 kB / 0.5067 GB, free: 2.227 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.02911/0.9711, allocations: 4.146 MB / 0.5108 GB, free: 14.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/0.9712, allocations: 8.031 kB / 0.5108 GB, free: 14.01 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003737/0.9749, allocations: 0.7704 MB / 0.5115 GB, free: 13.23 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01855/0.9935, allocations: 2.256 MB / 0.5137 GB, free: 10.96 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01966/1.013, allocations: 4.262 MB / 0.5179 GB, free: 6.648 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000553/1.014, allocations: 324.5 kB / 0.5182 GB, free: 6.328 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002514/1.016, allocations: 423.9 kB / 0.5186 GB, free: 5.914 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3409/1.357, allocations: 10.47 MB / 0.5288 GB, free: 97.54 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003853/1.358, allocations: 56.28 kB / 0.5289 GB, free: 97.54 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002432/1.36, allocations: 211.9 kB / 0.5291 GB, free: 97.54 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002918/1.363, allocations: 1.026 MB / 0.5301 GB, free: 97.53 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03622/1.399, allocations: 8.093 MB / 0.538 GB, free: 97.52 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09773/1.497, allocations: 49.11 MB / 0.5859 GB, free: 65.54 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02433/1.522, allocations: 3.916 MB / 0.5898 GB, free: 64.06 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004615/1.526, allocations: 1.39 MB / 0.5911 GB, free: 63.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02435/1.551, allocations: 7.675 MB / 0.5986 GB, free: 58.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.148e-05/1.551, allocations: 54.48 kB / 0.5987 GB, free: 58.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=152): time 8.496e-06/1.551, allocations: 3.594 kB / 0.5987 GB, free: 58.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=159): time 0.06531/1.616, allocations: 10.06 MB / 0.6085 GB, free: 55.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001976/1.618, allocations: 1.581 MB / 0.61 GB, free: 53.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01194/1.63, allocations: 3.355 MB / 0.6133 GB, free: 52.29 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005269/1.631, allocations: 47.28 kB / 0.6134 GB, free: 52.24 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003741/1.635, allocations: 3.08 MB / 0.6164 GB, free: 49.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001419/1.636, allocations: 0.6407 MB / 0.617 GB, free: 49.35 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001077/1.637, allocations: 123.4 kB / 0.6171 GB, free: 49.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000893/1.638, allocations: 0.5763 MB / 0.6177 GB, free: 48.83 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007692/1.646, allocations: 1.93 MB / 0.6196 GB, free: 48.21 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01122/1.657, allocations: 5.803 MB / 0.6252 GB, free: 42.19 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01106/1.668, allocations: 3.344 MB / 0.6285 GB, free: 40.95 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001824/1.669, allocations: 41.59 kB / 0.6285 GB, free: 40.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.03578/1.704, allocations: 8.137 MB / 0.6365 GB, free: 37.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/1.705, allocations: 64 kB / 0.6365 GB, free: 37.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01013/1.715, allocations: 2.751 MB / 0.6392 GB, free: 35.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008892/1.724, allocations: 1.536 MB / 0.6407 GB, free: 34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007848/1.731, allocations: 1.369 MB / 0.6421 GB, free: 32.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008122/1.74, allocations: 5.51 MB / 0.6474 GB, free: 27.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007689/1.747, allocations: 437.7 kB / 0.6479 GB, free: 27.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001458/1.749, allocations: 383.5 kB / 0.6482 GB, free: 26.83 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (738): * Single equations (assignments): 728 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {4 31} Notification: Performance of prepare postOptimizeDAE: time 0.001639/1.751, allocations: 0.5789 MB / 0.6488 GB, free: 26.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008533/1.751, allocations: 331.6 kB / 0.6491 GB, free: 25.92 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01134/1.763, allocations: 3.11 MB / 0.6521 GB, free: 23.49 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009725/1.773, allocations: 2.645 MB / 0.6547 GB, free: 21.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.948e-05/1.773, allocations: 0 / 0.6547 GB, free: 21.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.67e-05/1.773, allocations: 14.84 kB / 0.6547 GB, free: 21.42 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02627/1.799, allocations: 8.551 MB / 0.6631 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.032e-05/1.799, allocations: 0 / 0.6631 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001875/1.801, allocations: 197.2 kB / 0.6633 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00814/1.809, allocations: 1.429 MB / 0.6647 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003541/1.81, allocations: 39.5 kB / 0.6647 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008871/1.818, allocations: 5.708 MB / 0.6703 GB, free: 8.129 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001068/1.82, allocations: 1.451 MB / 0.6717 GB, free: 6.598 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01438/1.834, allocations: 5.32 MB / 0.6769 GB, free: 1.332 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/1.835, allocations: 376.7 kB / 0.6773 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000936/1.836, allocations: 35.94 kB / 0.6773 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00307/1.839, allocations: 141 kB / 0.6774 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004561/1.84, allocations: 92.78 kB / 0.6775 GB, free: 0.6797 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001722/1.84, allocations: 53.16 kB / 0.6776 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006336/1.846, allocations: 2.283 MB / 0.6798 GB, free: 14.36 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.32e-07/1.846, allocations: 0 / 0.6798 GB, free: 14.36 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007375/1.854, allocations: 1.013 MB / 0.6808 GB, free: 13.36 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {7 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.01742/1.871, allocations: 6.108 MB / 0.6868 GB, free: 7.195 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01514/1.886, allocations: 5.089 MB / 0.6917 GB, free: 2.078 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.886, allocations: 384 / 0.6917 GB, free: 2.078 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007168/1.894, allocations: 1.977 MB / 0.6937 GB, free: 36 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3955/2.289, allocations: 360.2 kB / 0.694 GB, free: 109.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03263/2.322, allocations: 9.167 MB / 0.703 GB, free: 107.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008263/2.33, allocations: 3.193 MB / 0.7061 GB, free: 106.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004272/2.334, allocations: 1.81 MB / 0.7078 GB, free: 106.8 MB / 458.7 MB Notification: Performance of SimCode: time 1.312e-06/2.334, allocations: 0 / 0.7078 GB, free: 106.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.919/7.253, allocations: 157.7 MB / 0.8619 GB, free: 109.4 MB / 474.7 MB