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.992/1.992, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.651e-05/5.671e-05, allocations: 11.98 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1085, allocations: 48.69 MB / 321.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5709/0.6795, allocations: 93.43 MB / 415.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/0.6798, allocations: 67.97 kB / 415.3 MB, free: 12.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2403/0.9201, allocations: 56.27 MB / 471.6 MB, free: 3.758 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.9202, allocations: 4 kB / 471.6 MB, free: 3.754 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001602/0.9203, allocations: 48 kB / 471.7 MB, free: 3.707 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.0107/0.9311, allocations: 2.576 MB / 474.2 MB, free: 1.074 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/0.9311, allocations: 8.031 kB / 474.2 MB, free: 1.066 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002027/0.9332, allocations: 485.1 kB / 474.7 MB, free: 0.582 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004417/0.9376, allocations: 491.7 kB / 475.2 MB, free: 100 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005983/0.9437, allocations: 1.544 MB / 476.7 MB, free: 14.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003215/0.944, allocations: 213.6 kB / 476.9 MB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001375/0.9454, allocations: 272 kB / 477.2 MB, free: 14.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03327/0.9787, allocations: 6.638 MB / 483.8 MB, free: 7.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001634/0.979, allocations: 11.88 kB / 483.9 MB, free: 7.059 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007026/0.9797, allocations: 127.9 kB / 484 MB, free: 6.934 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001988/0.9817, allocations: 0.5239 MB / 484.5 MB, free: 6.402 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02808/1.01, allocations: 5.452 MB / 490 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.381/1.391, allocations: 21.29 MB / 0.4993 GB, free: 103.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01295/1.404, allocations: 1.784 MB / 0.501 GB, free: 103.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001749/1.406, allocations: 0.655 MB / 0.5017 GB, free: 103.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01128/1.417, allocations: 4.888 MB / 0.5064 GB, free: 101.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.862e-05/1.417, allocations: 43.89 kB / 0.5065 GB, free: 101.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=70): time 4.408e-06/1.417, allocations: 0 / 0.5065 GB, free: 101.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=110): time 0.05321/1.47, allocations: 7.488 MB / 0.5138 GB, free: 100.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.381e-05/1.471, allocations: 97.19 kB / 0.5139 GB, free: 100.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003926/1.474, allocations: 1.701 MB / 0.5155 GB, free: 100 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002877/1.475, allocations: 45.05 kB / 0.5156 GB, free: 99.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001301/1.476, allocations: 1.657 MB / 0.5172 GB, free: 99.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005691/1.477, allocations: 411.8 kB / 0.5176 GB, free: 98.83 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002388/1.477, allocations: 57.53 kB / 0.5176 GB, free: 98.83 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002041/1.477, allocations: 432.6 kB / 0.5181 GB, free: 98.51 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002599/1.48, allocations: 0.9998 MB / 0.519 GB, free: 98.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003714/1.484, allocations: 2.594 MB / 0.5216 GB, free: 96.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003579/1.487, allocations: 1.566 MB / 0.5231 GB, free: 96.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.009e-05/1.487, allocations: 15.53 kB / 0.5231 GB, free: 96.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=371) (initialization): time 0.00976/1.497, allocations: 3.525 MB / 0.5266 GB, free: 96.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.017e-05/1.497, allocations: 29.22 kB / 0.5266 GB, free: 96.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.612e-05/1.497, allocations: 58.53 kB / 0.5266 GB, free: 96.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001154/1.497, allocations: 87.47 kB / 0.5267 GB, free: 96.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005357/1.503, allocations: 0.7147 MB / 0.5274 GB, free: 96.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001526/1.503, allocations: 116.7 kB / 0.5275 GB, free: 96.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003938/1.507, allocations: 161.1 kB / 0.5277 GB, free: 96.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007758/1.508, allocations: 167 kB / 0.5278 GB, free: 96.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 257 * 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 (371): * Single equations (assignments): 371 * 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.0007152/1.509, allocations: 341.4 kB / 0.5282 GB, free: 96.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005931/1.509, allocations: 177.8 kB / 0.5283 GB, free: 96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003998/1.513, allocations: 1.7 MB / 0.53 GB, free: 95.87 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/1.513, allocations: 9.469 kB / 0.53 GB, free: 95.87 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/1.513, allocations: 0 / 0.53 GB, free: 95.87 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/1.513, allocations: 6.75 kB / 0.53 GB, free: 95.87 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01443/1.528, allocations: 5.888 MB / 0.5358 GB, free: 93.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.685e-05/1.528, allocations: 15.88 kB / 0.5358 GB, free: 93.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001891/1.53, allocations: 242.7 kB / 0.536 GB, free: 93.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.789e-05/1.53, allocations: 22.39 kB / 0.536 GB, free: 93.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.195e-05/1.53, allocations: 34.91 kB / 0.5361 GB, free: 93.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.145e-05/1.53, allocations: 23 kB / 0.5361 GB, free: 93.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.326e-05/1.53, allocations: 21.72 kB / 0.5361 GB, free: 93.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003249/1.533, allocations: 2.616 MB / 0.5387 GB, free: 90.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006505/1.534, allocations: 267.4 kB / 0.5389 GB, free: 90.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003225/1.534, allocations: 40.41 kB / 0.539 GB, free: 90.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/1.536, allocations: 55.72 kB / 0.539 GB, free: 90.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/1.536, allocations: 108 kB / 0.5391 GB, free: 90.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.148e-05/1.536, allocations: 37.91 kB / 0.5391 GB, free: 90.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002537/1.538, allocations: 1.24 MB / 0.5404 GB, free: 89.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.262e-06/1.538, allocations: 2.438 kB / 0.5404 GB, free: 89.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003787/1.542, allocations: 0.547 MB / 0.5409 GB, free: 89.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * 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.004403/1.547, allocations: 6.502 MB / 0.5472 GB, free: 83.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005227/1.552, allocations: 2.214 MB / 0.5494 GB, free: 82.94 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.002e-05/1.552, allocations: 3.5 kB / 0.5494 GB, free: 82.94 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001327/1.553, allocations: 0.599 MB / 0.55 GB, free: 82.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/1.555, allocations: 241.2 kB / 0.5502 GB, free: 82.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01506/1.57, allocations: 5.28 MB / 0.5554 GB, free: 80.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002801/1.573, allocations: 2.222 MB / 0.5575 GB, free: 79.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00222/1.576, allocations: 1.064 MB / 0.5586 GB, free: 78.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.553e-06/1.576, allocations: 0 / 0.5586 GB, free: 78.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.453/5.028, allocations: 45.58 MB / 0.6031 GB, free: 44.93 MB / 426.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