Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.54/2.54, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.865e-05/4.884e-05, allocations: 4 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4468/0.4468, allocations: 54.85 MB / 359.9 MB, free: 2.793 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1849/0.6318, allocations: 98.91 MB / 458.8 MB, free: 13.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.6322, allocations: 79.95 kB / 458.9 MB, free: 13.78 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2245/0.8567, allocations: 54.51 MB / 0.5014 GB, free: 6.902 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.8568, allocations: 0 / 0.5014 GB, free: 6.902 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001488/0.8569, allocations: 56 kB / 0.5014 GB, free: 6.848 MB / 442.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.008149/0.8651, allocations: 2.362 MB / 0.5037 GB, free: 4.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.8652, allocations: 12.03 kB / 0.5037 GB, free: 4.418 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001591/0.8668, allocations: 480.8 kB / 0.5042 GB, free: 3.938 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003763/0.8706, allocations: 479.8 kB / 0.5046 GB, free: 3.465 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005375/0.876, allocations: 1.516 MB / 0.5061 GB, free: 1.898 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003668/0.8764, allocations: 221.7 kB / 0.5063 GB, free: 1.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001401/0.8778, allocations: 276 kB / 0.5066 GB, free: 1.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02327/0.9011, allocations: 5.885 MB / 0.5123 GB, free: 11.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001142/0.9013, allocations: 15.88 kB / 0.5124 GB, free: 11.19 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005899/0.9019, allocations: 128 kB / 0.5125 GB, free: 11.06 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001438/0.9033, allocations: 483.9 kB / 0.5129 GB, free: 10.59 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01836/0.9217, allocations: 4.411 MB / 0.5173 GB, free: 6.168 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3554/1.277, allocations: 19.86 MB / 0.5366 GB, free: 105.9 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00726/1.285, allocations: 1.223 MB / 0.5378 GB, free: 105.8 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009667/1.286, allocations: 374.3 kB / 0.5382 GB, free: 105.8 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002393/1.288, allocations: 2.062 MB / 0.5402 GB, free: 104.1 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.577e-05/1.288, allocations: 41.2 kB / 0.5402 GB, free: 104.1 MB / 458.7 MB Notification: Performance of pre-optimization done (n=66): time 3.747e-06/1.288, allocations: 1.938 kB / 0.5403 GB, free: 104.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=110): time 0.04216/1.33, allocations: 5.379 MB / 0.5455 GB, free: 103.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/1.33, allocations: 93.28 kB / 0.5456 GB, free: 103.2 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003993/1.334, allocations: 1.586 MB / 0.5471 GB, free: 103 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002487/1.335, allocations: 50.12 kB / 0.5472 GB, free: 102.9 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001744/1.336, allocations: 1.638 MB / 0.5488 GB, free: 102.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007061/1.337, allocations: 415.3 kB / 0.5492 GB, free: 101.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002622/1.337, allocations: 55.91 kB / 0.5492 GB, free: 101.9 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002279/1.338, allocations: 423.4 kB / 0.5496 GB, free: 101.6 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002254/1.34, allocations: 0.7641 MB / 0.5504 GB, free: 101.6 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003647/1.344, allocations: 2.28 MB / 0.5526 GB, free: 99.61 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003489/1.347, allocations: 1.315 MB / 0.5539 GB, free: 99.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001023/1.347, allocations: 16.16 kB / 0.5539 GB, free: 99.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=359) (initialization): time 0.00913/1.357, allocations: 2.919 MB / 0.5568 GB, free: 99.45 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.603e-05/1.357, allocations: 29.22 kB / 0.5568 GB, free: 99.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.734e-05/1.357, allocations: 56.84 kB / 0.5568 GB, free: 99.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001259/1.357, allocations: 84.75 kB / 0.5569 GB, free: 99.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004124/1.361, allocations: 0.6491 MB / 0.5576 GB, free: 99.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001098/1.361, allocations: 105.9 kB / 0.5577 GB, free: 99.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002996/1.364, allocations: 122 kB / 0.5578 GB, free: 99.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004682/1.365, allocations: 161.1 kB / 0.5579 GB, free: 99.36 MB / 458.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.0006065/1.365, allocations: 328.9 kB / 0.5582 GB, free: 99.16 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000425/1.366, allocations: 166.8 kB / 0.5584 GB, free: 99.07 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002769/1.369, allocations: 1.243 MB / 0.5596 GB, free: 98.97 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/1.369, allocations: 11.59 kB / 0.5596 GB, free: 98.97 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/1.369, allocations: 0 / 0.5596 GB, free: 98.97 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/1.369, allocations: 7.156 kB / 0.5596 GB, free: 98.97 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01408/1.383, allocations: 6.366 MB / 0.5659 GB, free: 96.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-05/1.383, allocations: 18.94 kB / 0.5659 GB, free: 96.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/1.384, allocations: 205.3 kB / 0.5661 GB, free: 96.06 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-05/1.384, allocations: 34.58 kB / 0.5661 GB, free: 96.06 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.996e-05/1.384, allocations: 44.91 kB / 0.5661 GB, free: 96.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-05/1.384, allocations: 39.06 kB / 0.5662 GB, free: 96.04 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.138e-05/1.384, allocations: 30.94 kB / 0.5662 GB, free: 96.04 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003088/1.387, allocations: 3.159 MB / 0.5693 GB, free: 92.46 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006757/1.388, allocations: 278.1 kB / 0.5696 GB, free: 92.25 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003077/1.388, allocations: 47.53 kB / 0.5696 GB, free: 92.24 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/1.39, allocations: 44.91 kB / 0.5696 GB, free: 92.22 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001933/1.39, allocations: 132 kB / 0.5698 GB, free: 92.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-05/1.39, allocations: 58.02 kB / 0.5698 GB, free: 92.16 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002459/1.393, allocations: 1.177 MB / 0.571 GB, free: 91.71 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.303e-06/1.393, allocations: 10.25 kB / 0.571 GB, free: 91.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003977/1.397, allocations: 0.4915 MB / 0.5715 GB, free: 91.64 MB / 458.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.004646/1.401, allocations: 9.435 MB / 0.5807 GB, free: 82.25 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004089/1.405, allocations: 1.683 MB / 0.5823 GB, free: 81.66 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.98e-05/1.406, allocations: 3.812 kB / 0.5823 GB, free: 81.66 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001093/1.407, allocations: 456.6 kB / 0.5828 GB, free: 81.51 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/1.409, allocations: 246.8 kB / 0.583 GB, free: 81.41 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02075/1.43, allocations: 5.016 MB / 0.5879 GB, free: 78.88 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003949/1.434, allocations: 2.231 MB / 0.5901 GB, free: 77.82 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003585/1.437, allocations: 0.7065 MB / 0.5908 GB, free: 77.74 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002212/1.44, allocations: 1.034 MB / 0.5918 GB, free: 76.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.693e-06/1.44, allocations: 4 kB / 0.5918 GB, free: 76.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1273/1.567, allocations: 36.89 MB / 0.6278 GB, free: 53.77 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/1.567, allocations: 142.6 kB / 0.6279 GB, free: 53.55 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.613/5.18, allocations: 0 / 0.6279 GB, free: 53.55 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP_res.mat does not exist to compare? outputFormat=mat