Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.139/2.139, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.261e-05/4.281e-05, allocations: 7.984 kB / 273.2 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.113, allocations: 48.69 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4609/0.574, allocations: 92.4 MB / 414.2 MB, free: 13.51 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/0.5743, allocations: 79.95 kB / 414.3 MB, free: 13.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2194/0.7938, allocations: 54.51 MB / 468.8 MB, free: 6.551 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.609e-06/0.7938, allocations: 0 / 468.8 MB, free: 6.551 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001541/0.794, allocations: 55.94 kB / 468.9 MB, free: 6.496 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.009337/0.8034, allocations: 2.362 MB / 471.2 MB, free: 4.078 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.01e-05/0.8035, allocations: 12.03 kB / 471.3 MB, free: 4.066 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002206/0.8057, allocations: 480.8 kB / 471.7 MB, free: 3.586 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005539/0.8113, allocations: 491.8 kB / 472.2 MB, free: 3.102 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007121/0.8184, allocations: 1.509 MB / 473.7 MB, free: 1.547 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004348/0.8189, allocations: 217.7 kB / 473.9 MB, free: 1.332 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001711/0.8207, allocations: 280 kB / 474.2 MB, free: 1.059 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02826/0.849, allocations: 5.881 MB / 480.1 MB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000139/0.8492, allocations: 23.81 kB / 480.1 MB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007268/0.8499, allocations: 131.9 kB / 480.2 MB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001409/0.8513, allocations: 480 kB / 480.7 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01892/0.8703, allocations: 4.415 MB / 485.1 MB, free: 5.812 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0429/0.9132, allocations: 19.86 MB / 0.4931 GB, free: 1.383 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007324/0.9206, allocations: 1.226 MB / 0.4943 GB, free: 140 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3093/1.23, allocations: 368.2 kB / 0.4947 GB, free: 117 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003377/1.233, allocations: 2.07 MB / 0.4967 GB, free: 115.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.98e-05/1.234, allocations: 50.03 kB / 0.4968 GB, free: 115.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=66): time 5.55e-06/1.234, allocations: 0 / 0.4968 GB, free: 115.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=110): time 0.03724/1.271, allocations: 5.377 MB / 0.502 GB, free: 114.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.582e-05/1.271, allocations: 92.91 kB / 0.5021 GB, free: 114.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003887/1.275, allocations: 1.578 MB / 0.5036 GB, free: 114.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002521/1.275, allocations: 46.61 kB / 0.5037 GB, free: 114.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001619/1.277, allocations: 1.643 MB / 0.5053 GB, free: 113.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006382/1.277, allocations: 409.5 kB / 0.5057 GB, free: 113.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001895/1.278, allocations: 55.94 kB / 0.5057 GB, free: 113.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002522/1.278, allocations: 426.4 kB / 0.5061 GB, free: 112.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00202/1.28, allocations: 0.7635 MB / 0.5069 GB, free: 112.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003062/1.283, allocations: 2.28 MB / 0.5091 GB, free: 110.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003529/1.287, allocations: 1.315 MB / 0.5104 GB, free: 110.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.938e-05/1.287, allocations: 16.53 kB / 0.5104 GB, free: 110.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=359) (initialization): time 0.009/1.296, allocations: 2.853 MB / 0.5132 GB, free: 110.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.57e-05/1.296, allocations: 31.86 kB / 0.5132 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001151/1.296, allocations: 54.19 kB / 0.5133 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001702/1.296, allocations: 80.31 kB / 0.5134 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004553/1.301, allocations: 0.6483 MB / 0.514 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001673/1.301, allocations: 112.8 kB / 0.5141 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003167/1.304, allocations: 125 kB / 0.5142 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007211/1.305, allocations: 163.5 kB / 0.5144 GB, free: 110.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 247 * Number of states: 0 () * Number of discrete variables: 31 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[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 (359): * Single equations (assignments): 359 * 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.0007064/1.306, allocations: 331.8 kB / 0.5147 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005858/1.306, allocations: 166.2 kB / 0.5148 GB, free: 110.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003203/1.31, allocations: 1.238 MB / 0.5161 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.219e-05/1.31, allocations: 10.5 kB / 0.5161 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/1.31, allocations: 1.5 kB / 0.5161 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.105e-05/1.31, allocations: 11.64 kB / 0.5161 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0156/1.325, allocations: 6.366 MB / 0.5223 GB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.051e-05/1.325, allocations: 22.91 kB / 0.5223 GB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001329/1.327, allocations: 209.1 kB / 0.5225 GB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.016e-05/1.327, allocations: 30.28 kB / 0.5225 GB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.496e-05/1.327, allocations: 38.12 kB / 0.5226 GB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.138e-05/1.327, allocations: 38.11 kB / 0.5226 GB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.603e-05/1.327, allocations: 34.7 kB / 0.5226 GB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003304/1.33, allocations: 3.166 MB / 0.5257 GB, free: 105.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007347/1.331, allocations: 271.5 kB / 0.526 GB, free: 104.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003061/1.331, allocations: 51.23 kB / 0.526 GB, free: 104.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/1.333, allocations: 39.47 kB / 0.5261 GB, free: 104.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/1.333, allocations: 136 kB / 0.5262 GB, free: 104.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.145e-05/1.333, allocations: 58.06 kB / 0.5263 GB, free: 104.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002659/1.336, allocations: 1.173 MB / 0.5274 GB, free: 104.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.22e-07/1.336, allocations: 0 / 0.5274 GB, free: 104.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0043/1.34, allocations: 0.4904 MB / 0.5279 GB, free: 104.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 109 * 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.004844/1.345, allocations: 9.435 MB / 0.5371 GB, free: 94.97 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004223/1.349, allocations: 1.685 MB / 0.5388 GB, free: 94.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-05/1.349, allocations: 5.469 kB / 0.5388 GB, free: 94.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001062/1.35, allocations: 457.2 kB / 0.5392 GB, free: 94.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002147/1.353, allocations: 262.2 kB / 0.5394 GB, free: 94.13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01738/1.37, allocations: 5.31 MB / 0.5446 GB, free: 91.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00325/1.373, allocations: 2.233 MB / 0.5468 GB, free: 90.35 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002151/1.376, allocations: 1.048 MB / 0.5478 GB, free: 89.51 MB / 426.7 MB Notification: Performance of SimCode: time 1.603e-06/1.376, allocations: 4 kB / 0.5478 GB, free: 89.51 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.131/4.507, allocations: 42.4 MB / 0.5893 GB, free: 64.46 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.JointSSP_res.mat does not exist to compare? outputFormat=mat