Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.338/2.338, allocations: 235.1 MB / 242.2 MB, free: 15.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.976e-05/2.976e-05, allocations: 4 kB / 299.5 MB, free: 6.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3786, allocations: 54.85 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1951/0.5738, allocations: 107.7 MB / 462 MB, free: 6.504 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/0.5742, allocations: 75.91 kB / 462.1 MB, free: 6.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7889/1.363, allocations: 120.7 MB / 0.5692 GB, free: 58.78 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.974e-06/1.363, allocations: 0 / 0.5692 GB, free: 58.78 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003348/1.363, allocations: 111.9 kB / 0.5693 GB, free: 58.67 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: 1929 * Number of variables: 1929 Notification: Performance of Generate backend data structure: time 0.0225/1.386, allocations: 5.634 MB / 0.5748 GB, free: 52.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/1.386, allocations: 12.02 kB / 0.5748 GB, free: 52.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03508/1.421, allocations: 4.719 MB / 0.5794 GB, free: 48.22 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02364/1.445, allocations: 6.619 MB / 0.5858 GB, free: 41.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004934/1.445, allocations: 265.6 kB / 0.5861 GB, free: 41.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003101/1.448, allocations: 327.9 kB / 0.5864 GB, free: 40.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02084/1.469, allocations: 8.456 MB / 0.5947 GB, free: 32.49 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03289/1.502, allocations: 12.05 MB / 0.6064 GB, free: 19.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003446/1.503, allocations: 75.28 kB / 0.6065 GB, free: 19.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00252/1.505, allocations: 36 kB / 0.6065 GB, free: 19.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002885/1.508, allocations: 1.29 MB / 0.6078 GB, free: 17.92 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09755/1.606, allocations: 57.53 MB / 0.664 GB, free: 6.617 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008566/1.614, allocations: 3.931 MB / 0.6678 GB, free: 2.535 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3298/1.944, allocations: 2.622 MB / 0.6704 GB, free: 110.3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02735/1.972, allocations: 11.73 MB / 0.6818 GB, free: 106.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.637e-05/1.972, allocations: 57.5 kB / 0.6819 GB, free: 106.8 MB / 474.7 MB Notification: Performance of pre-optimization done (n=191): time 6.552e-06/1.972, allocations: 2.25 kB / 0.6819 GB, free: 106.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=242): time 0.1364/2.108, allocations: 33.54 MB / 0.7147 GB, free: 102 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.685e-05/2.108, allocations: 233.6 kB / 0.7149 GB, free: 101.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008317/2.117, allocations: 3.647 MB / 0.7184 GB, free: 100.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006855/2.117, allocations: 29.45 kB / 0.7185 GB, free: 100.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003469/2.121, allocations: 3.958 MB / 0.7223 GB, free: 97.49 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001453/2.122, allocations: 0.8907 MB / 0.7232 GB, free: 96.84 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009502/2.123, allocations: 0 / 0.7232 GB, free: 96.84 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005425/2.124, allocations: 0.6225 MB / 0.7238 GB, free: 96.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006659/2.131, allocations: 3.058 MB / 0.7268 GB, free: 95.23 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009678/2.14, allocations: 7.43 MB / 0.7341 GB, free: 88.15 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01216/2.153, allocations: 4.666 MB / 0.7386 GB, free: 86.63 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002311/2.153, allocations: 44.25 kB / 0.7387 GB, free: 86.63 MB / 474.7 MB Notification: Performance of matching and sorting (n=965) (initialization): time 0.05821/2.211, allocations: 12.8 MB / 0.7512 GB, free: 80.08 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001636/2.211, allocations: 72 kB / 0.7512 GB, free: 80.01 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002728/2.212, allocations: 156.6 kB / 0.7514 GB, free: 79.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02425/2.236, allocations: 3.783 MB / 0.7551 GB, free: 77.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01018/2.246, allocations: 1.654 MB / 0.7567 GB, free: 75.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03793/2.284, allocations: 16.52 MB / 0.7728 GB, free: 61.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009137/2.293, allocations: 352.5 kB / 0.7732 GB, free: 61.47 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001827/2.295, allocations: 446.8 kB / 0.7736 GB, free: 61.04 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 713 * Number of states: 0 () * Number of discrete variables: 34 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (882): * Single equations (assignments): 878 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00213/2.297, allocations: 0.4891 MB / 0.7741 GB, free: 60.55 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02838/2.326, allocations: 7.921 MB / 0.7818 GB, free: 54.36 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001417/2.327, allocations: 406.8 kB / 0.7822 GB, free: 53.96 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02905/2.356, allocations: 7.88 MB / 0.7899 GB, free: 47.99 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.48e-05/2.356, allocations: 29.59 kB / 0.7899 GB, free: 47.96 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-05/2.356, allocations: 12 kB / 0.7899 GB, free: 47.95 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.577e-05/2.356, allocations: 11.11 kB / 0.7899 GB, free: 47.95 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05122/2.408, allocations: 16.23 MB / 0.8058 GB, free: 32.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.613e-05/2.408, allocations: 0 / 0.8058 GB, free: 32.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003814/2.412, allocations: 391.4 kB / 0.8061 GB, free: 32.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02081/2.433, allocations: 3.819 MB / 0.8099 GB, free: 28.27 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000631/2.433, allocations: 8 kB / 0.8099 GB, free: 28.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03444/2.468, allocations: 15.01 MB / 0.8245 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.505e-06/2.468, allocations: 4 kB / 0.8245 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03721/2.505, allocations: 12.36 MB / 0.8366 GB, free: 0.7188 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003372/2.508, allocations: 0.8943 MB / 0.8375 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001517/2.51, allocations: 7.75 kB / 0.8375 GB, free: 15.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00466/2.515, allocations: 183.7 kB / 0.8377 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001086/2.516, allocations: 146.2 kB / 0.8378 GB, free: 15.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003587/2.516, allocations: 60 kB / 0.8379 GB, free: 15.41 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006826/2.523, allocations: 2.439 MB / 0.8402 GB, free: 12.97 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.21e-07/2.523, allocations: 3.75 kB / 0.8402 GB, free: 12.97 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009925/2.533, allocations: 1.267 MB / 0.8415 GB, free: 11.72 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (167): * Single equations (assignments): 163 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3963/2.929, allocations: 13.22 MB / 0.8544 GB, free: 113.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01658/2.946, allocations: 7.415 MB / 0.8616 GB, free: 113.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/2.946, allocations: 3.75 kB / 0.8616 GB, free: 113.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006295/2.952, allocations: 2.838 MB / 0.8644 GB, free: 113 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003792/2.956, allocations: 397.3 kB / 0.8648 GB, free: 113 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03845/2.995, allocations: 12.11 MB / 0.8766 GB, free: 111 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00944/3.004, allocations: 4.2 MB / 0.8807 GB, free: 110.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01072/3.015, allocations: 2.216 MB / 0.8829 GB, free: 110.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006053/3.021, allocations: 2.462 MB / 0.8853 GB, free: 109.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.442e-06/3.021, allocations: 0 / 0.8853 GB, free: 109.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2341/3.255, allocations: 104.1 MB / 0.987 GB, free: 36.04 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/3.255, allocations: 140.7 kB / 0.9871 GB, free: 35.84 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.896/9.152, allocations: 3.938 kB / 0.9871 GB, free: 35.84 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat does not exist to compare? outputFormat=mat