Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.083/2.083, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.655e-05/3.661e-05, allocations: 7.984 kB / 292.2 MB, free: 8.742 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1087, allocations: 50.41 MB / 342.6 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.493/0.6018, allocations: 99.65 MB / 442.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/0.6022, allocations: 87.11 kB / 442.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.318/0.9202, allocations: 74.09 MB / 0.5043 GB, free: 4.777 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.9203, allocations: 0 / 0.5043 GB, free: 4.777 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000226/0.9205, allocations: 67.94 kB / 0.5044 GB, free: 4.711 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01281/0.9333, allocations: 3.393 MB / 0.5077 GB, free: 1.258 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.9334, allocations: 12.03 kB / 0.5077 GB, free: 1.246 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002437/0.9359, allocations: 0.6432 MB / 0.5084 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01627/0.9522, allocations: 2.093 MB / 0.5104 GB, free: 14.49 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01544/0.9677, allocations: 3.893 MB / 0.5142 GB, free: 10.54 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003431/0.968, allocations: 266.9 kB / 0.5145 GB, free: 10.27 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001827/0.9699, allocations: 347.8 kB / 0.5148 GB, free: 9.934 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02631/0.9962, allocations: 8.888 MB / 0.5235 GB, free: 56 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002039/0.9965, allocations: 55.47 kB / 0.5235 GB, free: 0 / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002055/1.285, allocations: 170.6 kB / 0.5237 GB, free: 104.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002778/1.288, allocations: 0.8835 MB / 0.5245 GB, free: 104.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02321/1.311, allocations: 7.004 MB / 0.5314 GB, free: 104.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06002/1.371, allocations: 42.94 MB / 0.5733 GB, free: 76.74 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01219/1.383, allocations: 3.27 MB / 0.5765 GB, free: 75.36 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002916/1.386, allocations: 1.437 MB / 0.5779 GB, free: 74.74 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009742/1.396, allocations: 4.413 MB / 0.5822 GB, free: 72.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/1.396, allocations: 46.88 kB / 0.5823 GB, free: 72.05 MB / 442.7 MB Notification: Performance of pre-optimization done (n=121): time 5.32e-06/1.396, allocations: 0 / 0.5823 GB, free: 72.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=129): time 0.03958/1.436, allocations: 9.582 MB / 0.5916 GB, free: 68.26 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.487e-05/1.436, allocations: 146.8 kB / 0.5918 GB, free: 68.1 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007868/1.444, allocations: 3.285 MB / 0.595 GB, free: 66.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003478/1.444, allocations: 42.84 kB / 0.595 GB, free: 66.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002378/1.446, allocations: 2.701 MB / 0.5977 GB, free: 64.81 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008496/1.447, allocations: 0.5268 MB / 0.5982 GB, free: 64.44 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006631/1.448, allocations: 105.5 kB / 0.5983 GB, free: 64.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004023/1.448, allocations: 0.5339 MB / 0.5988 GB, free: 63.95 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004116/1.452, allocations: 1.644 MB / 0.6004 GB, free: 63.42 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006515/1.459, allocations: 5.03 MB / 0.6053 GB, free: 58.21 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006211/1.465, allocations: 2.873 MB / 0.6081 GB, free: 57.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001246/1.466, allocations: 34.81 kB / 0.6082 GB, free: 57.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01678/1.482, allocations: 6.157 MB / 0.6142 GB, free: 55.12 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/1.482, allocations: 58.84 kB / 0.6142 GB, free: 55.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000177/1.483, allocations: 124.5 kB / 0.6143 GB, free: 55.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/1.484, allocations: 337.2 kB / 0.6147 GB, free: 55.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007986/1.492, allocations: 1.283 MB / 0.6159 GB, free: 54.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003267/1.495, allocations: 2.303 MB / 0.6182 GB, free: 53.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005793/1.501, allocations: 281.9 kB / 0.6184 GB, free: 53.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001238/1.502, allocations: 333.9 kB / 0.6188 GB, free: 53.11 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (666): * Single equations (assignments): 662 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001314/1.504, allocations: 0.5134 MB / 0.6193 GB, free: 52.68 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008618/1.504, allocations: 312.5 kB / 0.6196 GB, free: 52.44 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007555/1.512, allocations: 2.352 MB / 0.6218 GB, free: 50.61 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.223e-05/1.512, allocations: 16 kB / 0.6219 GB, free: 50.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/1.512, allocations: 3.953 kB / 0.6219 GB, free: 50.59 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-05/1.512, allocations: 11.47 kB / 0.6219 GB, free: 50.59 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01829/1.531, allocations: 5.929 MB / 0.6277 GB, free: 45.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.451e-05/1.531, allocations: 4 kB / 0.6277 GB, free: 45.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001674/1.532, allocations: 186.4 kB / 0.6278 GB, free: 45.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003789/1.536, allocations: 0.705 MB / 0.6285 GB, free: 45.27 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003015/1.536, allocations: 16 kB / 0.6286 GB, free: 45.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008274/1.545, allocations: 4.446 MB / 0.6329 GB, free: 41.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/1.545, allocations: 7.5 kB / 0.6329 GB, free: 41.24 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/1.555, allocations: 4.423 MB / 0.6372 GB, free: 37.41 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/1.557, allocations: 375.6 kB / 0.6376 GB, free: 37.03 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009484/1.558, allocations: 20.7 kB / 0.6376 GB, free: 37.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002367/1.56, allocations: 60.34 kB / 0.6377 GB, free: 36.97 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003614/1.56, allocations: 78.05 kB / 0.6377 GB, free: 36.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/1.561, allocations: 36.88 kB / 0.6378 GB, free: 36.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005957/1.566, allocations: 2.278 MB / 0.64 GB, free: 34.89 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.61e-07/1.567, allocations: 0 / 0.64 GB, free: 34.89 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006531/1.573, allocations: 0.8243 MB / 0.6408 GB, free: 34.07 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 92 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01158/1.585, allocations: 5.348 MB / 0.646 GB, free: 29.31 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00878/1.594, allocations: 3.788 MB / 0.6497 GB, free: 25.87 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/1.594, allocations: 0 / 0.6497 GB, free: 25.87 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002284/1.596, allocations: 1.083 MB / 0.6508 GB, free: 24.87 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003074/1.599, allocations: 354.7 kB / 0.6511 GB, free: 24.56 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02388/1.623, allocations: 7.422 MB / 0.6584 GB, free: 18.14 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005164/1.628, allocations: 2.857 MB / 0.6612 GB, free: 15.94 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003639/1.632, allocations: 1.564 MB / 0.6627 GB, free: 14.49 MB / 442.7 MB Notification: Performance of SimCode: time 1.953e-06/1.632, allocations: 0 / 0.6627 GB, free: 14.49 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.376/6.008, allocations: 82.1 MB / 0.7429 GB, free: 100.3 MB / 458.7 MB