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 1.928/1.928, allocations: 209.3 MB / 221.5 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.522e-05/3.528e-05, allocations: 4 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1082, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4426/0.5508, allocations: 95.17 MB / 417.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/0.5511, allocations: 75.95 kB / 417.1 MB, free: 10.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.708/1.259, allocations: 98.75 MB / 0.5038 GB, free: 92.96 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.795e-06/1.259, allocations: 3.844 kB / 0.5038 GB, free: 92.96 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003452/1.26, allocations: 91.31 kB / 0.5039 GB, free: 92.96 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.0248/1.284, allocations: 5.117 MB / 0.5089 GB, free: 91.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.398e-05/1.284, allocations: 9.531 kB / 0.5089 GB, free: 91.1 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004886/1.289, allocations: 0.8433 MB / 0.5097 GB, free: 91.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03595/1.325, allocations: 4.609 MB / 0.5142 GB, free: 90.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0236/1.349, allocations: 6.055 MB / 0.5201 GB, free: 90.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005386/1.35, allocations: 347.9 kB / 0.5205 GB, free: 90.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003115/1.353, allocations: 463.1 kB / 0.5209 GB, free: 90.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03921/1.392, allocations: 12.52 MB / 0.5331 GB, free: 87.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003261/1.392, allocations: 67.36 kB / 0.5332 GB, free: 87.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002202/1.395, allocations: 226.9 kB / 0.5334 GB, free: 87.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002761/1.397, allocations: 1.257 MB / 0.5346 GB, free: 87.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03344/1.431, allocations: 10.54 MB / 0.5449 GB, free: 85.74 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08615/1.517, allocations: 55.72 MB / 0.5994 GB, free: 45.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.025/1.542, allocations: 5.905 MB / 0.6051 GB, free: 40.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005451/1.548, allocations: 3.025 MB / 0.6081 GB, free: 38.19 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02945/1.577, allocations: 13.07 MB / 0.6208 GB, free: 26.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.816e-05/1.577, allocations: 55.81 kB / 0.6209 GB, free: 26.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=193): time 6.302e-06/1.577, allocations: 0 / 0.6209 GB, free: 26.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=254): time 0.1537/1.731, allocations: 30.54 MB / 0.6507 GB, free: 14.1 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/1.731, allocations: 217.8 kB / 0.6509 GB, free: 13.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01048/1.742, allocations: 3.823 MB / 0.6547 GB, free: 10 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007747/1.742, allocations: 61.7 kB / 0.6547 GB, free: 9.934 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004256/1.747, allocations: 3.425 MB / 0.6581 GB, free: 6.508 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001979/1.749, allocations: 0.9473 MB / 0.659 GB, free: 5.562 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001101/1.75, allocations: 139.9 kB / 0.6591 GB, free: 5.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006866/1.751, allocations: 0.5912 MB / 0.6597 GB, free: 4.832 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009188/1.76, allocations: 2.993 MB / 0.6626 GB, free: 1.836 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3685/2.128, allocations: 6.839 MB / 0.6693 GB, free: 96.87 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01197/2.14, allocations: 4.465 MB / 0.6737 GB, free: 96.84 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002794/2.141, allocations: 42.66 kB / 0.6737 GB, free: 96.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.04568/2.186, allocations: 11.99 MB / 0.6854 GB, free: 96.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003681/2.187, allocations: 67.39 kB / 0.6855 GB, free: 96.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004091/2.187, allocations: 138 kB / 0.6856 GB, free: 96.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01897/2.206, allocations: 3.208 MB / 0.6887 GB, free: 96.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01052/2.217, allocations: 1.549 MB / 0.6902 GB, free: 96.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03477/2.252, allocations: 14.93 MB / 0.7048 GB, free: 93.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009141/2.261, allocations: 476.5 kB / 0.7053 GB, free: 93.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001795/2.263, allocations: 404.2 kB / 0.7057 GB, free: 93.21 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.002418/2.265, allocations: 0.6062 MB / 0.7063 GB, free: 92.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001107/2.266, allocations: 406.4 kB / 0.7066 GB, free: 92.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02493/2.291, allocations: 7.37 MB / 0.7138 GB, free: 90.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.305e-05/2.291, allocations: 26.53 kB / 0.7139 GB, free: 90.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.303e-05/2.291, allocations: 12.53 kB / 0.7139 GB, free: 90.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.572e-05/2.291, allocations: 13.97 kB / 0.7139 GB, free: 90.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04551/2.337, allocations: 14.99 MB / 0.7285 GB, free: 85.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.384e-05/2.337, allocations: 1.5 kB / 0.7285 GB, free: 85.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003845/2.341, allocations: 379.9 kB / 0.7289 GB, free: 85.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01531/2.356, allocations: 2.87 MB / 0.7317 GB, free: 84.64 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006485/2.357, allocations: 42.73 kB / 0.7317 GB, free: 84.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03147/2.388, allocations: 13.24 MB / 0.7447 GB, free: 79 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/2.389, allocations: 0 / 0.7447 GB, free: 79 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03166/2.42, allocations: 11.33 MB / 0.7557 GB, free: 69.45 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003304/2.424, allocations: 0.9119 MB / 0.7566 GB, free: 68.6 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001545/2.425, allocations: 42.5 kB / 0.7567 GB, free: 68.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004824/2.43, allocations: 204.8 kB / 0.7569 GB, free: 68.44 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001023/2.431, allocations: 145.1 kB / 0.757 GB, free: 68.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003552/2.431, allocations: 70.72 kB / 0.7571 GB, free: 68.29 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006453/2.438, allocations: 2.662 MB / 0.7597 GB, free: 65.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.192e-06/2.438, allocations: 3.281 kB / 0.7597 GB, free: 65.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009387/2.447, allocations: 1.317 MB / 0.761 GB, free: 64.62 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.03116/2.479, allocations: 12.14 MB / 0.7728 GB, free: 54.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01811/2.497, allocations: 7.426 MB / 0.7801 GB, free: 47.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.607e-06/2.497, allocations: 4 kB / 0.7801 GB, free: 47.54 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007636/2.504, allocations: 3.002 MB / 0.783 GB, free: 44.85 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004057/2.509, allocations: 454.4 kB / 0.7834 GB, free: 44.45 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03486/2.543, allocations: 11.34 MB / 0.7945 GB, free: 33.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007348/2.551, allocations: 3.762 MB / 0.7982 GB, free: 29.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009688/2.561, allocations: 2.17 MB / 0.8003 GB, free: 27.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005601/2.566, allocations: 2.21 MB / 0.8025 GB, free: 25.39 MB / 442.7 MB Notification: Performance of SimCode: time 1.483e-06/2.566, allocations: 4 kB / 0.8025 GB, free: 25.39 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5571/3.123, allocations: 100.5 MB / 0.9006 GB, free: 69.89 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002645/3.124, allocations: 174.5 kB / 0.9008 GB, free: 69.66 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.122/9.246, allocations: 4 kB / 0.9008 GB, free: 69.65 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