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.527/2.527, allocations: 235 MB / 247.1 MB, free: 14.4 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.575e-05/4.589e-05, allocations: 4 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4624/0.4625, allocations: 54.85 MB / 359.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1938/0.6564, allocations: 98.9 MB / 458.8 MB, free: 14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000358/0.6568, allocations: 79.95 kB / 458.8 MB, free: 13.92 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2702/0.927, allocations: 54.51 MB / 0.5013 GB, free: 7.039 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.9271, allocations: 0 / 0.5013 GB, free: 7.039 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001726/0.9272, allocations: 52 kB / 0.5014 GB, free: 6.988 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.009242/0.9365, allocations: 2.37 MB / 0.5037 GB, free: 4.562 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.522e-05/0.9366, allocations: 12.03 kB / 0.5037 GB, free: 4.551 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002035/0.9386, allocations: 480.8 kB / 0.5042 GB, free: 4.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00413/0.9428, allocations: 479.8 kB / 0.5046 GB, free: 3.598 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005484/0.9483, allocations: 1.513 MB / 0.5061 GB, free: 2.035 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003058/0.9487, allocations: 217.7 kB / 0.5063 GB, free: 1.82 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00122/0.95, allocations: 280 kB / 0.5066 GB, free: 1.547 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02162/0.9716, allocations: 5.916 MB / 0.5123 GB, free: 11.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001265/0.9718, allocations: 19.86 kB / 0.5124 GB, free: 11.29 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006412/0.9724, allocations: 128 kB / 0.5125 GB, free: 11.16 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001425/0.9739, allocations: 483.9 kB / 0.5129 GB, free: 10.68 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0185/0.9924, allocations: 4.482 MB / 0.5173 GB, free: 6.195 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.37/1.362, allocations: 19.86 MB / 0.5367 GB, free: 106.4 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007285/1.37, allocations: 1.229 MB / 0.5379 GB, free: 106.3 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/1.371, allocations: 372.2 kB / 0.5383 GB, free: 106.3 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002475/1.373, allocations: 2.067 MB / 0.5403 GB, free: 104.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.37e-05/1.373, allocations: 39.89 kB / 0.5403 GB, free: 104.6 MB / 458.7 MB Notification: Performance of pre-optimization done (n=66): time 4.698e-06/1.373, allocations: 0 / 0.5403 GB, free: 104.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=110): time 0.03532/1.409, allocations: 5.391 MB / 0.5456 GB, free: 103.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/1.409, allocations: 93 kB / 0.5457 GB, free: 103.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003855/1.413, allocations: 1.587 MB / 0.5472 GB, free: 103.4 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002331/1.413, allocations: 44.2 kB / 0.5473 GB, free: 103.4 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001409/1.415, allocations: 1.639 MB / 0.5489 GB, free: 102.6 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005692/1.415, allocations: 413 kB / 0.5493 GB, free: 102.4 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/1.415, allocations: 58.78 kB / 0.5493 GB, free: 102.4 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002074/1.416, allocations: 422.9 kB / 0.5497 GB, free: 102.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001989/1.418, allocations: 0.7617 MB / 0.5505 GB, free: 102.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003277/1.421, allocations: 2.298 MB / 0.5527 GB, free: 100.1 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003401/1.424, allocations: 1.318 MB / 0.554 GB, free: 100.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.719e-05/1.424, allocations: 16.38 kB / 0.554 GB, free: 100.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=359) (initialization): time 0.009169/1.434, allocations: 3.061 MB / 0.557 GB, free: 99.87 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.373e-05/1.434, allocations: 28.88 kB / 0.557 GB, free: 99.87 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.19e-05/1.434, allocations: 54.5 kB / 0.5571 GB, free: 99.87 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001148/1.434, allocations: 82.06 kB / 0.5572 GB, free: 99.87 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004099/1.438, allocations: 0.6505 MB / 0.5578 GB, free: 99.81 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001211/1.438, allocations: 113.4 kB / 0.5579 GB, free: 99.78 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003044/1.441, allocations: 119.6 kB / 0.558 GB, free: 99.78 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005681/1.442, allocations: 161.9 kB / 0.5582 GB, free: 99.78 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.000597/1.443, allocations: 329.9 kB / 0.5585 GB, free: 99.58 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005376/1.443, allocations: 167.2 kB / 0.5586 GB, free: 99.49 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003008/1.446, allocations: 1.236 MB / 0.5599 GB, free: 99.39 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/1.446, allocations: 15.19 kB / 0.5599 GB, free: 99.39 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/1.446, allocations: 7.016 kB / 0.5599 GB, free: 99.39 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.661e-05/1.446, allocations: 7.609 kB / 0.5599 GB, free: 99.39 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/1.462, allocations: 6.414 MB / 0.5661 GB, free: 96.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.158e-05/1.462, allocations: 20.62 kB / 0.5662 GB, free: 96.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/1.464, allocations: 207.7 kB / 0.5664 GB, free: 96.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.541e-05/1.464, allocations: 33.12 kB / 0.5664 GB, free: 96.36 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/1.464, allocations: 47.97 kB / 0.5664 GB, free: 96.35 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.319e-05/1.464, allocations: 38.72 kB / 0.5665 GB, free: 96.34 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.506e-05/1.464, allocations: 32.28 kB / 0.5665 GB, free: 96.33 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003426/1.467, allocations: 3.162 MB / 0.5696 GB, free: 92.76 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006151/1.468, allocations: 274.3 kB / 0.5699 GB, free: 92.55 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003034/1.468, allocations: 49.8 kB / 0.5699 GB, free: 92.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/1.47, allocations: 43.53 kB / 0.5699 GB, free: 92.52 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/1.47, allocations: 134 kB / 0.5701 GB, free: 92.47 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.321e-05/1.47, allocations: 53.94 kB / 0.5701 GB, free: 92.46 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002504/1.472, allocations: 1.174 MB / 0.5713 GB, free: 92.01 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.72e-07/1.472, allocations: 0 / 0.5713 GB, free: 92.01 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003949/1.476, allocations: 0.4952 MB / 0.5718 GB, free: 91.95 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.004775/1.481, allocations: 9.44 MB / 0.581 GB, free: 82.56 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004382/1.486, allocations: 1.787 MB / 0.5827 GB, free: 81.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.582e-05/1.486, allocations: 3.875 kB / 0.5827 GB, free: 81.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001094/1.487, allocations: 483.7 kB / 0.5832 GB, free: 81.73 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/1.489, allocations: 250.8 kB / 0.5834 GB, free: 81.63 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01663/1.505, allocations: 5.03 MB / 0.5883 GB, free: 79.09 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003615/1.509, allocations: 2.238 MB / 0.5905 GB, free: 78.03 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003828/1.513, allocations: 0.709 MB / 0.5912 GB, free: 77.95 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002336/1.515, allocations: 1.03 MB / 0.5922 GB, free: 77.11 MB / 458.7 MB Notification: Performance of SimCode: time 1.233e-06/1.515, allocations: 0 / 0.5922 GB, free: 77.11 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1222/1.638, allocations: 37.17 MB / 0.6285 GB, free: 53.74 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/1.638, allocations: 151.8 kB / 0.6287 GB, free: 53.51 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.712/5.35, allocations: 0 / 0.6287 GB, free: 53.51 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