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.231/2.231, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.647e-05/2.66e-05, allocations: 0 / 267.6 MB, free: 5.324 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1124, allocations: 48.69 MB / 316.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4668/0.5792, allocations: 91.98 MB / 408.3 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/0.5796, allocations: 77.94 kB / 408.4 MB, free: 480 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.229/0.8086, allocations: 53.11 MB / 461.5 MB, free: 14.95 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.8086, allocations: 0 / 461.5 MB, free: 14.95 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001678/0.8088, allocations: 48.19 kB / 461.5 MB, free: 14.9 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.009232/0.8181, allocations: 2.365 MB / 463.9 MB, free: 12.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.354e-05/0.8182, allocations: 8.031 kB / 463.9 MB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004424/0.8226, allocations: 487.8 kB / 464.4 MB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005666/0.8283, allocations: 1.516 MB / 465.9 MB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002327/0.8286, allocations: 96 kB / 466 MB, free: 10.33 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00139/0.83, allocations: 160 kB / 466.1 MB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01052/0.8406, allocations: 3.379 MB / 469.5 MB, free: 6.793 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01535/0.856, allocations: 4.63 MB / 474.1 MB, free: 1.863 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001326/0.8562, allocations: 19.88 kB / 474.2 MB, free: 1.844 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006282/0.8568, allocations: 8 kB / 474.2 MB, free: 1.836 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001546/0.8584, allocations: 484.7 kB / 474.6 MB, free: 1.355 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3312/1.19, allocations: 18.2 MB / 492.8 MB, free: 104 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002154/1.192, allocations: 0.6491 MB / 493.5 MB, free: 103.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008258/1.193, allocations: 308.3 kB / 493.8 MB, free: 103.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002216/1.195, allocations: 1.739 MB / 495.5 MB, free: 102.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.753e-05/1.195, allocations: 43.02 kB / 495.6 MB, free: 102.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=60): time 3.627e-06/1.195, allocations: 3.219 kB / 495.6 MB, free: 102.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=92): time 0.01696/1.212, allocations: 3.338 MB / 498.9 MB, free: 101.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/1.212, allocations: 86.61 kB / 499 MB, free: 101.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003566/1.216, allocations: 1.352 MB / 0.4886 GB, free: 101.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002018/1.216, allocations: 27.17 kB / 0.4886 GB, free: 101.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001751/1.218, allocations: 1.712 MB / 0.4903 GB, free: 100.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005777/1.218, allocations: 339.4 kB / 0.4906 GB, free: 100.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002795/1.219, allocations: 4 kB / 0.4906 GB, free: 100.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002614/1.219, allocations: 426.4 kB / 0.491 GB, free: 100 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001981/1.221, allocations: 0.6635 MB / 0.4917 GB, free: 100 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003257/1.224, allocations: 2.232 MB / 0.4939 GB, free: 97.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003202/1.228, allocations: 1.206 MB / 0.4951 GB, free: 97.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-05/1.228, allocations: 19.69 kB / 0.4951 GB, free: 97.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=356) (initialization): time 0.008541/1.236, allocations: 2.561 MB / 0.4976 GB, free: 97.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.455e-05/1.236, allocations: 32.91 kB / 0.4976 GB, free: 97.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001336/1.237, allocations: 56.66 kB / 0.4977 GB, free: 97.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001926/1.237, allocations: 82.94 kB / 0.4977 GB, free: 97.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004386/1.241, allocations: 0.645 MB / 0.4984 GB, free: 97.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001917/1.241, allocations: 114.5 kB / 0.4985 GB, free: 97.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003184/1.245, allocations: 69.86 kB / 0.4985 GB, free: 97.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007467/1.245, allocations: 161.6 kB / 0.4987 GB, free: 97.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 256 * 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 (356): * Single equations (assignments): 356 * 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.00068/1.246, allocations: 258.3 kB / 0.4989 GB, free: 97.59 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002287/1.248, allocations: 0.8644 MB / 0.4998 GB, free: 97.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004907/1.249, allocations: 152 kB / 0.4999 GB, free: 97.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002707/1.252, allocations: 0.9542 MB / 0.5009 GB, free: 97.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.097e-05/1.252, allocations: 9.188 kB / 0.5009 GB, free: 97.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/1.252, allocations: 1.188 kB / 0.5009 GB, free: 97.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/1.252, allocations: 4.891 kB / 0.5009 GB, free: 97.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01168/1.263, allocations: 4.533 MB / 0.5053 GB, free: 96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-05/1.264, allocations: 19.58 kB / 0.5053 GB, free: 95.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/1.265, allocations: 172.3 kB / 0.5055 GB, free: 95.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-05/1.265, allocations: 29.27 kB / 0.5055 GB, free: 95.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.267e-05/1.265, allocations: 21.94 kB / 0.5055 GB, free: 95.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-05/1.265, allocations: 33.5 kB / 0.5056 GB, free: 95.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.08e-05/1.265, allocations: 26.94 kB / 0.5056 GB, free: 95.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002685/1.268, allocations: 2.352 MB / 0.5079 GB, free: 93.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006725/1.268, allocations: 230.4 kB / 0.5081 GB, free: 93.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003073/1.269, allocations: 23.09 kB / 0.5081 GB, free: 93.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/1.27, allocations: 19.53 kB / 0.5082 GB, free: 93.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/1.27, allocations: 112.4 kB / 0.5083 GB, free: 93.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.531e-05/1.27, allocations: 49.86 kB / 0.5083 GB, free: 93.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001858/1.272, allocations: 0.8983 MB / 0.5092 GB, free: 93.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.22e-07/1.272, allocations: 3.906 kB / 0.5092 GB, free: 93.37 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004307/1.276, allocations: 421.1 kB / 0.5096 GB, free: 93.36 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 91 * 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.00398/1.28, allocations: 7.632 MB / 0.517 GB, free: 86.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003782/1.284, allocations: 1.521 MB / 0.5185 GB, free: 85.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.978e-05/1.284, allocations: 3.844 kB / 0.5185 GB, free: 85.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008259/1.285, allocations: 365.5 kB / 0.5189 GB, free: 85.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001755/1.287, allocations: 181.1 kB / 0.5191 GB, free: 85.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01617/1.303, allocations: 4.92 MB / 0.5239 GB, free: 83.56 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004025/1.307, allocations: 2.212 MB / 0.526 GB, free: 82.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002431/1.31, allocations: 1.035 MB / 0.527 GB, free: 81.67 MB / 410.7 MB Notification: Performance of SimCode: time 2.295e-06/1.31, allocations: 0 / 0.527 GB, free: 81.67 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.088/4.397, allocations: 40.07 MB / 0.5662 GB, free: 60.38 MB / 410.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