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.642/2.642, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.396e-05/4.399e-05, allocations: 4 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.438/0.4381, allocations: 54.86 MB / 359.9 MB, free: 2.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2072/0.6454, allocations: 108.3 MB / 468.2 MB, free: 4.422 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003548/0.6458, allocations: 73.31 kB / 468.3 MB, free: 4.352 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9039/1.55, allocations: 123.2 MB / 0.5777 GB, free: 106.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.945e-06/1.55, allocations: 4 kB / 0.5777 GB, free: 106.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003592/1.55, allocations: 111.5 kB / 0.5778 GB, free: 106.7 MB / 458.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.02508/1.575, allocations: 5.639 MB / 0.5833 GB, free: 103.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/1.575, allocations: 11.09 kB / 0.5833 GB, free: 103.3 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004851/1.58, allocations: 0.9655 MB / 0.5842 GB, free: 102.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04374/1.624, allocations: 4.732 MB / 0.5888 GB, free: 100.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02837/1.652, allocations: 6.626 MB / 0.5953 GB, free: 95.22 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005948/1.653, allocations: 448.8 kB / 0.5957 GB, free: 94.81 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00335/1.656, allocations: 0.5434 MB / 0.5963 GB, free: 94.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04389/1.7, allocations: 13.99 MB / 0.6099 GB, free: 79.28 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003181/1.701, allocations: 67.41 kB / 0.61 GB, free: 79.21 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002428/1.703, allocations: 261.6 kB / 0.6102 GB, free: 78.99 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002812/1.706, allocations: 1.293 MB / 0.6115 GB, free: 77.7 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0366/1.743, allocations: 11.44 MB / 0.6227 GB, free: 66.25 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09252/1.835, allocations: 59.23 MB / 0.6805 GB, free: 5.473 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02047/1.856, allocations: 4.625 MB / 0.6851 GB, free: 0.6914 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006/1.862, allocations: 2.719 MB / 0.6877 GB, free: 13.96 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03279/1.895, allocations: 12.61 MB / 0.7 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.732e-05/1.895, allocations: 51.88 kB / 0.7001 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of pre-optimization done (n=191): time 5.731e-06/1.895, allocations: 0 / 0.7001 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of matching and sorting (n=242): time 0.5239/2.419, allocations: 32.82 MB / 0.7321 GB, free: 110.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.301e-05/2.419, allocations: 236.5 kB / 0.7323 GB, free: 110.1 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009926/2.429, allocations: 4.172 MB / 0.7364 GB, free: 109.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008013/2.43, allocations: 63.77 kB / 0.7365 GB, free: 109.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003942/2.434, allocations: 3.901 MB / 0.7403 GB, free: 107 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001764/2.435, allocations: 0.9115 MB / 0.7412 GB, free: 106.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001141/2.437, allocations: 150.2 kB / 0.7413 GB, free: 106.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005862/2.437, allocations: 0.6042 MB / 0.7419 GB, free: 105.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007942/2.445, allocations: 3.152 MB / 0.745 GB, free: 104.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01105/2.456, allocations: 7.374 MB / 0.7522 GB, free: 97.78 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0105/2.467, allocations: 4.733 MB / 0.7568 GB, free: 96.19 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001809/2.467, allocations: 47.09 kB / 0.7569 GB, free: 96.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.04614/2.513, allocations: 13.23 MB / 0.7698 GB, free: 92.08 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001266/2.513, allocations: 68.59 kB / 0.7698 GB, free: 92.08 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002591/2.514, allocations: 149.4 kB / 0.77 GB, free: 92.08 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02099/2.535, allocations: 3.804 MB / 0.7737 GB, free: 89.97 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01026/2.545, allocations: 1.606 MB / 0.7753 GB, free: 88.56 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04088/2.586, allocations: 18.02 MB / 0.7929 GB, free: 73.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009837/2.596, allocations: 488.3 kB / 0.7933 GB, free: 72.83 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001809/2.598, allocations: 430.6 kB / 0.7937 GB, free: 72.42 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * 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 (856): * Single equations (assignments): 852 * 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.002561/2.6, allocations: 0.6459 MB / 0.7944 GB, free: 71.77 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001285/2.602, allocations: 434.4 kB / 0.7948 GB, free: 71.34 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0312/2.633, allocations: 8.07 MB / 0.8027 GB, free: 65.19 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.935e-05/2.633, allocations: 27.95 kB / 0.8027 GB, free: 65.16 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.088e-05/2.633, allocations: 12 kB / 0.8027 GB, free: 65.15 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-05/2.633, allocations: 14.55 kB / 0.8027 GB, free: 65.14 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05806/2.691, allocations: 17.38 MB / 0.8197 GB, free: 48.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.164e-05/2.691, allocations: 5.344 kB / 0.8197 GB, free: 48.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003856/2.695, allocations: 387.4 kB / 0.8201 GB, free: 47.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02125/2.716, allocations: 3.857 MB / 0.8238 GB, free: 44.03 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006952/2.717, allocations: 36.55 kB / 0.8239 GB, free: 44 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03734/2.754, allocations: 16.45 MB / 0.8399 GB, free: 27.41 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/2.755, allocations: 3.938 kB / 0.8399 GB, free: 27.41 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03884/2.793, allocations: 12.55 MB / 0.8522 GB, free: 14.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003637/2.797, allocations: 0.9376 MB / 0.8531 GB, free: 13.84 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001655/2.799, allocations: 36 kB / 0.8531 GB, free: 13.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005325/2.804, allocations: 219.7 kB / 0.8533 GB, free: 13.59 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001154/2.805, allocations: 146.1 kB / 0.8535 GB, free: 13.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004597/2.806, allocations: 63.98 kB / 0.8535 GB, free: 13.38 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007723/2.814, allocations: 2.901 MB / 0.8564 GB, free: 10.48 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.062e-06/2.814, allocations: 0 / 0.8564 GB, free: 10.48 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0103/2.824, allocations: 1.461 MB / 0.8578 GB, free: 9.035 MB / 474.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.04152/2.866, allocations: 13.45 MB / 0.8709 GB, free: 11.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02058/2.886, allocations: 7.499 MB / 0.8783 GB, free: 4.074 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.916e-06/2.886, allocations: 0.9375 kB / 0.8783 GB, free: 4.074 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3417/3.228, allocations: 2.866 MB / 0.8811 GB, free: 124.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004924/3.233, allocations: 497 kB / 0.8815 GB, free: 124.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04982/3.283, allocations: 12.4 MB / 0.8937 GB, free: 122.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01213/3.295, allocations: 4.211 MB / 0.8978 GB, free: 121.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01125/3.306, allocations: 2.167 MB / 0.8999 GB, free: 121.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006764/3.313, allocations: 2.48 MB / 0.9023 GB, free: 121.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.983e-06/3.313, allocations: 3.562 kB / 0.9023 GB, free: 121.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2968/3.61, allocations: 110.1 MB / 1.01 GB, free: 45.03 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002645/3.61, allocations: 158.7 kB / 1.01 GB, free: 44.81 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.205/9.815, allocations: 0 / 1.01 GB, free: 44.81 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