Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.027/2.027, allocations: 209.3 MB / 221.5 MB, free: 1.949 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.847e-05/4.857e-05, allocations: 4 kB / 273.2 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1037, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4519/0.5556, allocations: 95.17 MB / 417 MB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/0.5559, allocations: 75.95 kB / 417.1 MB, free: 10.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7438/1.3, allocations: 98.75 MB / 0.5038 GB, free: 93.03 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.338e-06/1.3, allocations: 0 / 0.5038 GB, free: 93.03 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003403/1.3, allocations: 95.12 kB / 0.5039 GB, free: 93.02 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: 1690 * Number of variables: 1690 Notification: Performance of Generate backend data structure: time 0.02348/1.324, allocations: 5.116 MB / 0.5089 GB, free: 91.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/1.324, allocations: 9.156 kB / 0.5089 GB, free: 91.16 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004249/1.328, allocations: 0.844 MB / 0.5097 GB, free: 91.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0383/1.366, allocations: 4.608 MB / 0.5142 GB, free: 90.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02393/1.39, allocations: 6.055 MB / 0.5201 GB, free: 90.12 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005148/1.391, allocations: 347 kB / 0.5204 GB, free: 90.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003/1.394, allocations: 460.3 kB / 0.5209 GB, free: 90.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04052/1.435, allocations: 12.58 MB / 0.5332 GB, free: 87.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003487/1.435, allocations: 70.06 kB / 0.5332 GB, free: 87.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002397/1.437, allocations: 230.1 kB / 0.5334 GB, free: 87.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002884/1.44, allocations: 1.263 MB / 0.5347 GB, free: 87.22 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03339/1.474, allocations: 10.72 MB / 0.5451 GB, free: 85.68 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08897/1.563, allocations: 55.72 MB / 0.5996 GB, free: 45.13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02567/1.589, allocations: 5.933 MB / 0.6054 GB, free: 40.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006151/1.595, allocations: 3.026 MB / 0.6083 GB, free: 37.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03145/1.626, allocations: 13.05 MB / 0.6211 GB, free: 26.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.937e-05/1.626, allocations: 59.52 kB / 0.6211 GB, free: 26.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=193): time 7.053e-06/1.626, allocations: 0 / 0.6211 GB, free: 26.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=254): time 0.1519/1.778, allocations: 30.55 MB / 0.6509 GB, free: 13.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/1.778, allocations: 221.8 kB / 0.6512 GB, free: 13.55 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01111/1.79, allocations: 3.815 MB / 0.6549 GB, free: 9.711 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007781/1.79, allocations: 61.7 kB / 0.6549 GB, free: 9.645 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004269/1.795, allocations: 3.426 MB / 0.6583 GB, free: 6.219 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002013/1.797, allocations: 0.9474 MB / 0.6592 GB, free: 5.273 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001088/1.798, allocations: 136 kB / 0.6593 GB, free: 5.141 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006235/1.799, allocations: 0.5912 MB / 0.6599 GB, free: 4.543 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008985/1.808, allocations: 2.993 MB / 0.6628 GB, free: 1.547 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3201/2.128, allocations: 6.878 MB / 0.6696 GB, free: 97.08 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01192/2.14, allocations: 4.469 MB / 0.6739 GB, free: 97.05 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002737/2.14, allocations: 38.88 kB / 0.674 GB, free: 97.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.04412/2.184, allocations: 12.38 MB / 0.6861 GB, free: 96.58 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001673/2.184, allocations: 62.75 kB / 0.6861 GB, free: 96.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002181/2.185, allocations: 137.6 kB / 0.6862 GB, free: 96.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01592/2.201, allocations: 3.211 MB / 0.6894 GB, free: 96.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01006/2.211, allocations: 1.548 MB / 0.6909 GB, free: 96.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03551/2.246, allocations: 14.93 MB / 0.7055 GB, free: 93.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009357/2.256, allocations: 473.3 kB / 0.7059 GB, free: 93.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002019/2.258, allocations: 406.3 kB / 0.7063 GB, free: 93 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 33 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (806): * Single equations (assignments): 802 * 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 {(8,54.7%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003516/2.261, allocations: 0.6118 MB / 0.7069 GB, free: 92.58 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001388/2.263, allocations: 404.5 kB / 0.7073 GB, free: 92.58 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02694/2.29, allocations: 7.375 MB / 0.7145 GB, free: 90.19 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.263e-05/2.29, allocations: 30.56 kB / 0.7145 GB, free: 90.19 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.099e-05/2.29, allocations: 10.06 kB / 0.7145 GB, free: 90.19 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.89e-05/2.29, allocations: 12.75 kB / 0.7145 GB, free: 90.19 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04687/2.337, allocations: 14.97 MB / 0.7292 GB, free: 84.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.597e-05/2.337, allocations: 3.438 kB / 0.7292 GB, free: 84.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0038/2.341, allocations: 385.5 kB / 0.7295 GB, free: 84.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01526/2.356, allocations: 2.868 MB / 0.7323 GB, free: 84.42 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007317/2.357, allocations: 45.7 kB / 0.7324 GB, free: 84.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03062/2.387, allocations: 13.24 MB / 0.7453 GB, free: 78.31 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/2.387, allocations: 5.172 kB / 0.7453 GB, free: 78.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03173/2.419, allocations: 11.32 MB / 0.7564 GB, free: 68.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003628/2.423, allocations: 0.9119 MB / 0.7573 GB, free: 67.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001527/2.424, allocations: 45.02 kB / 0.7573 GB, free: 67.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004744/2.429, allocations: 207.2 kB / 0.7575 GB, free: 67.74 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001128/2.43, allocations: 145.4 kB / 0.7576 GB, free: 67.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004225/2.431, allocations: 68.81 kB / 0.7577 GB, free: 67.59 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006995/2.438, allocations: 2.661 MB / 0.7603 GB, free: 65.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.01e-07/2.438, allocations: 0 / 0.7603 GB, free: 65.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009333/2.447, allocations: 1.307 MB / 0.7616 GB, free: 63.93 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 185 * 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 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03374/2.481, allocations: 12.16 MB / 0.7735 GB, free: 53.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01898/2.5, allocations: 7.633 MB / 0.7809 GB, free: 46.64 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/2.5, allocations: 0 / 0.7809 GB, free: 46.64 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008224/2.508, allocations: 3.047 MB / 0.7839 GB, free: 43.91 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004207/2.513, allocations: 455.9 kB / 0.7843 GB, free: 43.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03556/2.548, allocations: 11.35 MB / 0.7954 GB, free: 32.54 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007447/2.556, allocations: 3.763 MB / 0.7991 GB, free: 28.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009373/2.565, allocations: 2.175 MB / 0.8012 GB, free: 26.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004862/2.57, allocations: 2.206 MB / 0.8034 GB, free: 24.38 MB / 442.7 MB Notification: Performance of SimCode: time 1.192e-06/2.57, allocations: 0 / 0.8034 GB, free: 24.38 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5872/3.157, allocations: 101.2 MB / 0.9022 GB, free: 68.46 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/3.158, allocations: 170.6 kB / 0.9024 GB, free: 68.24 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.221/9.378, allocations: 0 / 0.9024 GB, free: 68.24 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat does not exist to compare? outputFormat=mat