Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.484/2.484, allocations: 270 MB / 282.6 MB, free: 1.812 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.269e-05/4.271e-05, allocations: 8 kB / 347.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3975, allocations: 61.87 MB / 408.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2043/0.6018, allocations: 106.5 MB / 0.5033 GB, free: 36 kB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00039/0.6023, allocations: 76.03 kB / 0.5034 GB, free: 15.96 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7614/1.364, allocations: 87.64 MB / 0.589 GB, free: 51.5 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.114e-06/1.364, allocations: 0 / 0.589 GB, free: 51.5 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002367/1.364, allocations: 84 kB / 0.589 GB, free: 51.42 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: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.01383/1.378, allocations: 3.971 MB / 0.5929 GB, free: 47.38 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/1.378, allocations: 8.031 kB / 0.5929 GB, free: 47.37 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003101/1.381, allocations: 0.7786 MB / 0.5937 GB, free: 46.58 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01928/1.4, allocations: 2.447 MB / 0.5961 GB, free: 44.12 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01714/1.418, allocations: 4.875 MB / 0.6008 GB, free: 39.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004015/1.418, allocations: 332.7 kB / 0.6012 GB, free: 38.86 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002176/1.42, allocations: 435.9 kB / 0.6016 GB, free: 38.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02944/1.45, allocations: 10.54 MB / 0.6119 GB, free: 26.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002653/1.45, allocations: 63.39 kB / 0.6119 GB, free: 26.69 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001743/1.452, allocations: 215.9 kB / 0.6121 GB, free: 26.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002398/1.454, allocations: 1.041 MB / 0.6132 GB, free: 25.43 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02445/1.479, allocations: 7.992 MB / 0.621 GB, free: 17.43 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07362/1.552, allocations: 48.05 MB / 0.6679 GB, free: 15.78 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01392/1.566, allocations: 3.179 MB / 0.671 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002814/1.569, allocations: 1.027 MB / 0.672 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01504/1.584, allocations: 5.971 MB / 0.6778 GB, free: 5.043 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.781e-05/1.585, allocations: 51.28 kB / 0.6779 GB, free: 4.984 MB / 490.7 MB Notification: Performance of pre-optimization done (n=148): time 4.96e-06/1.585, allocations: 4 kB / 0.6779 GB, free: 4.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=160): time 0.0387/1.623, allocations: 8.648 MB / 0.6863 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/1.623, allocations: 196.9 kB / 0.6865 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009336/1.633, allocations: 3.542 MB / 0.69 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003214/1.633, allocations: 57.64 kB / 0.69 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003519/1.637, allocations: 3.108 MB / 0.6931 GB, free: 5.195 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001044/1.638, allocations: 0.6366 MB / 0.6937 GB, free: 4.551 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007386/1.639, allocations: 120 kB / 0.6938 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005506/1.639, allocations: 0.5669 MB / 0.6943 GB, free: 3.855 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004598/1.644, allocations: 1.546 MB / 0.6959 GB, free: 2.305 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008444/1.652, allocations: 5.343 MB / 0.7011 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0074/1.66, allocations: 2.886 MB / 0.7039 GB, free: 8.152 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001263/1.66, allocations: 36 kB / 0.7039 GB, free: 8.117 MB / 0.5105 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01887/1.679, allocations: 6.173 MB / 0.71 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/1.679, allocations: 71.98 kB / 0.71 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002188/1.679, allocations: 136 kB / 0.7102 GB, free: 1.738 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002871/1.679, allocations: 200 kB / 0.7103 GB, free: 1.543 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009168/1.689, allocations: 1.443 MB / 0.7118 GB, free: 100 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3829/2.072, allocations: 267.4 kB / 0.712 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007539/2.079, allocations: 381.7 kB / 0.7124 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001826/2.081, allocations: 372.2 kB / 0.7127 GB, free: 128.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (763): * Single equations (assignments): 760 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0021/2.083, allocations: 0.5714 MB / 0.7133 GB, free: 128 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009933/2.084, allocations: 349.3 kB / 0.7136 GB, free: 128 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004028/2.088, allocations: 1.317 MB / 0.7149 GB, free: 128 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.171e-05/2.088, allocations: 23.45 kB / 0.7149 GB, free: 128 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/2.088, allocations: 1.281 kB / 0.7149 GB, free: 128 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.847e-05/2.089, allocations: 8.125 kB / 0.7149 GB, free: 128 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01594/2.104, allocations: 5.788 MB / 0.7206 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.222e-05/2.105, allocations: 20.78 kB / 0.7206 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001966/2.107, allocations: 285.2 kB / 0.7209 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.725e-05/2.107, allocations: 26.81 kB / 0.7209 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001461/2.107, allocations: 49 kB / 0.721 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.079e-05/2.107, allocations: 34.36 kB / 0.721 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.091e-05/2.107, allocations: 32 kB / 0.721 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006281/2.113, allocations: 5.285 MB / 0.7262 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001312/2.114, allocations: 432 kB / 0.7266 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001122/2.116, allocations: 50.95 kB / 0.7266 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003046/2.119, allocations: 92.92 kB / 0.7267 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003959/2.119, allocations: 146.6 kB / 0.7269 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/2.119, allocations: 70.81 kB / 0.7269 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006143/2.125, allocations: 2.44 MB / 0.7293 GB, free: 123 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.303e-06/2.126, allocations: 3.531 kB / 0.7293 GB, free: 123 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00731/2.133, allocations: 0.9231 MB / 0.7302 GB, free: 123 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 79 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 143 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007611/2.141, allocations: 10.19 MB / 0.7402 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007818/2.148, allocations: 3.436 MB / 0.7435 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-05/2.149, allocations: 6.281 kB / 0.7435 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00148/2.15, allocations: 0.7085 MB / 0.7442 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003631/2.154, allocations: 433.3 kB / 0.7446 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02875/2.182, allocations: 8.946 MB / 0.7534 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007097/2.19, allocations: 3.267 MB / 0.7566 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004242/2.194, allocations: 1.907 MB / 0.7584 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.502e-06/2.194, allocations: 0 / 0.7584 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.986/6.18, allocations: 75.51 MB / 0.8322 GB, free: 56.79 MB / 0.5105 GB