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.094/2.094, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.527e-05/3.541e-05, allocations: 4 kB / 273.1 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1128, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.442/0.5548, allocations: 92.39 MB / 414.2 MB, free: 13.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/0.5552, allocations: 75.95 kB / 414.3 MB, free: 13.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2258/0.7811, allocations: 54.51 MB / 468.8 MB, free: 6.539 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.7812, allocations: 0 / 468.8 MB, free: 6.539 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001664/0.7813, allocations: 56.12 kB / 468.9 MB, free: 6.484 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.009271/0.7906, allocations: 2.362 MB / 471.2 MB, free: 4.066 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.48e-05/0.7907, allocations: 12.03 kB / 471.2 MB, free: 4.055 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00208/0.7928, allocations: 476.8 kB / 471.7 MB, free: 3.578 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004207/0.7971, allocations: 487.7 kB / 472.2 MB, free: 3.098 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005779/0.8029, allocations: 1.509 MB / 473.7 MB, free: 1.543 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003743/0.8033, allocations: 221.7 kB / 473.9 MB, free: 1.324 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001471/0.8048, allocations: 284 kB / 474.2 MB, free: 1.047 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02359/0.8284, allocations: 5.916 MB / 480.1 MB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001373/0.8286, allocations: 19.81 kB / 480.1 MB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007695/0.8294, allocations: 128 kB / 480.2 MB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001461/0.8309, allocations: 480 kB / 480.7 MB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01878/0.8497, allocations: 4.496 MB / 485.2 MB, free: 5.691 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04286/0.8926, allocations: 19.87 MB / 0.4932 GB, free: 1.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2953/1.188, allocations: 1.231 MB / 0.4944 GB, free: 116.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/1.19, allocations: 372.3 kB / 0.4948 GB, free: 116.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002555/1.192, allocations: 2.068 MB / 0.4968 GB, free: 114.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.476e-05/1.192, allocations: 42.64 kB / 0.4969 GB, free: 114.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=66): time 3.727e-06/1.192, allocations: 1.156 kB / 0.4969 GB, free: 114.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=110): time 0.03502/1.227, allocations: 5.38 MB / 0.5021 GB, free: 114.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/1.227, allocations: 89.44 kB / 0.5022 GB, free: 114.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004017/1.231, allocations: 1.579 MB / 0.5037 GB, free: 114 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002419/1.232, allocations: 47.83 kB / 0.5038 GB, free: 114 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001516/1.233, allocations: 1.649 MB / 0.5054 GB, free: 113.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006112/1.234, allocations: 408.1 kB / 0.5058 GB, free: 112.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002237/1.234, allocations: 57.06 kB / 0.5058 GB, free: 112.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002276/1.234, allocations: 428.5 kB / 0.5062 GB, free: 112.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00209/1.236, allocations: 0.7563 MB / 0.507 GB, free: 112.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003363/1.24, allocations: 2.3 MB / 0.5092 GB, free: 110.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003537/1.243, allocations: 1.316 MB / 0.5105 GB, free: 110.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.501e-05/1.244, allocations: 18.81 kB / 0.5105 GB, free: 110.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=359) (initialization): time 0.009184/1.253, allocations: 2.998 MB / 0.5135 GB, free: 110.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.514e-05/1.253, allocations: 27.38 kB / 0.5135 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001167/1.253, allocations: 55.73 kB / 0.5135 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001617/1.253, allocations: 83.98 kB / 0.5136 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004501/1.258, allocations: 0.6535 MB / 0.5143 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001661/1.258, allocations: 107.5 kB / 0.5144 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003026/1.261, allocations: 124.2 kB / 0.5145 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005722/1.262, allocations: 161.2 kB / 0.5146 GB, free: 110.3 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.0006316/1.262, allocations: 326.2 kB / 0.5149 GB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005373/1.263, allocations: 167 kB / 0.5151 GB, free: 110 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003148/1.266, allocations: 1.243 MB / 0.5163 GB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/1.266, allocations: 11.06 kB / 0.5163 GB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/1.266, allocations: 5.141 kB / 0.5163 GB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/1.266, allocations: 7.219 kB / 0.5163 GB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01559/1.282, allocations: 6.421 MB / 0.5226 GB, free: 108.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-05/1.282, allocations: 23.44 kB / 0.5226 GB, free: 108.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/1.283, allocations: 205.5 kB / 0.5228 GB, free: 108.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.463e-05/1.283, allocations: 30.75 kB / 0.5229 GB, free: 108.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.117e-05/1.283, allocations: 47.19 kB / 0.5229 GB, free: 108.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.083e-05/1.283, allocations: 43.53 kB / 0.5229 GB, free: 108.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.222e-05/1.283, allocations: 30.84 kB / 0.523 GB, free: 108.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003157/1.287, allocations: 3.158 MB / 0.5261 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006847/1.287, allocations: 274.6 kB / 0.5263 GB, free: 104.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00029/1.288, allocations: 43.75 kB / 0.5264 GB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/1.289, allocations: 44.22 kB / 0.5264 GB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001844/1.289, allocations: 134.3 kB / 0.5265 GB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.339e-05/1.289, allocations: 53.81 kB / 0.5266 GB, free: 104.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002476/1.292, allocations: 1.177 MB / 0.5277 GB, free: 103.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.42e-07/1.292, allocations: 0 / 0.5277 GB, free: 103.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003922/1.296, allocations: 0.494 MB / 0.5282 GB, free: 103.8 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.004618/1.3, allocations: 9.441 MB / 0.5374 GB, free: 94.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004267/1.305, allocations: 1.775 MB / 0.5392 GB, free: 93.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-05/1.305, allocations: 3.938 kB / 0.5392 GB, free: 93.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001094/1.306, allocations: 488.1 kB / 0.5396 GB, free: 93.58 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001945/1.308, allocations: 248.2 kB / 0.5399 GB, free: 93.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01571/1.323, allocations: 5.336 MB / 0.5451 GB, free: 90.74 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003342/1.327, allocations: 2.232 MB / 0.5473 GB, free: 89.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002114/1.329, allocations: 1.06 MB / 0.5483 GB, free: 88.84 MB / 426.7 MB Notification: Performance of SimCode: time 1.153e-06/1.329, allocations: 0 / 0.5483 GB, free: 88.84 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.234/4.564, allocations: 42.86 MB / 0.5902 GB, free: 62.95 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