Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.8/2.8, allocations: 195 MB / 202.9 MB, free: 6.715 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.945e-05/2.963e-05, allocations: 5.781 kB / 249.8 MB, free: 5.199 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1078, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5095/0.6173, allocations: 85.37 MB / 379.6 MB, free: 6.352 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/0.6177, allocations: 82.98 kB / 379.7 MB, free: 6.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4238/1.042, allocations: 76.14 MB / 455.9 MB, free: 15.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.775e-06/1.042, allocations: 0 / 455.9 MB, free: 15.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003086/1.042, allocations: 72 kB / 455.9 MB, free: 14.96 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1465 * Number of variables: 1465 Notification: Performance of Generate backend data structure: time 0.029/1.071, allocations: 4.051 MB / 460 MB, free: 10.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.088e-05/1.071, allocations: 8.031 kB / 460 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003884/1.075, allocations: 0.5817 MB / 460.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02404/1.099, allocations: 2.237 MB / 462.8 MB, free: 8.004 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02381/1.123, allocations: 4.345 MB / 467.1 MB, free: 3.641 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004481/1.123, allocations: 172.3 kB / 467.3 MB, free: 3.469 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002623/1.126, allocations: 239.9 kB / 467.6 MB, free: 3.234 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02007/1.146, allocations: 5.709 MB / 473.3 MB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03169/1.178, allocations: 9.015 MB / 482.3 MB, free: 3.434 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003755/1.178, allocations: 55.5 kB / 482.3 MB, free: 3.379 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002272/1.181, allocations: 32 kB / 482.4 MB, free: 3.348 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003433/1.184, allocations: 0.986 MB / 483.3 MB, free: 2.363 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4496/1.634, allocations: 47.59 MB / 0.5185 GB, free: 58.53 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006268/1.64, allocations: 2.255 MB / 0.5207 GB, free: 57.86 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003653/1.644, allocations: 1.185 MB / 0.5218 GB, free: 57.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002214/1.644, allocations: 20.17 kB / 0.5219 GB, free: 57.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.207e-05/1.644, allocations: 53.75 kB / 0.5219 GB, free: 57.78 MB / 394.7 MB Notification: Performance of pre-optimization done (n=137): time 7.644e-06/1.644, allocations: 0 / 0.5219 GB, free: 57.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=144): time 0.04585/1.69, allocations: 8.876 MB / 0.5306 GB, free: 55.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/1.69, allocations: 137.2 kB / 0.5307 GB, free: 55.12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008529/1.699, allocations: 2.944 MB / 0.5336 GB, free: 54.79 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004824/1.699, allocations: 25.7 kB / 0.5336 GB, free: 54.76 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00348/1.703, allocations: 3.112 MB / 0.5367 GB, free: 53.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001242/1.704, allocations: 0.5856 MB / 0.5372 GB, free: 52.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009488/1.705, allocations: 0 / 0.5372 GB, free: 52.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0007632/1.706, allocations: 0.5697 MB / 0.5378 GB, free: 52.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006305/1.712, allocations: 1.838 MB / 0.5396 GB, free: 52.42 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009474/1.722, allocations: 5.823 MB / 0.5453 GB, free: 47.19 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009735/1.732, allocations: 3.241 MB / 0.5484 GB, free: 47.17 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002189/1.732, allocations: 44.89 kB / 0.5485 GB, free: 47.17 MB / 394.7 MB Notification: Performance of matching and sorting (n=816) (initialization): time 0.03568/1.768, allocations: 7.911 MB / 0.5562 GB, free: 45.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001576/1.768, allocations: 67.22 kB / 0.5563 GB, free: 45.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01496/1.783, allocations: 2.653 MB / 0.5589 GB, free: 44.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01263/1.795, allocations: 1.506 MB / 0.5603 GB, free: 44.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01113/1.807, allocations: 1.398 MB / 0.5617 GB, free: 44.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01798/1.825, allocations: 5.416 MB / 0.567 GB, free: 40.83 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01063/1.835, allocations: 319.2 kB / 0.5673 GB, free: 40.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002013/1.837, allocations: 409.8 kB / 0.5677 GB, free: 40.75 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: spring3.lineForce.r_rel_0[1]:VARIABLE(unit = "m" ) "Position vector from frame_a to frame_b resolved in world frame" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 658 * Number of states: 0 () * Number of discrete variables: 36 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (747): * Single equations (assignments): 737 * 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 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.002858/1.84, allocations: 461.5 kB / 0.5681 GB, free: 40.37 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001109/1.841, allocations: 302.8 kB / 0.5684 GB, free: 40.2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01582/1.857, allocations: 2.878 MB / 0.5712 GB, free: 39.31 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01373/1.871, allocations: 2.479 MB / 0.5736 GB, free: 38.6 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.814e-05/1.871, allocations: 3.422 kB / 0.5736 GB, free: 38.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.578e-05/1.871, allocations: 7.688 kB / 0.5736 GB, free: 38.6 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02181/1.893, allocations: 5.237 MB / 0.5788 GB, free: 36.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.652e-05/1.893, allocations: 2.938 kB / 0.5788 GB, free: 36.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002466/1.896, allocations: 172.3 kB / 0.5789 GB, free: 36.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01194/1.908, allocations: 1.407 MB / 0.5803 GB, free: 35.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005217/1.908, allocations: 19.31 kB / 0.5803 GB, free: 35.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01298/1.921, allocations: 5.65 MB / 0.5858 GB, free: 30.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002001/1.923, allocations: 1.389 MB / 0.5872 GB, free: 29.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02807/1.951, allocations: 5.106 MB / 0.5922 GB, free: 24.92 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/1.953, allocations: 358.8 kB / 0.5925 GB, free: 24.55 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001278/1.954, allocations: 4 kB / 0.5925 GB, free: 24.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004113/1.958, allocations: 122.3 kB / 0.5926 GB, free: 24.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006964/1.959, allocations: 90.42 kB / 0.5927 GB, free: 24.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002568/1.959, allocations: 43.55 kB / 0.5928 GB, free: 24.39 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.005948/1.965, allocations: 1.911 MB / 0.5946 GB, free: 22.74 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.563e-06/1.965, allocations: 0 / 0.5946 GB, free: 22.74 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.009732/1.975, allocations: 0.8698 MB / 0.5955 GB, free: 21.88 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET140460104470920.x[3],$STATESET140460104470920.x[2],$STATESET140460104470920.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 (79): * Single equations (assignments): 71 * 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 {8 27} Notification: Performance of Backend phase and start with SimCode phase: time 0.01885/1.994, allocations: 5.719 MB / 0.6011 GB, free: 16.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01688/2.011, allocations: 4.985 MB / 0.6059 GB, free: 12.38 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/2.011, allocations: 0 / 0.6059 GB, free: 12.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008776/2.02, allocations: 1.93 MB / 0.6078 GB, free: 10.67 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003337/2.023, allocations: 284.3 kB / 0.6081 GB, free: 10.42 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03477/2.058, allocations: 8.32 MB / 0.6162 GB, free: 3.262 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00794/2.066, allocations: 3.128 MB / 0.6193 GB, free: 0.875 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.01338/2.079, allocations: 1.965 MB / 0.6212 GB, free: 0 / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0138/2.093, allocations: 2.098 MB / 0.6232 GB, free: 15.92 MB / 410.7 MB Notification: Performance of SimCode: time 2.114e-06/2.093, allocations: 4 kB / 0.6232 GB, free: 15.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6293/2.723, allocations: 68.87 MB / 0.6905 GB, free: 87.08 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002976/2.723, allocations: 167 kB / 0.6907 GB, free: 86.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.363/10.09, allocations: 4 kB / 0.6907 GB, free: 86.88 MB / 410.7 MB