Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.451/2.451, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.802e-05/3.792e-05, allocations: 4 kB / 323.5 MB, free: 4.227 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.4018, allocations: 58.83 MB / 382.3 MB, free: 10.31 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1967/0.5986, allocations: 108.2 MB / 490.5 MB, free: 264 kB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.5989, allocations: 79.95 kB / 490.6 MB, free: 184 kB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.7391/1.338, allocations: 99.23 MB / 0.576 GB, free: 100.3 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.254e-06/1.338, allocations: 0 / 0.576 GB, free: 100.3 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0002841/1.338, allocations: 92 kB / 0.5761 GB, free: 100.2 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.02134/1.36, allocations: 5.137 MB / 0.5811 GB, free: 95.04 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/1.36, allocations: 8.031 kB / 0.5811 GB, free: 95.03 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003588/1.363, allocations: 0.8469 MB / 0.5819 GB, free: 94.2 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03445/1.398, allocations: 4.617 MB / 0.5864 GB, free: 89.57 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02148/1.419, allocations: 6.065 MB / 0.5924 GB, free: 83.45 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004054/1.42, allocations: 349 kB / 0.5927 GB, free: 83.11 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002646/1.423, allocations: 467.7 kB / 0.5931 GB, free: 82.65 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03704/1.46, allocations: 12.55 MB / 0.6054 GB, free: 69.01 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003103/1.46, allocations: 71.39 kB / 0.6055 GB, free: 68.94 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001705/1.462, allocations: 219.9 kB / 0.6057 GB, free: 68.72 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002677/1.464, allocations: 1.269 MB / 0.6069 GB, free: 67.45 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03241/1.497, allocations: 10.54 MB / 0.6172 GB, free: 56.9 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08542/1.582, allocations: 55.86 MB / 0.6718 GB, free: 15.29 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02835/1.611, allocations: 5.905 MB / 0.6775 GB, free: 9.23 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006915/1.618, allocations: 3.021 MB / 0.6805 GB, free: 6.199 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0343/1.652, allocations: 13.06 MB / 0.6932 GB, free: 8.801 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.991e-05/1.652, allocations: 59.8 kB / 0.6933 GB, free: 8.734 MB / 490.8 MB Notification: Performance of pre-optimization done (n=193): time 5.701e-06/1.652, allocations: 0 / 0.6933 GB, free: 8.734 MB / 490.8 MB Notification: Performance of matching and sorting (n=254): time 0.6029/2.255, allocations: 30.56 MB / 0.7231 GB, free: 138.2 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/2.255, allocations: 204 kB / 0.7233 GB, free: 137.9 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01089/2.266, allocations: 3.845 MB / 0.7271 GB, free: 137.5 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0007938/2.267, allocations: 63.42 kB / 0.7272 GB, free: 137.5 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003413/2.271, allocations: 3.448 MB / 0.7305 GB, free: 135.9 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001712/2.272, allocations: 0.9504 MB / 0.7314 GB, free: 135.3 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009725/2.273, allocations: 136 kB / 0.7316 GB, free: 135.3 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0004809/2.274, allocations: 0.597 MB / 0.7322 GB, free: 135 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007206/2.281, allocations: 2.995 MB / 0.7351 GB, free: 135 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01042/2.292, allocations: 6.86 MB / 0.7418 GB, free: 130 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01113/2.303, allocations: 4.48 MB / 0.7462 GB, free: 129 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001611/2.303, allocations: 39.03 kB / 0.7462 GB, free: 129 MB / 0.4949 GB Notification: Performance of matching and sorting (n=887) (initialization): time 0.03828/2.341, allocations: 12.02 MB / 0.7579 GB, free: 125.4 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001118/2.341, allocations: 68.19 kB / 0.758 GB, free: 125.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001724/2.342, allocations: 136.1 kB / 0.7581 GB, free: 125.4 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01605/2.358, allocations: 3.204 MB / 0.7613 GB, free: 124.9 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01014/2.368, allocations: 1.553 MB / 0.7628 GB, free: 124.7 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03426/2.402, allocations: 14.95 MB / 0.7774 GB, free: 117.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009118/2.411, allocations: 473.3 kB / 0.7778 GB, free: 117.3 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001737/2.413, allocations: 409.4 kB / 0.7782 GB, free: 116.9 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * Number of states: 0 () * Number of discrete variables: 36 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (809): * Single equations (assignments): 805 * 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.002147/2.415, allocations: 0.6117 MB / 0.7788 GB, free: 116.3 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001316/2.417, allocations: 406.8 kB / 0.7792 GB, free: 115.9 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02562/2.442, allocations: 7.366 MB / 0.7864 GB, free: 110.2 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.256e-05/2.442, allocations: 29.41 kB / 0.7864 GB, free: 110.2 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.336e-05/2.442, allocations: 12 kB / 0.7864 GB, free: 110.2 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.785e-05/2.442, allocations: 11.34 kB / 0.7864 GB, free: 110.2 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04586/2.488, allocations: 14.99 MB / 0.8011 GB, free: 98.26 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-05/2.488, allocations: 7.375 kB / 0.8011 GB, free: 98.26 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003879/2.492, allocations: 379 kB / 0.8015 GB, free: 97.96 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01529/2.508, allocations: 2.87 MB / 0.8043 GB, free: 96.04 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007248/2.508, allocations: 40 kB / 0.8043 GB, free: 96 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03028/2.539, allocations: 13.25 MB / 0.8172 GB, free: 83.37 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/2.539, allocations: 7.953 kB / 0.8172 GB, free: 83.36 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0328/2.572, allocations: 11.31 MB / 0.8283 GB, free: 71.95 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003868/2.576, allocations: 0.9212 MB / 0.8292 GB, free: 71 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002068/2.578, allocations: 36 kB / 0.8292 GB, free: 70.97 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006188/2.584, allocations: 211.7 kB / 0.8294 GB, free: 70.76 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001226/2.585, allocations: 147.9 kB / 0.8296 GB, free: 70.62 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003515/2.586, allocations: 63.98 kB / 0.8296 GB, free: 70.55 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.007144/2.593, allocations: 2.68 MB / 0.8322 GB, free: 67.87 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.162e-06/2.593, allocations: 3.938 kB / 0.8322 GB, free: 67.86 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.00912/2.602, allocations: 1.309 MB / 0.8335 GB, free: 66.56 MB / 0.4949 GB 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.03318/2.635, allocations: 12.15 MB / 0.8454 GB, free: 54.34 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0184/2.654, allocations: 7.431 MB / 0.8526 GB, free: 46.93 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/2.654, allocations: 3.828 kB / 0.8526 GB, free: 46.93 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.007646/2.661, allocations: 3.004 MB / 0.8556 GB, free: 43.91 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004193/2.666, allocations: 480.7 kB / 0.856 GB, free: 43.46 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03564/2.701, allocations: 11.35 MB / 0.8671 GB, free: 32.06 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007592/2.709, allocations: 3.778 MB / 0.8708 GB, free: 28.28 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.00952/2.718, allocations: 2.18 MB / 0.8729 GB, free: 26.1 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005307/2.724, allocations: 2.221 MB / 0.8751 GB, free: 23.88 MB / 0.4949 GB Notification: Performance of SimCode: time 3.216e-06/2.724, allocations: 0 / 0.8751 GB, free: 23.88 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6063/3.33, allocations: 100.9 MB / 0.9736 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/3.331, allocations: 162.7 kB / 0.9738 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.104/9.434, allocations: 64 / 0.9738 GB, free: 113.3 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat does not exist to compare? outputFormat=mat