Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.407/2.407, allocations: 270 MB / 282.6 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.827e-05/4.841e-05, allocations: 4 kB / 347 MB, free: 3.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4158, allocations: 61.88 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1958/0.6117, allocations: 108.7 MB / 0.5055 GB, free: 13.74 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/0.6121, allocations: 75.95 kB / 0.5056 GB, free: 13.67 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5446/1.157, allocations: 54.46 MB / 0.5588 GB, free: 82.26 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.184e-06/1.157, allocations: 0 / 0.5588 GB, free: 82.26 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001403/1.157, allocations: 48 kB / 0.5588 GB, free: 82.21 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.009346/1.166, allocations: 2.45 MB / 0.5612 GB, free: 79.71 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/1.166, allocations: 12.03 kB / 0.5612 GB, free: 79.7 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001513/1.168, allocations: 439 kB / 0.5617 GB, free: 79.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00354/1.171, allocations: 448.1 kB / 0.5621 GB, free: 78.81 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005069/1.177, allocations: 1.489 MB / 0.5635 GB, free: 77.28 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/1.177, allocations: 193.2 kB / 0.5637 GB, free: 77.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001217/1.178, allocations: 256 kB / 0.564 GB, free: 76.84 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02145/1.2, allocations: 6.247 MB / 0.5701 GB, free: 70.28 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-05/1.2, allocations: 15.88 kB / 0.5701 GB, free: 70.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004494/1.2, allocations: 116 kB / 0.5702 GB, free: 70.15 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008215/1.201, allocations: 456 kB / 0.5706 GB, free: 69.7 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02003/1.221, allocations: 5.219 MB / 0.5757 GB, free: 64.47 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0333/1.254, allocations: 20.13 MB / 0.5954 GB, free: 43.79 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01198/1.266, allocations: 1.784 MB / 0.5971 GB, free: 41.99 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001389/1.268, allocations: 0.6553 MB / 0.5978 GB, free: 41.33 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008622/1.276, allocations: 4.728 MB / 0.6024 GB, free: 36.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/1.277, allocations: 43.2 kB / 0.6024 GB, free: 36.14 MB / 442.7 MB Notification: Performance of pre-optimization done (n=70): time 3.096e-06/1.277, allocations: 3.938 kB / 0.6024 GB, free: 36.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=110): time 0.05019/1.327, allocations: 7.067 MB / 0.6093 GB, free: 29.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/1.327, allocations: 64.41 kB / 0.6094 GB, free: 28.99 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00316/1.33, allocations: 1.607 MB / 0.611 GB, free: 27.38 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000285/1.33, allocations: 41.7 kB / 0.611 GB, free: 27.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009716/1.331, allocations: 1.538 MB / 0.6125 GB, free: 25.78 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004749/1.332, allocations: 410.5 kB / 0.6129 GB, free: 25.37 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002115/1.332, allocations: 60 kB / 0.613 GB, free: 25.31 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001727/1.332, allocations: 420.5 kB / 0.6134 GB, free: 24.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002179/1.334, allocations: 0.9817 MB / 0.6143 GB, free: 23.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002945/1.337, allocations: 2.462 MB / 0.6167 GB, free: 20.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003237/1.341, allocations: 1.515 MB / 0.6182 GB, free: 19.19 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.931e-05/1.341, allocations: 16 kB / 0.6182 GB, free: 19.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=353) (initialization): time 0.007941/1.349, allocations: 3.26 MB / 0.6214 GB, free: 15.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.527e-05/1.349, allocations: 36.2 kB / 0.6214 GB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.943e-05/1.349, allocations: 55.94 kB / 0.6215 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000115/1.349, allocations: 80 kB / 0.6216 GB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004598/1.354, allocations: 0.6823 MB / 0.6222 GB, free: 15.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001117/1.354, allocations: 103.6 kB / 0.6223 GB, free: 14.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003052/1.357, allocations: 155.8 kB / 0.6225 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005452/1.357, allocations: 156 kB / 0.6226 GB, free: 14.65 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * Number of states: 0 () * Number of discrete variables: 38 (jointSSR.revolute.positiveBranch,prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,prism.color[3],prism.color[2],prism.color[1],rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod2.color[3],rRod2.color[2],rRod2.color[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],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (353): * Single equations (assignments): 353 * Array equations: 0 * 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.0005743/1.358, allocations: 327.6 kB / 0.6229 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003883/1.358, allocations: 165.8 kB / 0.6231 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003952/1.362, allocations: 1.726 MB / 0.6248 GB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/1.362, allocations: 12 kB / 0.6248 GB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/1.362, allocations: 0 / 0.6248 GB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/1.362, allocations: 3.984 kB / 0.6248 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01315/1.376, allocations: 5.596 MB / 0.6303 GB, free: 6.547 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-05/1.376, allocations: 8 kB / 0.6303 GB, free: 6.539 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002008/1.378, allocations: 255.6 kB / 0.6305 GB, free: 6.289 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.39e-05/1.378, allocations: 20 kB / 0.6305 GB, free: 6.27 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001627/1.378, allocations: 28 kB / 0.6306 GB, free: 6.242 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.466e-05/1.378, allocations: 28.2 kB / 0.6306 GB, free: 6.215 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.602e-05/1.378, allocations: 27.89 kB / 0.6306 GB, free: 6.188 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003519/1.382, allocations: 2.531 MB / 0.6331 GB, free: 3.047 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007491/1.382, allocations: 258.8 kB / 0.6333 GB, free: 2.773 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004235/1.383, allocations: 35.98 kB / 0.6334 GB, free: 2.738 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/1.384, allocations: 59.94 kB / 0.6334 GB, free: 2.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/1.384, allocations: 100.2 kB / 0.6335 GB, free: 2.582 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.251e-05/1.384, allocations: 40 kB / 0.6336 GB, free: 2.543 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002436/1.387, allocations: 1.176 MB / 0.6347 GB, free: 1.375 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.82e-07/1.387, allocations: 0 / 0.6347 GB, free: 1.375 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003407/1.39, allocations: 0.5077 MB / 0.6352 GB, free: 0.8672 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 110 * Array equations: 0 * 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.005509/1.396, allocations: 6.334 MB / 0.6414 GB, free: 10.16 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005741/1.402, allocations: 2.084 MB / 0.6434 GB, free: 8.082 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.91e-05/1.402, allocations: 0 / 0.6434 GB, free: 8.082 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001684/1.403, allocations: 0.5987 MB / 0.644 GB, free: 7.488 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002334/1.406, allocations: 233.5 kB / 0.6442 GB, free: 7.262 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01725/1.423, allocations: 4.952 MB / 0.6491 GB, free: 2.09 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003216/1.426, allocations: 2.125 MB / 0.6511 GB, free: 15.93 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00245/1.429, allocations: 0.9796 MB / 0.6521 GB, free: 14.95 MB / 474.7 MB Notification: Performance of SimCode: time 1.934e-06/1.429, allocations: 4 kB / 0.6521 GB, free: 14.94 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.231/4.66, allocations: 42.73 MB / 0.6938 GB, free: 4.207 MB / 0.4948 GB