Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.033/2.033, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.973e-05/3.984e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1115, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5014/0.613, allocations: 101.5 MB / 423.4 MB, free: 3.961 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/0.6134, allocations: 71.97 kB / 423.5 MB, free: 3.891 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8287/1.442, allocations: 123.2 MB / 0.5338 GB, free: 98.92 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.903e-06/1.442, allocations: 0 / 0.5338 GB, free: 98.92 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000367/1.443, allocations: 115 kB / 0.5339 GB, free: 98.91 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: 1928 * Number of variables: 1928 Notification: Performance of Generate backend data structure: time 0.02407/1.467, allocations: 5.638 MB / 0.5394 GB, free: 96.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/1.467, allocations: 11.36 kB / 0.5394 GB, free: 96.73 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004605/1.471, allocations: 0.9707 MB / 0.5404 GB, free: 96.65 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03575/1.507, allocations: 4.72 MB / 0.545 GB, free: 96.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02419/1.531, allocations: 6.626 MB / 0.5515 GB, free: 95.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006746/1.532, allocations: 444.9 kB / 0.5519 GB, free: 95.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00323/1.535, allocations: 0.5391 MB / 0.5524 GB, free: 95.08 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04606/1.581, allocations: 13.99 MB / 0.5661 GB, free: 88.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004187/1.582, allocations: 76.5 kB / 0.5662 GB, free: 88.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003158/1.585, allocations: 260.7 kB / 0.5664 GB, free: 88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003088/1.588, allocations: 1.288 MB / 0.5677 GB, free: 87.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03759/1.626, allocations: 11.45 MB / 0.5788 GB, free: 77.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09563/1.722, allocations: 59.22 MB / 0.6367 GB, free: 16.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02059/1.742, allocations: 4.62 MB / 0.6412 GB, free: 11.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005421/1.748, allocations: 2.706 MB / 0.6438 GB, free: 9.117 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3578/2.106, allocations: 12.61 MB / 0.6561 GB, free: 89.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.408e-05/2.106, allocations: 57.53 kB / 0.6562 GB, free: 89.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=191): time 5.4e-06/2.106, allocations: 0 / 0.6562 GB, free: 89.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=242): time 0.2072/2.313, allocations: 32.81 MB / 0.6882 GB, free: 85.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/2.313, allocations: 234.7 kB / 0.6885 GB, free: 85.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0131/2.326, allocations: 4.179 MB / 0.6925 GB, free: 84.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000858/2.327, allocations: 66.53 kB / 0.6926 GB, free: 84.87 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004858/2.332, allocations: 3.899 MB / 0.6964 GB, free: 82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002031/2.334, allocations: 0.9093 MB / 0.6973 GB, free: 81.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001204/2.335, allocations: 146.2 kB / 0.6974 GB, free: 81.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007021/2.336, allocations: 0.6046 MB / 0.698 GB, free: 80.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01064/2.347, allocations: 3.154 MB / 0.7011 GB, free: 79.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01456/2.361, allocations: 7.365 MB / 0.7083 GB, free: 72.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01443/2.376, allocations: 4.744 MB / 0.7129 GB, free: 71.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001811/2.376, allocations: 40.28 kB / 0.713 GB, free: 71.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.05416/2.43, allocations: 13.23 MB / 0.7259 GB, free: 67.08 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000119/2.43, allocations: 69.47 kB / 0.726 GB, free: 67.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002264/2.431, allocations: 149.5 kB / 0.7261 GB, free: 67.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.021/2.452, allocations: 3.804 MB / 0.7298 GB, free: 66.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01024/2.462, allocations: 1.612 MB / 0.7314 GB, free: 65.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04291/2.505, allocations: 18.01 MB / 0.749 GB, free: 49.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01014/2.515, allocations: 488.5 kB / 0.7494 GB, free: 49.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002159/2.517, allocations: 430.6 kB / 0.7499 GB, free: 49.04 MB / 426.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.004336/2.522, allocations: 0.6507 MB / 0.7505 GB, free: 48.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002051/2.524, allocations: 439 kB / 0.7509 GB, free: 47.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0327/2.556, allocations: 8.081 MB / 0.7588 GB, free: 41.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.81e-05/2.557, allocations: 24 kB / 0.7588 GB, free: 41.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.025e-05/2.557, allocations: 12 kB / 0.7588 GB, free: 41.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.795e-05/2.557, allocations: 15.39 kB / 0.7588 GB, free: 41.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05293/2.61, allocations: 17.37 MB / 0.7758 GB, free: 24.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.031e-05/2.61, allocations: 4 kB / 0.7758 GB, free: 24.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0038/2.614, allocations: 391.4 kB / 0.7762 GB, free: 24.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02098/2.635, allocations: 3.847 MB / 0.7799 GB, free: 20.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006538/2.635, allocations: 35.95 kB / 0.78 GB, free: 20.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0362/2.671, allocations: 16.47 MB / 0.7961 GB, free: 4.047 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/2.672, allocations: 0 / 0.7961 GB, free: 4.047 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04092/2.712, allocations: 12.56 MB / 0.8083 GB, free: 7.434 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003601/2.716, allocations: 0.9367 MB / 0.8092 GB, free: 6.473 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001073/2.717, allocations: 32.62 kB / 0.8093 GB, free: 6.441 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004422/2.722, allocations: 212.6 kB / 0.8095 GB, free: 6.234 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007695/2.722, allocations: 154.2 kB / 0.8096 GB, free: 6.086 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003376/2.723, allocations: 56.55 kB / 0.8097 GB, free: 6.031 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.3478/3.071, allocations: 2.905 MB / 0.8125 GB, free: 95.54 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.944e-06/3.071, allocations: 0 / 0.8125 GB, free: 95.54 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01642/3.087, allocations: 1.456 MB / 0.8139 GB, free: 95.54 MB / 442.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.05371/3.141, allocations: 13.44 MB / 0.8271 GB, free: 94.19 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01863/3.16, allocations: 7.491 MB / 0.8344 GB, free: 94.01 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/3.16, allocations: 2.062 kB / 0.8344 GB, free: 94.01 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006962/3.167, allocations: 2.878 MB / 0.8372 GB, free: 93.86 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004827/3.172, allocations: 492.3 kB / 0.8377 GB, free: 93.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04223/3.214, allocations: 12.41 MB / 0.8498 GB, free: 89.89 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01301/3.227, allocations: 4.205 MB / 0.8539 GB, free: 88.41 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01449/3.241, allocations: 2.171 MB / 0.856 GB, free: 88.36 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008033/3.249, allocations: 2.476 MB / 0.8584 GB, free: 86.32 MB / 442.7 MB Notification: Performance of SimCode: time 1.633e-06/3.25, allocations: 0 / 0.8584 GB, free: 86.32 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2477/3.497, allocations: 110.1 MB / 0.9659 GB, free: 3.656 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003688/3.498, allocations: 166.6 kB / 0.9661 GB, free: 3.426 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.351/9.849, allocations: 0 / 0.9661 GB, free: 3.426 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat does not exist to compare? outputFormat=mat