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.044/2.044, allocations: 209.4 MB / 216.5 MB, free: 6.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.933e-05/3.917e-05, allocations: 0 / 267.6 MB, free: 4.973 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.122, allocations: 48.7 MB / 316.3 MB, free: 4.172 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4742/0.5963, allocations: 101.1 MB / 417.4 MB, free: 7.695 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/0.5967, allocations: 74.69 kB / 417.5 MB, free: 7.656 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8273/1.424, allocations: 120.7 MB / 0.5255 GB, free: 91.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.074e-06/1.424, allocations: 0 / 0.5255 GB, free: 91.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003662/1.424, allocations: 108.4 kB / 0.5256 GB, free: 91.86 MB / 410.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.02412/1.449, allocations: 5.64 MB / 0.5311 GB, free: 89.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.281e-05/1.449, allocations: 10.38 kB / 0.5311 GB, free: 89.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03571/1.484, allocations: 4.727 MB / 0.5358 GB, free: 89.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02352/1.508, allocations: 6.62 MB / 0.5422 GB, free: 86.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004372/1.509, allocations: 257.5 kB / 0.5425 GB, free: 86.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00286/1.511, allocations: 328.5 kB / 0.5428 GB, free: 86.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02102/1.532, allocations: 8.45 MB / 0.551 GB, free: 80.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03179/1.564, allocations: 12.05 MB / 0.5628 GB, free: 67.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003847/1.565, allocations: 63.41 kB / 0.5629 GB, free: 67.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002498/1.567, allocations: 32 kB / 0.5629 GB, free: 67.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002957/1.57, allocations: 1.297 MB / 0.5642 GB, free: 65.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08931/1.66, allocations: 57.53 MB / 0.6203 GB, free: 6.848 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007213/1.667, allocations: 3.922 MB / 0.6242 GB, free: 2.773 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004945/1.672, allocations: 2.627 MB / 0.6267 GB, free: 140 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03114/1.703, allocations: 11.74 MB / 0.6382 GB, free: 3.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.543e-05/1.703, allocations: 51.88 kB / 0.6383 GB, free: 3.871 MB / 426.7 MB Notification: Performance of pre-optimization done (n=191): time 5.931e-06/1.703, allocations: 0 / 0.6383 GB, free: 3.871 MB / 426.7 MB Notification: Performance of matching and sorting (n=242): time 0.4734/2.177, allocations: 33.52 MB / 0.671 GB, free: 96.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.358e-05/2.177, allocations: 239.1 kB / 0.6712 GB, free: 96.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008511/2.185, allocations: 3.654 MB / 0.6748 GB, free: 95.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007625/2.186, allocations: 29.55 kB / 0.6748 GB, free: 95.65 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003707/2.19, allocations: 3.951 MB / 0.6787 GB, free: 92.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001776/2.192, allocations: 0.889 MB / 0.6795 GB, free: 91.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001317/2.193, allocations: 3.75 kB / 0.6795 GB, free: 91.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008329/2.194, allocations: 0.6119 MB / 0.6801 GB, free: 91.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007638/2.202, allocations: 3.059 MB / 0.6831 GB, free: 90.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01088/2.213, allocations: 7.431 MB / 0.6904 GB, free: 83.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01041/2.223, allocations: 4.662 MB / 0.6949 GB, free: 81.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001956/2.223, allocations: 46.27 kB / 0.695 GB, free: 81.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=965) (initialization): time 0.04486/2.268, allocations: 12.8 MB / 0.7075 GB, free: 77.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001356/2.268, allocations: 75.59 kB / 0.7076 GB, free: 77.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002977/2.269, allocations: 155.4 kB / 0.7077 GB, free: 77.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02075/2.289, allocations: 3.776 MB / 0.7114 GB, free: 77.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01046/2.3, allocations: 1.66 MB / 0.713 GB, free: 76.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03812/2.338, allocations: 16.53 MB / 0.7292 GB, free: 63.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00976/2.348, allocations: 349.4 kB / 0.7295 GB, free: 62.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001994/2.35, allocations: 452.8 kB / 0.7299 GB, free: 62.46 MB / 426.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.003096/2.353, allocations: 497.9 kB / 0.7304 GB, free: 61.96 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03043/2.384, allocations: 7.916 MB / 0.7381 GB, free: 55.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001672/2.385, allocations: 402.8 kB / 0.7385 GB, free: 55.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03045/2.416, allocations: 7.884 MB / 0.7462 GB, free: 49.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.581e-05/2.416, allocations: 25.52 kB / 0.7462 GB, free: 49.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.05e-05/2.416, allocations: 12 kB / 0.7462 GB, free: 49.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.119e-05/2.416, allocations: 7.969 kB / 0.7463 GB, free: 49.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05465/2.471, allocations: 16.23 MB / 0.7621 GB, free: 33.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.942e-05/2.471, allocations: 15.64 kB / 0.7621 GB, free: 33.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003879/2.475, allocations: 383.4 kB / 0.7625 GB, free: 32.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02099/2.496, allocations: 3.827 MB / 0.7662 GB, free: 28.85 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006767/2.496, allocations: 8 kB / 0.7662 GB, free: 28.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03453/2.531, allocations: 15 MB / 0.7809 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.196e-06/2.531, allocations: 0 / 0.7809 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03818/2.569, allocations: 12.36 MB / 0.7929 GB, free: 1.309 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003536/2.573, allocations: 0.8979 MB / 0.7938 GB, free: 396 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001747/2.575, allocations: 0 / 0.7938 GB, free: 396 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005173/2.58, allocations: 183.7 kB / 0.794 GB, free: 212 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001275/2.581, allocations: 150.2 kB / 0.7941 GB, free: 60 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003955/2.582, allocations: 56 kB / 0.7942 GB, free: 4 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008005/2.59, allocations: 2.447 MB / 0.7966 GB, free: 13.55 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.02e-07/2.59, allocations: 0 / 0.7966 GB, free: 13.55 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01133/2.601, allocations: 1.268 MB / 0.7978 GB, free: 12.3 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.3593/2.96, allocations: 13.21 MB / 0.8107 GB, free: 105.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01836/2.979, allocations: 7.409 MB / 0.818 GB, free: 105.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/2.979, allocations: 0 / 0.818 GB, free: 105.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006758/2.986, allocations: 2.849 MB / 0.8207 GB, free: 104.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004114/2.99, allocations: 402.3 kB / 0.8211 GB, free: 104.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04069/3.031, allocations: 12.11 MB / 0.8329 GB, free: 101 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01023/3.041, allocations: 4.201 MB / 0.837 GB, free: 99.55 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01152/3.053, allocations: 2.204 MB / 0.8392 GB, free: 99.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006433/3.059, allocations: 2.465 MB / 0.8416 GB, free: 97.46 MB / 442.7 MB Notification: Performance of SimCode: time 1.583e-06/3.059, allocations: 0 / 0.8416 GB, free: 97.46 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2381/3.297, allocations: 104.1 MB / 0.9433 GB, free: 17.54 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/3.297, allocations: 132.7 kB / 0.9434 GB, free: 17.34 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.159/9.457, allocations: 0 / 0.9434 GB, free: 17.34 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