Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.308/2.308, allocations: 235.1 MB / 242.2 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.833e-05/2.829e-05, allocations: 4 kB / 299.5 MB, free: 6.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3661, allocations: 54.85 MB / 354.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1827/0.5488, allocations: 99.3 MB / 453.6 MB, free: 14.94 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.5492, allocations: 79.95 kB / 453.7 MB, free: 14.86 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5567/1.106, allocations: 54.85 MB / 0.4966 GB, free: 105 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.106e-06/1.106, allocations: 0 / 0.4966 GB, free: 105 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002238/1.106, allocations: 55.12 kB / 0.4967 GB, free: 105 MB / 426.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.01475/1.121, allocations: 2.573 MB / 0.4992 GB, free: 103.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.07e-05/1.121, allocations: 8.969 kB / 0.4992 GB, free: 103.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006625/1.128, allocations: 497.4 kB / 0.4997 GB, free: 103.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008242/1.136, allocations: 1.53 MB / 0.5012 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002867/1.136, allocations: 91.97 kB / 0.5013 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001711/1.138, allocations: 163.8 kB / 0.5014 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01361/1.152, allocations: 3.805 MB / 0.5052 GB, free: 103.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02005/1.172, allocations: 4.948 MB / 0.51 GB, free: 102.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000244/1.172, allocations: 16.75 kB / 0.51 GB, free: 102.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001514/1.174, allocations: 10.77 kB / 0.51 GB, free: 102.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002086/1.176, allocations: 0.5261 MB / 0.5105 GB, free: 102.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04752/1.224, allocations: 20.04 MB / 0.5301 GB, free: 89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003044/1.227, allocations: 0.8462 MB / 0.5309 GB, free: 88.61 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001831/1.229, allocations: 0.6183 MB / 0.5315 GB, free: 88.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01312/1.242, allocations: 4.578 MB / 0.536 GB, free: 85.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/1.242, allocations: 38.75 kB / 0.536 GB, free: 85.22 MB / 426.7 MB Notification: Performance of pre-optimization done (n=64): time 5.561e-06/1.242, allocations: 4 kB / 0.536 GB, free: 85.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=88): time 0.03631/1.278, allocations: 5.241 MB / 0.5412 GB, free: 82.65 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/1.278, allocations: 93.77 kB / 0.5412 GB, free: 82.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00375/1.282, allocations: 1.405 MB / 0.5426 GB, free: 81.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002724/1.282, allocations: 25.7 kB / 0.5426 GB, free: 81.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001808/1.284, allocations: 1.72 MB / 0.5443 GB, free: 79.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006337/1.285, allocations: 334.2 kB / 0.5446 GB, free: 79.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003476/1.285, allocations: 0 / 0.5446 GB, free: 79.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004267/1.286, allocations: 472.7 kB / 0.5451 GB, free: 78.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002948/1.289, allocations: 0.8245 MB / 0.5459 GB, free: 78.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004276/1.293, allocations: 2.462 MB / 0.5483 GB, free: 75.06 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007299/1.3, allocations: 1.534 MB / 0.5498 GB, free: 73.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.37e-05/1.301, allocations: 16 kB / 0.5498 GB, free: 73.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=366) (initialization): time 0.0148/1.315, allocations: 3.121 MB / 0.5529 GB, free: 71.03 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.467e-05/1.315, allocations: 32 kB / 0.5529 GB, free: 71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000111/1.316, allocations: 60.52 kB / 0.5529 GB, free: 70.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000156/1.316, allocations: 88 kB / 0.553 GB, free: 70.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007069/1.323, allocations: 0.7056 MB / 0.5537 GB, free: 70.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001646/1.323, allocations: 121.8 kB / 0.5538 GB, free: 70.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004981/1.328, allocations: 91.58 kB / 0.5539 GB, free: 70.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008196/1.329, allocations: 168 kB / 0.5541 GB, free: 69.91 MB / 426.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.0007698/1.33, allocations: 269.8 kB / 0.5543 GB, free: 69.64 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003793/1.334, allocations: 1.099 MB / 0.5554 GB, free: 68.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005332/1.334, allocations: 150 kB / 0.5556 GB, free: 68.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004295/1.338, allocations: 1.264 MB / 0.5568 GB, free: 67.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/1.339, allocations: 8 kB / 0.5568 GB, free: 67.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/1.339, allocations: 0 / 0.5568 GB, free: 67.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/1.339, allocations: 3.516 kB / 0.5568 GB, free: 67.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01383/1.352, allocations: 3.771 MB / 0.5605 GB, free: 63.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/1.353, allocations: 8 kB / 0.5605 GB, free: 63.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001762/1.354, allocations: 203.6 kB / 0.5607 GB, free: 63.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.878e-05/1.354, allocations: 15.95 kB / 0.5607 GB, free: 63.72 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.246e-05/1.354, allocations: 4 kB / 0.5607 GB, free: 63.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.31e-05/1.354, allocations: 12.36 kB / 0.5607 GB, free: 63.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.874e-06/1.354, allocations: 11.94 kB / 0.5607 GB, free: 63.69 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002401/1.357, allocations: 1.587 MB / 0.5623 GB, free: 61.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004175/1.357, allocations: 219.2 kB / 0.5625 GB, free: 61.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003214/1.358, allocations: 4 kB / 0.5625 GB, free: 61.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/1.359, allocations: 43.92 kB / 0.5625 GB, free: 61.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/1.359, allocations: 64.39 kB / 0.5626 GB, free: 61.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.887e-05/1.359, allocations: 28 kB / 0.5626 GB, free: 61.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001751/1.361, allocations: 0.9445 MB / 0.5635 GB, free: 60.58 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.361, allocations: 4 kB / 0.5635 GB, free: 60.58 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003191/1.364, allocations: 459.9 kB / 0.564 GB, free: 60.13 MB / 426.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.003074/1.367, allocations: 3.446 MB / 0.5674 GB, free: 56.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004165/1.371, allocations: 1.892 MB / 0.5692 GB, free: 54.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/1.371, allocations: 0 / 0.5692 GB, free: 54.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/1.373, allocations: 0.5224 MB / 0.5697 GB, free: 54.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/1.374, allocations: 155.3 kB / 0.5699 GB, free: 53.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01402/1.388, allocations: 4.54 MB / 0.5743 GB, free: 49.33 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003417/1.391, allocations: 2.195 MB / 0.5764 GB, free: 47.11 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003706/1.395, allocations: 0.7202 MB / 0.5771 GB, free: 46.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002515/1.398, allocations: 1.028 MB / 0.5781 GB, free: 45.36 MB / 426.7 MB Notification: Performance of SimCode: time 2.715e-06/1.398, allocations: 0 / 0.5781 GB, free: 45.36 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.127/1.525, allocations: 34.83 MB / 0.6122 GB, free: 10.83 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002366/1.525, allocations: 131.5 kB / 0.6123 GB, free: 10.64 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.745/5.27, allocations: 0 / 0.6123 GB, free: 10.64 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR_res.mat does not exist to compare? outputFormat=mat