Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.403/2.403, allocations: 270 MB / 283.6 MB, free: 3.137 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.415e-05/5.426e-05, allocations: 7.234 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1387, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.554/0.6928, allocations: 109 MB / 0.5072 GB, free: 11.08 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/0.6931, allocations: 71.97 kB / 0.5072 GB, free: 11.01 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3175/1.011, allocations: 67.63 MB / 0.5733 GB, free: 7.062 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.144e-06/1.011, allocations: 0 / 0.5733 GB, free: 7.062 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002092/1.011, allocations: 63.98 kB / 0.5733 GB, free: 7 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1077 * Number of variables: 1077 Notification: Performance of Generate backend data structure: time 0.01377/1.025, allocations: 3.25 MB / 0.5765 GB, free: 3.691 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/1.025, allocations: 12.03 kB / 0.5765 GB, free: 3.68 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002529/1.027, allocations: 0.5562 MB / 0.5771 GB, free: 3.113 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005045/1.032, allocations: 0.577 MB / 0.5776 GB, free: 2.531 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008059/1.04, allocations: 2.025 MB / 0.5796 GB, free: 472 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000415/1.041, allocations: 258.7 kB / 0.5798 GB, free: 212 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001863/1.043, allocations: 332 kB / 0.5802 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02892/1.072, allocations: 7.509 MB / 0.5875 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001337/1.072, allocations: 15.81 kB / 0.5875 GB, free: 7.988 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001282/1.073, allocations: 151.9 kB / 0.5877 GB, free: 7.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001535/1.075, allocations: 0.5987 MB / 0.5882 GB, free: 7.238 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02509/1.1, allocations: 6.132 MB / 0.5942 GB, free: 1.098 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4718/1.572, allocations: 24.13 MB / 0.6178 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01087/1.583, allocations: 1.821 MB / 0.6196 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001994/1.585, allocations: 0.7907 MB / 0.6203 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01317/1.598, allocations: 5.817 MB / 0.626 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.868e-05/1.598, allocations: 46.98 kB / 0.6261 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=75): time 3.917e-06/1.598, allocations: 3.344 kB / 0.6261 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=93): time 0.02581/1.624, allocations: 4.012 MB / 0.63 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/1.624, allocations: 65.62 kB / 0.63 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004849/1.629, allocations: 1.999 MB / 0.632 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002115/1.629, allocations: 42.23 kB / 0.632 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001986/1.631, allocations: 2.036 MB / 0.634 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005618/1.632, allocations: 374.1 kB / 0.6344 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000262/1.632, allocations: 68.22 kB / 0.6344 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002646/1.632, allocations: 450.1 kB / 0.6349 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002234/1.635, allocations: 0.8468 MB / 0.6357 GB, free: 117.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003527/1.638, allocations: 2.892 MB / 0.6385 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003786/1.642, allocations: 1.555 MB / 0.64 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000103/1.642, allocations: 21.25 kB / 0.6401 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01133/1.653, allocations: 3.478 MB / 0.6435 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.388e-05/1.654, allocations: 35.75 kB / 0.6435 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001138/1.654, allocations: 77.77 kB / 0.6436 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001891/1.654, allocations: 108.5 kB / 0.6437 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004686/1.659, allocations: 0.7931 MB / 0.6444 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001362/1.659, allocations: 152.1 kB / 0.6446 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003346/1.662, allocations: 150.1 kB / 0.6447 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004162/1.663, allocations: 208.1 kB / 0.6449 GB, free: 115.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 336 * Number of states: 0 () * Number of discrete variables: 50 (jointUSP.prismatic.positiveBranch,prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,prism.color[3],prism.color[2],prism.color[1],rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (436): * Single equations (assignments): 436 * 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.0006107/1.663, allocations: 388.1 kB / 0.6453 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004092/1.664, allocations: 194.8 kB / 0.6455 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002404/1.666, allocations: 1.13 MB / 0.6466 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/1.666, allocations: 11.47 kB / 0.6466 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/1.666, allocations: 0 / 0.6466 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/1.666, allocations: 7.891 kB / 0.6466 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/1.677, allocations: 5.32 MB / 0.6518 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-05/1.677, allocations: 19.72 kB / 0.6518 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001489/1.679, allocations: 250.2 kB / 0.6521 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-05/1.679, allocations: 33.2 kB / 0.6521 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.84e-05/1.679, allocations: 45.28 kB / 0.6521 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.204e-05/1.679, allocations: 36.89 kB / 0.6522 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-05/1.679, allocations: 28.53 kB / 0.6522 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003269/1.682, allocations: 3.465 MB / 0.6556 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007113/1.683, allocations: 309.8 kB / 0.6559 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003562/1.684, allocations: 46.8 kB / 0.6559 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/1.685, allocations: 44.39 kB / 0.656 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/1.685, allocations: 145.6 kB / 0.6561 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.304e-05/1.685, allocations: 54.41 kB / 0.6562 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003216/1.688, allocations: 1.437 MB / 0.6576 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.31e-07/1.688, allocations: 3.172 kB / 0.6576 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004613/1.693, allocations: 0.5844 MB / 0.6581 GB, free: 108.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 131 * 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.006714/1.7, allocations: 9.136 MB / 0.6671 GB, free: 99.96 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007432/1.707, allocations: 1.988 MB / 0.669 GB, free: 99.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.189e-05/1.707, allocations: 6.125 kB / 0.669 GB, free: 99.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001923/1.709, allocations: 0.5334 MB / 0.6695 GB, free: 99.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003766/1.713, allocations: 324.1 kB / 0.6698 GB, free: 98.98 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02707/1.74, allocations: 5.837 MB / 0.6755 GB, free: 96.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006778/1.747, allocations: 2.523 MB / 0.678 GB, free: 95.09 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005515/1.753, allocations: 0.9243 MB / 0.6789 GB, free: 95 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003087/1.756, allocations: 1.254 MB / 0.6801 GB, free: 93.98 MB / 0.5105 GB Notification: Performance of SimCode: time 2.455e-06/1.756, allocations: 0 / 0.6801 GB, free: 93.98 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1113/1.867, allocations: 43.99 MB / 0.7231 GB, free: 70.76 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/1.867, allocations: 142.9 kB / 0.7232 GB, free: 70.54 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.247/6.115, allocations: 4 kB / 0.7232 GB, free: 70.53 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP_res.mat does not exist to compare? outputFormat=mat