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.326/2.326, allocations: 235 MB / 247.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.593e-05/4.609e-05, allocations: 8.922 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4188/0.4189, allocations: 54.86 MB / 359.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2006/0.6195, allocations: 108.3 MB / 468.2 MB, free: 4.426 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/0.6199, allocations: 72.56 kB / 468.3 MB, free: 4.355 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8385/1.458, allocations: 123.2 MB / 0.5776 GB, free: 106.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.365e-06/1.458, allocations: 0 / 0.5776 GB, free: 106.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003684/1.459, allocations: 110.9 kB / 0.5777 GB, free: 106.8 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.0235/1.482, allocations: 5.64 MB / 0.5832 GB, free: 103.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/1.482, allocations: 11.62 kB / 0.5833 GB, free: 103.3 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004758/1.487, allocations: 0.966 MB / 0.5842 GB, free: 102.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03565/1.523, allocations: 4.727 MB / 0.5888 GB, free: 100.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0246/1.548, allocations: 6.623 MB / 0.5953 GB, free: 95.16 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005872/1.548, allocations: 447 kB / 0.5957 GB, free: 94.75 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003145/1.551, allocations: 0.5407 MB / 0.5962 GB, free: 94.24 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04527/1.597, allocations: 14.06 MB / 0.61 GB, free: 79.15 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004135/1.597, allocations: 63.41 kB / 0.61 GB, free: 79.09 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002967/1.6, allocations: 262 kB / 0.6103 GB, free: 78.87 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003099/1.603, allocations: 1.292 MB / 0.6115 GB, free: 77.58 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03815/1.642, allocations: 11.66 MB / 0.6229 GB, free: 65.91 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.13/1.772, allocations: 59.23 MB / 0.6808 GB, free: 5.137 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02853/1.8, allocations: 4.651 MB / 0.6853 GB, free: 336 kB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008037/1.808, allocations: 2.713 MB / 0.688 GB, free: 13.61 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0359/1.844, allocations: 12.6 MB / 0.7003 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.877e-05/1.844, allocations: 51.88 kB / 0.7003 GB, free: 472 kB / 474.7 MB Notification: Performance of pre-optimization done (n=191): time 2.595e-05/1.844, allocations: 3.938 kB / 0.7003 GB, free: 468 kB / 474.7 MB Notification: Performance of matching and sorting (n=242): time 0.5169/2.361, allocations: 32.83 MB / 0.7324 GB, free: 110.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/2.361, allocations: 235.2 kB / 0.7326 GB, free: 110.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01445/2.376, allocations: 4.176 MB / 0.7367 GB, free: 110 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001081/2.377, allocations: 60.08 kB / 0.7367 GB, free: 110 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005179/2.382, allocations: 3.9 MB / 0.7406 GB, free: 107.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002203/2.385, allocations: 0.9102 MB / 0.7414 GB, free: 106.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001393/2.386, allocations: 148.9 kB / 0.7416 GB, free: 106.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001023/2.387, allocations: 0.6056 MB / 0.7422 GB, free: 106 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01131/2.398, allocations: 3.152 MB / 0.7453 GB, free: 104.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01212/2.411, allocations: 7.411 MB / 0.7525 GB, free: 97.96 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01027/2.421, allocations: 4.737 MB / 0.7571 GB, free: 96.37 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001562/2.421, allocations: 45.38 kB / 0.7572 GB, free: 96.37 MB / 474.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.04563/2.467, allocations: 13.65 MB / 0.7705 GB, free: 91.93 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001222/2.467, allocations: 73.12 kB / 0.7706 GB, free: 91.92 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002306/2.467, allocations: 149.8 kB / 0.7707 GB, free: 91.92 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02097/2.488, allocations: 3.798 MB / 0.7744 GB, free: 89.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01033/2.499, allocations: 1.608 MB / 0.776 GB, free: 87.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04117/2.54, allocations: 18.01 MB / 0.7936 GB, free: 72.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009391/2.549, allocations: 487.1 kB / 0.794 GB, free: 72.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001822/2.551, allocations: 430.7 kB / 0.7944 GB, free: 71.78 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.002136/2.553, allocations: 0.6466 MB / 0.7951 GB, free: 71.13 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001344/2.555, allocations: 431.1 kB / 0.7955 GB, free: 70.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03525/2.59, allocations: 8.073 MB / 0.8034 GB, free: 64.55 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.721e-05/2.59, allocations: 31.95 kB / 0.8034 GB, free: 64.52 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-05/2.59, allocations: 12 kB / 0.8034 GB, free: 64.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.716e-05/2.59, allocations: 10.69 kB / 0.8034 GB, free: 64.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07359/2.664, allocations: 17.39 MB / 0.8204 GB, free: 47.41 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.897e-05/2.664, allocations: 0 / 0.8204 GB, free: 47.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005913/2.67, allocations: 392.3 kB / 0.8208 GB, free: 47.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02988/2.7, allocations: 3.846 MB / 0.8245 GB, free: 43.17 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008022/2.701, allocations: 44.69 kB / 0.8246 GB, free: 43.13 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0743/2.775, allocations: 16.45 MB / 0.8406 GB, free: 26.54 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/2.775, allocations: 0 / 0.8406 GB, free: 26.54 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04506/2.82, allocations: 12.55 MB / 0.8529 GB, free: 13.94 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003675/2.824, allocations: 0.9405 MB / 0.8538 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001546/2.825, allocations: 36 kB / 0.8538 GB, free: 12.94 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005159/2.831, allocations: 215.7 kB / 0.854 GB, free: 12.73 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001123/2.832, allocations: 154.1 kB / 0.8542 GB, free: 12.58 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000353/2.832, allocations: 56.94 kB / 0.8542 GB, free: 12.53 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007501/2.84, allocations: 2.909 MB / 0.8571 GB, free: 9.621 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.353e-06/2.84, allocations: 0 / 0.8571 GB, free: 9.621 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009577/2.849, allocations: 1.457 MB / 0.8585 GB, free: 8.176 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.04198/2.891, allocations: 13.45 MB / 0.8716 GB, free: 10.69 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.4415/3.333, allocations: 7.732 MB / 0.8792 GB, free: 122.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/3.333, allocations: 1.156 kB / 0.8792 GB, free: 122.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007883/3.341, allocations: 2.907 MB / 0.882 GB, free: 122.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004576/3.345, allocations: 490.1 kB / 0.8825 GB, free: 122.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04423/3.39, allocations: 12.41 MB / 0.8946 GB, free: 120.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01052/3.4, allocations: 4.214 MB / 0.8987 GB, free: 120 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01065/3.411, allocations: 2.17 MB / 0.9009 GB, free: 119.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006192/3.417, allocations: 2.477 MB / 0.9033 GB, free: 119.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.833e-06/3.417, allocations: 0 / 0.9033 GB, free: 119.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2386/3.656, allocations: 110.8 MB / 1.012 GB, free: 43.5 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002293/3.656, allocations: 167.9 kB / 1.012 GB, free: 43.28 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.456/10.11, allocations: 0 / 1.012 GB, free: 43.28 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