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.534/2.534, allocations: 235 MB / 247.1 MB, free: 14.4 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.151e-05/4.163e-05, allocations: 4 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4478/0.4479, allocations: 54.86 MB / 359.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2377/0.6857, allocations: 99.96 MB / 459.8 MB, free: 12.82 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/0.686, allocations: 75.97 kB / 459.9 MB, free: 12.74 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2393/0.9254, allocations: 56.28 MB / 0.5041 GB, free: 4.102 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.9255, allocations: 0 / 0.5041 GB, free: 4.102 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001687/0.9256, allocations: 56 kB / 0.5041 GB, free: 4.047 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: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.01119/0.9369, allocations: 2.569 MB / 0.5066 GB, free: 1.422 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/0.9369, allocations: 16.03 kB / 0.5067 GB, free: 1.406 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00192/0.9389, allocations: 477.1 kB / 0.5071 GB, free: 0.9297 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004264/0.9432, allocations: 479.8 kB / 0.5076 GB, free: 468 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006005/0.9492, allocations: 1.54 MB / 0.5091 GB, free: 14.87 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000323/0.9496, allocations: 213.6 kB / 0.5093 GB, free: 14.65 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001355/0.951, allocations: 284 kB / 0.5095 GB, free: 14.38 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0267/0.9777, allocations: 6.631 MB / 0.516 GB, free: 7.422 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001228/0.9779, allocations: 19.88 kB / 0.516 GB, free: 7.402 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006139/0.9785, allocations: 124 kB / 0.5162 GB, free: 7.281 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001657/0.9802, allocations: 0.5239 MB / 0.5167 GB, free: 6.75 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02311/1.003, allocations: 5.448 MB / 0.522 GB, free: 1.281 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4625/1.466, allocations: 21.29 MB / 0.5428 GB, free: 105.8 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01336/1.479, allocations: 1.785 MB / 0.5445 GB, free: 105.8 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001871/1.481, allocations: 0.6526 MB / 0.5452 GB, free: 105.7 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01135/1.493, allocations: 4.898 MB / 0.5499 GB, free: 103.3 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.603e-05/1.493, allocations: 51.42 kB / 0.55 GB, free: 103.3 MB / 458.7 MB Notification: Performance of pre-optimization done (n=70): time 5.361e-06/1.493, allocations: 0.75 kB / 0.55 GB, free: 103.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=110): time 0.05429/1.547, allocations: 7.478 MB / 0.5573 GB, free: 102.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/1.547, allocations: 89.95 kB / 0.5574 GB, free: 102.1 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003817/1.551, allocations: 1.714 MB / 0.5591 GB, free: 101.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003003/1.551, allocations: 41.42 kB / 0.5591 GB, free: 101.4 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001373/1.553, allocations: 1.659 MB / 0.5607 GB, free: 100.2 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005886/1.553, allocations: 422.9 kB / 0.5611 GB, free: 99.92 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002735/1.554, allocations: 55.66 kB / 0.5612 GB, free: 99.88 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001998/1.554, allocations: 428.2 kB / 0.5616 GB, free: 99.52 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002516/1.556, allocations: 0.9948 MB / 0.5626 GB, free: 99.13 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003762/1.56, allocations: 2.594 MB / 0.5651 GB, free: 96.59 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003759/1.564, allocations: 1.565 MB / 0.5666 GB, free: 96.07 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.555e-05/1.564, allocations: 19 kB / 0.5666 GB, free: 96.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=371) (initialization): time 0.009892/1.574, allocations: 3.587 MB / 0.5701 GB, free: 94.82 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.361e-05/1.574, allocations: 28.59 kB / 0.5702 GB, free: 94.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.402e-05/1.574, allocations: 61.09 kB / 0.5702 GB, free: 94.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001115/1.574, allocations: 87.33 kB / 0.5703 GB, free: 94.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005057/1.579, allocations: 0.7253 MB / 0.571 GB, free: 94.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000128/1.58, allocations: 112.1 kB / 0.5711 GB, free: 94.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003463/1.583, allocations: 161.7 kB / 0.5713 GB, free: 94.65 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005387/1.584, allocations: 160.3 kB / 0.5714 GB, free: 94.63 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 257 * 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 (371): * Single equations (assignments): 371 * 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.0006737/1.584, allocations: 336.5 kB / 0.5717 GB, free: 94.35 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004657/1.585, allocations: 183.6 kB / 0.5719 GB, free: 94.25 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00406/1.589, allocations: 1.703 MB / 0.5736 GB, free: 93.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/1.589, allocations: 9.875 kB / 0.5736 GB, free: 93.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/1.589, allocations: 3.438 kB / 0.5736 GB, free: 93.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/1.589, allocations: 3.375 kB / 0.5736 GB, free: 93.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01415/1.603, allocations: 5.875 MB / 0.5793 GB, free: 90.69 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/1.603, allocations: 14.81 kB / 0.5794 GB, free: 90.69 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001906/1.605, allocations: 251.8 kB / 0.5796 GB, free: 90.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.841e-05/1.605, allocations: 23.53 kB / 0.5796 GB, free: 90.66 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.697e-05/1.605, allocations: 37.23 kB / 0.5796 GB, free: 90.64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-05/1.605, allocations: 26.03 kB / 0.5797 GB, free: 90.64 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-05/1.605, allocations: 17.91 kB / 0.5797 GB, free: 90.63 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003168/1.609, allocations: 2.613 MB / 0.5822 GB, free: 88.18 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006221/1.609, allocations: 266.9 kB / 0.5825 GB, free: 87.98 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003149/1.61, allocations: 39.95 kB / 0.5825 GB, free: 87.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/1.611, allocations: 64.61 kB / 0.5826 GB, free: 87.95 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/1.611, allocations: 100 kB / 0.5827 GB, free: 87.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.583e-05/1.611, allocations: 42.72 kB / 0.5827 GB, free: 87.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00258/1.614, allocations: 1.243 MB / 0.5839 GB, free: 87.43 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.01e-07/1.614, allocations: 0 / 0.5839 GB, free: 87.43 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003555/1.617, allocations: 0.5352 MB / 0.5845 GB, free: 87.37 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 110 * 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.004566/1.622, allocations: 6.507 MB / 0.5908 GB, free: 81.31 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00518/1.627, allocations: 2.216 MB / 0.593 GB, free: 80.46 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.757e-05/1.627, allocations: 7.812 kB / 0.593 GB, free: 80.46 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001394/1.629, allocations: 0.601 MB / 0.5936 GB, free: 80.23 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/1.631, allocations: 226 kB / 0.5938 GB, free: 80.13 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01376/1.644, allocations: 4.969 MB / 0.5987 GB, free: 77.85 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002711/1.647, allocations: 2.226 MB / 0.6008 GB, free: 76.79 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003798/1.651, allocations: 0.7779 MB / 0.6016 GB, free: 76.61 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002541/1.654, allocations: 1.038 MB / 0.6026 GB, free: 75.66 MB / 458.7 MB Notification: Performance of SimCode: time 1.383e-06/1.654, allocations: 0 / 0.6026 GB, free: 75.66 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1031/1.757, allocations: 40.22 MB / 0.6419 GB, free: 40.2 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/1.757, allocations: 147.8 kB / 0.642 GB, free: 39.98 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.862/5.619, allocations: 0 / 0.642 GB, free: 39.98 MB / 458.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