Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.483/2.483, allocations: 270 MB / 282.7 MB, free: 1.859 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.898e-05/3.902e-05, allocations: 4 kB / 347.1 MB, free: 3.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.4217, allocations: 61.87 MB / 408.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2171/0.6389, allocations: 118.1 MB / 0.5147 GB, free: 4.438 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.6393, allocations: 79.95 kB / 0.5148 GB, free: 4.359 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9706/1.61, allocations: 156.5 MB / 0.6676 GB, free: 2.68 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.499e-06/1.61, allocations: 4 kB / 0.6676 GB, free: 2.676 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004194/1.61, allocations: 132 kB / 0.6677 GB, free: 2.547 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.02806/1.638, allocations: 6.538 MB / 0.6741 GB, free: 11.93 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/1.638, allocations: 11.97 kB / 0.6741 GB, free: 11.92 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007436/1.646, allocations: 1.49 MB / 0.6756 GB, free: 10.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05367/1.7, allocations: 6.687 MB / 0.6821 GB, free: 3.707 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03282/1.733, allocations: 7.933 MB / 0.6899 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009324/1.734, allocations: 0.5294 MB / 0.6904 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004446/1.738, allocations: 0.7028 MB / 0.6911 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06595/1.804, allocations: 18.61 MB / 0.7092 GB, free: 6.527 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004785/1.805, allocations: 95.17 kB / 0.7093 GB, free: 6.434 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003416/1.808, allocations: 339.8 kB / 0.7096 GB, free: 6.102 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004464/1.812, allocations: 1.715 MB / 0.7113 GB, free: 4.383 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5054/2.318, allocations: 15.96 MB / 0.7269 GB, free: 92.33 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1252/2.443, allocations: 74.15 MB / 0.7993 GB, free: 50.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0252/2.468, allocations: 6.083 MB / 0.8053 GB, free: 48.21 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006051/2.474, allocations: 2.706 MB / 0.8079 GB, free: 47.16 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0345/2.509, allocations: 13.88 MB / 0.8215 GB, free: 39.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.441e-05/2.509, allocations: 62.72 kB / 0.8215 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=284): time 7.464e-06/2.509, allocations: 3.375 kB / 0.8215 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=344): time 0.1012/2.61, allocations: 19.15 MB / 0.8402 GB, free: 33.32 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.752e-05/2.611, allocations: 186.1 kB / 0.8404 GB, free: 33.13 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01241/2.623, allocations: 5.134 MB / 0.8454 GB, free: 29.24 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000766/2.624, allocations: 77.7 kB / 0.8455 GB, free: 29.16 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004331/2.628, allocations: 4.856 MB / 0.8502 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002018/2.63, allocations: 1.281 MB / 0.8515 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001214/2.631, allocations: 184 kB / 0.8517 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006422/2.632, allocations: 0.7211 MB / 0.8524 GB, free: 22.85 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008293/2.64, allocations: 3.145 MB / 0.8554 GB, free: 19.99 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01197/2.652, allocations: 8.548 MB / 0.8638 GB, free: 9.418 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01156/2.664, allocations: 5.194 MB / 0.8688 GB, free: 5.223 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002019/2.664, allocations: 59.66 kB / 0.8689 GB, free: 5.168 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.03909/2.703, allocations: 11.82 MB / 0.8804 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000182/2.704, allocations: 88 kB / 0.8805 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003692/2.704, allocations: 192 kB / 0.8807 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007999/2.712, allocations: 1.323 MB / 0.882 GB, free: 9.613 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01446/2.727, allocations: 2.186 MB / 0.8841 GB, free: 7.707 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01919/2.746, allocations: 7.109 MB / 0.8911 GB, free: 1.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01121/2.757, allocations: 0.5634 MB / 0.8916 GB, free: 0.8359 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002456/2.76, allocations: 0.5422 MB / 0.8922 GB, free: 308 kB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 46 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1155): * Single equations (assignments): 1148 * Array equations: 6 * 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 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003616/2.763, allocations: 0.8283 MB / 0.893 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001521/2.765, allocations: 0.5244 MB / 0.8935 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02058/2.785, allocations: 5.265 MB / 0.8986 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00012/2.786, allocations: 36 kB / 0.8987 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.38e-05/2.786, allocations: 11.94 kB / 0.8987 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.841e-05/2.786, allocations: 20.55 kB / 0.8987 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0533/2.839, allocations: 14.17 MB / 0.9125 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.315e-05/2.839, allocations: 15.95 kB / 0.9125 GB, free: 15.24 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004932/2.844, allocations: 0.5369 MB / 0.9131 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006816/2.851, allocations: 0.9206 MB / 0.914 GB, free: 14.14 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007712/2.852, allocations: 67.8 kB / 0.914 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01662/2.868, allocations: 5.402 MB / 0.9193 GB, free: 9.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-05/2.868, allocations: 19.88 kB / 0.9193 GB, free: 9.16 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4383/3.307, allocations: 10.32 MB / 0.9294 GB, free: 128.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002126/3.309, allocations: 0.5675 MB / 0.93 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002272/3.311, allocations: 64.34 kB / 0.93 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005512/3.317, allocations: 188.1 kB / 0.9302 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001287/3.318, allocations: 222.1 kB / 0.9304 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007227/3.319, allocations: 102.2 kB / 0.9305 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01119/3.33, allocations: 3.546 MB / 0.934 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.32e-07/3.33, allocations: 0 / 0.934 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0122/3.342, allocations: 1.66 MB / 0.9356 GB, free: 128.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 2 (j2.s,j2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (267): * Single equations (assignments): 260 * Array equations: 6 * 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 {(2,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02661/3.369, allocations: 13.17 MB / 0.9484 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01779/3.387, allocations: 7.331 MB / 0.9556 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.989e-05/3.387, allocations: 4.531 kB / 0.9556 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006189/3.393, allocations: 2.313 MB / 0.9579 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005564/3.399, allocations: 0.6346 MB / 0.9585 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05154/3.45, allocations: 15.82 MB / 0.9739 GB, free: 119.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01324/3.464, allocations: 5.326 MB / 0.9791 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00861/3.472, allocations: 3.45 MB / 0.9825 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of SimCode: time 1.683e-06/3.472, allocations: 0 / 0.9825 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.644/9.117, allocations: 163.6 MB / 1.142 GB, free: 108.9 MB / 0.5573 GB