Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.974/1.974, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.852e-05/2.869e-05, allocations: 4 kB / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1015, allocations: 48.7 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4241/0.5256, allocations: 93.02 MB / 409.3 MB, free: 15.46 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.526, allocations: 77.42 kB / 409.4 MB, free: 15.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2336/0.7596, allocations: 54.85 MB / 464.3 MB, free: 12.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.7597, allocations: 0 / 464.3 MB, free: 12.13 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001586/0.7598, allocations: 59.98 kB / 464.3 MB, free: 12.07 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: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.01041/0.7703, allocations: 2.572 MB / 466.9 MB, free: 9.441 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.7703, allocations: 8.031 kB / 466.9 MB, free: 9.434 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004353/0.7747, allocations: 483.8 kB / 467.4 MB, free: 8.957 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005665/0.7804, allocations: 1.54 MB / 468.9 MB, free: 7.367 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002083/0.7807, allocations: 92 kB / 469 MB, free: 7.277 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001222/0.7819, allocations: 168 kB / 469.2 MB, free: 7.113 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01046/0.7924, allocations: 3.804 MB / 473 MB, free: 3.305 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01481/0.8072, allocations: 4.952 MB / 477.9 MB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001413/0.8074, allocations: 19.88 kB / 477.9 MB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005804/0.808, allocations: 8 kB / 477.9 MB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00158/0.8096, allocations: 0.5164 MB / 478.5 MB, free: 13.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3334/1.143, allocations: 20.03 MB / 498.5 MB, free: 95.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002265/1.145, allocations: 0.8375 MB / 499.3 MB, free: 95.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/1.147, allocations: 0.6201 MB / 500 MB, free: 95.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01003/1.157, allocations: 4.572 MB / 0.4927 GB, free: 93.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.951e-05/1.157, allocations: 46.03 kB / 0.4927 GB, free: 93.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=64): time 3.927e-06/1.157, allocations: 0 / 0.4927 GB, free: 93.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=88): time 0.02734/1.184, allocations: 5.245 MB / 0.4979 GB, free: 92.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/1.184, allocations: 86.3 kB / 0.4979 GB, free: 92.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003709/1.188, allocations: 1.413 MB / 0.4993 GB, free: 92.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000229/1.188, allocations: 27.95 kB / 0.4994 GB, free: 92.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001502/1.19, allocations: 1.74 MB / 0.5011 GB, free: 91.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005346/1.191, allocations: 333.7 kB / 0.5014 GB, free: 91.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002903/1.191, allocations: 0.7656 kB / 0.5014 GB, free: 91.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002292/1.191, allocations: 435.1 kB / 0.5018 GB, free: 90.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00212/1.193, allocations: 0.8242 MB / 0.5026 GB, free: 90.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003376/1.197, allocations: 2.459 MB / 0.505 GB, free: 88.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005541/1.202, allocations: 1.533 MB / 0.5065 GB, free: 88.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.671e-05/1.202, allocations: 17.5 kB / 0.5065 GB, free: 88.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=366) (initialization): time 0.01082/1.213, allocations: 3.087 MB / 0.5095 GB, free: 88.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.614e-05/1.213, allocations: 27.48 kB / 0.5095 GB, free: 88.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.193e-05/1.213, allocations: 60.66 kB / 0.5096 GB, free: 88.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001173/1.214, allocations: 86.16 kB / 0.5097 GB, free: 88.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00478/1.218, allocations: 0.7072 MB / 0.5104 GB, free: 88.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-05/1.219, allocations: 118.7 kB / 0.5105 GB, free: 88.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003325/1.222, allocations: 90.28 kB / 0.5106 GB, free: 88.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006925/1.223, allocations: 172.8 kB / 0.5107 GB, free: 88.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 266 * Number of states: 0 () * Number of discrete variables: 31 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],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.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 (366): * Single equations (assignments): 366 * 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.0008653/1.224, allocations: 268 kB / 0.511 GB, free: 88.21 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002598/1.226, allocations: 1.092 MB / 0.5121 GB, free: 88.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004766/1.227, allocations: 150.3 kB / 0.5122 GB, free: 87.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002896/1.23, allocations: 1.258 MB / 0.5134 GB, free: 87.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/1.23, allocations: 15.14 kB / 0.5134 GB, free: 87.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/1.23, allocations: 0 / 0.5134 GB, free: 87.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/1.23, allocations: 6.891 kB / 0.5135 GB, free: 87.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/1.24, allocations: 3.778 MB / 0.5171 GB, free: 86.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/1.24, allocations: 6.625 kB / 0.5172 GB, free: 86.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001821/1.242, allocations: 211.5 kB / 0.5174 GB, free: 86.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-05/1.242, allocations: 10.94 kB / 0.5174 GB, free: 86.47 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/1.242, allocations: 11.12 kB / 0.5174 GB, free: 86.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.029e-05/1.242, allocations: 7.125 kB / 0.5174 GB, free: 86.47 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/1.242, allocations: 11.19 kB / 0.5174 GB, free: 86.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002563/1.245, allocations: 1.588 MB / 0.5189 GB, free: 85.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005408/1.246, allocations: 220.6 kB / 0.5192 GB, free: 85.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004311/1.246, allocations: 6.656 kB / 0.5192 GB, free: 85.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/1.248, allocations: 41.11 kB / 0.5192 GB, free: 85.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002212/1.248, allocations: 60.53 kB / 0.5193 GB, free: 85.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.517e-05/1.248, allocations: 28.56 kB / 0.5193 GB, free: 85.13 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001976/1.25, allocations: 0.9516 MB / 0.5202 GB, free: 84.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.42e-07/1.25, allocations: 0 / 0.5202 GB, free: 84.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003756/1.254, allocations: 461.1 kB / 0.5207 GB, free: 84.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 86 * 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.003376/1.257, allocations: 3.434 MB / 0.524 GB, free: 81.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004266/1.261, allocations: 1.894 MB / 0.5259 GB, free: 81.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/1.261, allocations: 2.25 kB / 0.5259 GB, free: 81.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00105/1.263, allocations: 0.5187 MB / 0.5264 GB, free: 80.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/1.264, allocations: 152.7 kB / 0.5265 GB, free: 80.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/1.279, allocations: 4.844 MB / 0.5312 GB, free: 78.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003463/1.282, allocations: 2.195 MB / 0.5334 GB, free: 77.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002581/1.285, allocations: 1.049 MB / 0.5344 GB, free: 76.93 MB / 410.7 MB Notification: Performance of SimCode: time 1.593e-06/1.285, allocations: 0 / 0.5344 GB, free: 76.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.575/4.86, allocations: 42.44 MB / 0.5759 GB, free: 49.14 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.JointSSR_res.mat does not exist to compare? outputFormat=mat