Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.326/2.326, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.308e-05/3.311e-05, allocations: 4 kB / 273.1 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1239, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4872/0.6112, allocations: 92.38 MB / 414.2 MB, free: 13.11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/0.6116, allocations: 79.94 kB / 414.3 MB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2816/0.8932, allocations: 54.51 MB / 468.8 MB, free: 6.152 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.8932, allocations: 0 / 468.8 MB, free: 6.152 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001696/0.8934, allocations: 52 kB / 468.9 MB, free: 6.102 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.008816/0.9023, allocations: 2.362 MB / 471.2 MB, free: 3.684 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.9023, allocations: 12.02 kB / 471.3 MB, free: 3.672 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001929/0.9043, allocations: 484.8 kB / 471.7 MB, free: 3.188 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004141/0.9084, allocations: 479.8 kB / 472.2 MB, free: 2.715 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00565/0.9141, allocations: 1.52 MB / 473.7 MB, free: 1.148 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003621/0.9146, allocations: 217.7 kB / 473.9 MB, free: 0.9336 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001438/0.916, allocations: 279.9 kB / 474.2 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02267/0.9387, allocations: 5.916 MB / 480.1 MB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001103/0.9389, allocations: 11.88 kB / 480.1 MB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005073/0.9394, allocations: 128 kB / 480.3 MB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001413/0.9408, allocations: 488 kB / 480.7 MB, free: 9.805 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.019/0.9599, allocations: 4.485 MB / 485.2 MB, free: 5.312 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04184/1.002, allocations: 19.86 MB / 0.4932 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.292/1.294, allocations: 1.237 MB / 0.4944 GB, free: 116.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/1.295, allocations: 375 kB / 0.4948 GB, free: 116.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00251/1.298, allocations: 2.071 MB / 0.4968 GB, free: 114.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.899e-05/1.298, allocations: 39.94 kB / 0.4969 GB, free: 114.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=66): time 4.529e-06/1.298, allocations: 4.594 kB / 0.4969 GB, free: 114.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=110): time 0.0358/1.333, allocations: 5.378 MB / 0.5021 GB, free: 113.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/1.334, allocations: 89.38 kB / 0.5022 GB, free: 113.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004122/1.338, allocations: 1.582 MB / 0.5038 GB, free: 113.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002651/1.338, allocations: 41.86 kB / 0.5038 GB, free: 113.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001703/1.34, allocations: 1.648 MB / 0.5054 GB, free: 112.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006595/1.34, allocations: 410.6 kB / 0.5058 GB, free: 112.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000242/1.341, allocations: 56.88 kB / 0.5058 GB, free: 112.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002381/1.341, allocations: 427.8 kB / 0.5063 GB, free: 112.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002231/1.343, allocations: 0.7591 MB / 0.507 GB, free: 112.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003635/1.347, allocations: 2.292 MB / 0.5092 GB, free: 110.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003678/1.351, allocations: 1.323 MB / 0.5105 GB, free: 110.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.26e-05/1.351, allocations: 15.16 kB / 0.5105 GB, free: 110.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=359) (initialization): time 0.00973/1.361, allocations: 3.068 MB / 0.5135 GB, free: 110 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.285e-05/1.361, allocations: 36.72 kB / 0.5136 GB, free: 110 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001064/1.361, allocations: 53.12 kB / 0.5136 GB, free: 110 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001619/1.361, allocations: 81.91 kB / 0.5137 GB, free: 110 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004634/1.366, allocations: 0.6409 MB / 0.5143 GB, free: 110 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001582/1.366, allocations: 110.5 kB / 0.5144 GB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003385/1.369, allocations: 125 kB / 0.5146 GB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007312/1.37, allocations: 158.8 kB / 0.5147 GB, free: 109.9 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.0008044/1.371, allocations: 330.9 kB / 0.515 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006026/1.371, allocations: 174.6 kB / 0.5152 GB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003202/1.375, allocations: 1.235 MB / 0.5164 GB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/1.375, allocations: 11.34 kB / 0.5164 GB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/1.375, allocations: 1.438 kB / 0.5164 GB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.628e-05/1.375, allocations: 14.23 kB / 0.5164 GB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01534/1.39, allocations: 6.417 MB / 0.5227 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.922e-05/1.39, allocations: 23.53 kB / 0.5227 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001317/1.392, allocations: 207.1 kB / 0.5229 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.741e-05/1.392, allocations: 27.19 kB / 0.5229 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.381e-05/1.392, allocations: 45.03 kB / 0.523 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.24e-05/1.392, allocations: 42.42 kB / 0.523 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.316e-05/1.392, allocations: 33.03 kB / 0.523 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003356/1.395, allocations: 3.158 MB / 0.5261 GB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007023/1.396, allocations: 276.1 kB / 0.5264 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002931/1.396, allocations: 48.08 kB / 0.5264 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/1.397, allocations: 39.12 kB / 0.5265 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000217/1.398, allocations: 141.5 kB / 0.5266 GB, free: 104 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.85e-05/1.398, allocations: 54.22 kB / 0.5267 GB, free: 104 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002533/1.4, allocations: 1.174 MB / 0.5278 GB, free: 103.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.42e-07/1.4, allocations: 0 / 0.5278 GB, free: 103.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004115/1.405, allocations: 0.4939 MB / 0.5283 GB, free: 103.5 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.004968/1.41, allocations: 9.442 MB / 0.5375 GB, free: 94.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00429/1.414, allocations: 1.782 MB / 0.5393 GB, free: 93.49 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.133e-05/1.414, allocations: 3.875 kB / 0.5393 GB, free: 93.49 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001107/1.415, allocations: 489.5 kB / 0.5397 GB, free: 93.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002091/1.417, allocations: 249.4 kB / 0.54 GB, free: 93.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01585/1.433, allocations: 5.031 MB / 0.5449 GB, free: 90.69 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003291/1.437, allocations: 2.236 MB / 0.5471 GB, free: 89.62 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003515/1.44, allocations: 0.7076 MB / 0.5477 GB, free: 89.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002331/1.442, allocations: 1.036 MB / 0.5488 GB, free: 88.71 MB / 426.7 MB Notification: Performance of SimCode: time 1.213e-06/1.442, allocations: 0 / 0.5488 GB, free: 88.71 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09986/1.542, allocations: 37.17 MB / 0.5851 GB, free: 68.39 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003074/1.543, allocations: 143.8 kB / 0.5852 GB, free: 68.17 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.608/5.15, allocations: 4 kB / 0.5852 GB, free: 68.16 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP_res.mat does not exist to compare? outputFormat=mat