Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.013/2.013, allocations: 209.4 MB / 216.9 MB, free: 6.656 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.028e-05/3.048e-05, allocations: 4 kB / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1056, allocations: 48.7 MB / 316.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4471/0.5528, allocations: 94.76 MB / 411.1 MB, free: 13.81 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.5531, allocations: 80.02 kB / 411.1 MB, free: 13.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6957/1.249, allocations: 96.88 MB / 0.4961 GB, free: 87.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.555e-06/1.249, allocations: 0 / 0.4961 GB, free: 87.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003642/1.249, allocations: 93.05 kB / 0.4962 GB, free: 87.71 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: 1690 * Number of variables: 1690 Notification: Performance of Generate backend data structure: time 0.02394/1.273, allocations: 5.113 MB / 0.5012 GB, free: 85.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.953e-05/1.273, allocations: 9.594 kB / 0.5012 GB, free: 85.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03549/1.309, allocations: 4.613 MB / 0.5057 GB, free: 85.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02312/1.332, allocations: 6.045 MB / 0.5116 GB, free: 84.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003544/1.332, allocations: 148.8 kB / 0.5118 GB, free: 84.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003086/1.336, allocations: 273.5 kB / 0.512 GB, free: 84.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01843/1.354, allocations: 7.41 MB / 0.5193 GB, free: 84.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02867/1.383, allocations: 10.84 MB / 0.5298 GB, free: 80.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003149/1.383, allocations: 70.25 kB / 0.5299 GB, free: 80.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002073/1.385, allocations: 34.09 kB / 0.5299 GB, free: 80.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002868/1.388, allocations: 1.26 MB / 0.5312 GB, free: 80.22 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0844/1.473, allocations: 54.21 MB / 0.5841 GB, free: 39.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007791/1.48, allocations: 4.378 MB / 0.5884 GB, free: 35.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005227/1.486, allocations: 2.931 MB / 0.5912 GB, free: 32.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02718/1.513, allocations: 12.16 MB / 0.6031 GB, free: 21.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.985e-05/1.513, allocations: 58.44 kB / 0.6032 GB, free: 21.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=193): time 6.211e-06/1.513, allocations: 0 / 0.6032 GB, free: 21.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=254): time 0.119/1.632, allocations: 28.83 MB / 0.6313 GB, free: 9.203 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001904/1.632, allocations: 209.9 kB / 0.6315 GB, free: 8.953 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01252/1.645, allocations: 3.299 MB / 0.6348 GB, free: 5.629 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009337/1.646, allocations: 29.7 kB / 0.6348 GB, free: 5.594 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005207/1.651, allocations: 3.427 MB / 0.6381 GB, free: 2.121 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002525/1.654, allocations: 0.9212 MB / 0.639 GB, free: 1.188 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001487/1.655, allocations: 0 / 0.639 GB, free: 1.188 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001149/1.656, allocations: 0.6082 MB / 0.6396 GB, free: 0.5703 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3112/1.968, allocations: 2.901 MB / 0.6425 GB, free: 96.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01139/1.979, allocations: 6.933 MB / 0.6492 GB, free: 91.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01168/1.991, allocations: 4.42 MB / 0.6535 GB, free: 91.19 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000304/1.991, allocations: 40.91 kB / 0.6536 GB, free: 91.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.04186/2.033, allocations: 11.53 MB / 0.6648 GB, free: 90.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001394/2.033, allocations: 64.19 kB / 0.6649 GB, free: 90.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001973/2.034, allocations: 143.7 kB / 0.665 GB, free: 90.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01592/2.049, allocations: 3.168 MB / 0.6681 GB, free: 90.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0108/2.06, allocations: 1.612 MB / 0.6697 GB, free: 90.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03357/2.094, allocations: 13.81 MB / 0.6832 GB, free: 86.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009298/2.103, allocations: 349.6 kB / 0.6835 GB, free: 86.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001993/2.105, allocations: 419.3 kB / 0.6839 GB, free: 86 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 654 * 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 (836): * Single equations (assignments): 832 * 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 {(11,36.4%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002043/2.107, allocations: 465.9 kB / 0.6844 GB, free: 85.71 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02427/2.132, allocations: 7.218 MB / 0.6914 GB, free: 83.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001407/2.133, allocations: 376.5 kB / 0.6918 GB, free: 83.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02389/2.157, allocations: 7.156 MB / 0.6988 GB, free: 81.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.646e-05/2.157, allocations: 32.05 kB / 0.6988 GB, free: 81.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.286e-05/2.157, allocations: 11.34 kB / 0.6988 GB, free: 81.37 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.804e-05/2.157, allocations: 16.11 kB / 0.6988 GB, free: 81.37 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0414/2.199, allocations: 13.9 MB / 0.7124 GB, free: 76.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-05/2.199, allocations: 7.969 kB / 0.7124 GB, free: 76.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00379/2.203, allocations: 382 kB / 0.7128 GB, free: 76.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01503/2.218, allocations: 2.853 MB / 0.7156 GB, free: 74.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006865/2.218, allocations: 4 kB / 0.7156 GB, free: 74.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0287/2.247, allocations: 12.35 MB / 0.7276 GB, free: 64.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/2.247, allocations: 4 kB / 0.7276 GB, free: 64.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03315/2.28, allocations: 11.1 MB / 0.7385 GB, free: 54.81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004273/2.285, allocations: 0.872 MB / 0.7393 GB, free: 54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00203/2.287, allocations: 4 kB / 0.7393 GB, free: 54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006404/2.293, allocations: 171.8 kB / 0.7395 GB, free: 53.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001591/2.295, allocations: 151.8 kB / 0.7396 GB, free: 53.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005499/2.296, allocations: 67.84 kB / 0.7397 GB, free: 53.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01362/2.309, allocations: 2.197 MB / 0.7418 GB, free: 51.74 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.302e-06/2.309, allocations: 4 kB / 0.7418 GB, free: 51.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.02107/2.33, allocations: 1.13 MB / 0.7429 GB, free: 50.61 MB / 426.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.04874/2.379, allocations: 11.9 MB / 0.7546 GB, free: 38.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01868/2.398, allocations: 7.443 MB / 0.7618 GB, free: 31.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/2.398, allocations: 0 / 0.7618 GB, free: 31.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007569/2.405, allocations: 2.96 MB / 0.7647 GB, free: 28.24 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003889/2.409, allocations: 373.2 kB / 0.7651 GB, free: 27.88 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03874/2.448, allocations: 11.57 MB / 0.7764 GB, free: 16.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008966/2.457, allocations: 3.772 MB / 0.7801 GB, free: 12.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008649/2.466, allocations: 2.249 MB / 0.7823 GB, free: 10.23 MB / 426.7 MB Notification: Performance of SimCode: time 1.613e-06/2.466, allocations: 0 / 0.7823 GB, free: 10.23 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.968/7.435, allocations: 114.2 MB / 0.8937 GB, free: 55.33 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat does not exist to compare? outputFormat=mat