Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.355/2.355, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.068e-05/4.068e-05, allocations: 4 kB / 299.5 MB, free: 6.504 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3691, allocations: 54.85 MB / 354.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1822/0.5514, allocations: 101.3 MB / 455.7 MB, free: 12.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/0.5518, allocations: 75.95 kB / 455.8 MB, free: 12.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7124/1.264, allocations: 97 MB / 0.5398 GB, free: 88.28 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.154e-06/1.264, allocations: 0 / 0.5398 GB, free: 88.28 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003543/1.265, allocations: 95.94 kB / 0.5399 GB, free: 88.18 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: 1692 * Number of variables: 1692 Notification: Performance of Generate backend data structure: time 0.03178/1.296, allocations: 5.112 MB / 0.5449 GB, free: 83.01 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.01e-05/1.297, allocations: 8.031 kB / 0.5449 GB, free: 83 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04189/1.338, allocations: 4.611 MB / 0.5494 GB, free: 78.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02104/1.36, allocations: 6.056 MB / 0.5553 GB, free: 72.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002756/1.36, allocations: 148 kB / 0.5554 GB, free: 72.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002506/1.362, allocations: 276.2 kB / 0.5557 GB, free: 71.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01705/1.379, allocations: 7.417 MB / 0.563 GB, free: 64.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02533/1.405, allocations: 10.85 MB / 0.5735 GB, free: 52.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000284/1.405, allocations: 71.34 kB / 0.5736 GB, free: 52.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001629/1.407, allocations: 32 kB / 0.5736 GB, free: 52.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002725/1.41, allocations: 1.267 MB / 0.5749 GB, free: 51.19 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08114/1.491, allocations: 54.23 MB / 0.6278 GB, free: 11.57 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009358/1.5, allocations: 4.37 MB / 0.6321 GB, free: 7.047 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006441/1.507, allocations: 2.932 MB / 0.635 GB, free: 4.102 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03196/1.539, allocations: 12.17 MB / 0.6469 GB, free: 7.688 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.791e-05/1.539, allocations: 63.81 kB / 0.6469 GB, free: 7.617 MB / 458.7 MB Notification: Performance of pre-optimization done (n=193): time 5.39e-06/1.539, allocations: 0 / 0.6469 GB, free: 7.617 MB / 458.7 MB Notification: Performance of matching and sorting (n=254): time 0.4862/2.025, allocations: 28.83 MB / 0.6751 GB, free: 126.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.022e-05/2.025, allocations: 212 kB / 0.6753 GB, free: 126 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009145/2.034, allocations: 3.299 MB / 0.6785 GB, free: 125.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007462/2.035, allocations: 30.8 kB / 0.6785 GB, free: 125.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003269/2.038, allocations: 3.491 MB / 0.6819 GB, free: 123.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00168/2.04, allocations: 0.9163 MB / 0.6828 GB, free: 123.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008876/2.041, allocations: 0 / 0.6828 GB, free: 123.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004616/2.042, allocations: 0.604 MB / 0.6834 GB, free: 123 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006786/2.048, allocations: 2.904 MB / 0.6862 GB, free: 123 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009638/2.058, allocations: 6.933 MB / 0.693 GB, free: 117.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00954/2.068, allocations: 4.406 MB / 0.6973 GB, free: 117.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001575/2.068, allocations: 42.97 kB / 0.6974 GB, free: 117.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.03748/2.105, allocations: 11.63 MB / 0.7087 GB, free: 114.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001187/2.105, allocations: 64.97 kB / 0.7088 GB, free: 114.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001982/2.106, allocations: 142.2 kB / 0.7089 GB, free: 114.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0161/2.122, allocations: 3.168 MB / 0.712 GB, free: 113.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01024/2.132, allocations: 1.604 MB / 0.7136 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03171/2.164, allocations: 13.81 MB / 0.7271 GB, free: 107.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008827/2.173, allocations: 347 kB / 0.7274 GB, free: 107.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001681/2.174, allocations: 428.5 kB / 0.7278 GB, free: 107.5 MB / 474.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.001605/2.176, allocations: 473.9 kB / 0.7283 GB, free: 107.1 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02345/2.2, allocations: 7.218 MB / 0.7353 GB, free: 102 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001606/2.201, allocations: 375.2 kB / 0.7357 GB, free: 101.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02435/2.226, allocations: 7.154 MB / 0.7427 GB, free: 96.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.277e-05/2.226, allocations: 28.55 kB / 0.7427 GB, free: 96.07 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-05/2.226, allocations: 12 kB / 0.7427 GB, free: 96.06 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.544e-05/2.226, allocations: 16.09 kB / 0.7427 GB, free: 96.05 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04281/2.269, allocations: 13.91 MB / 0.7563 GB, free: 85.06 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.459e-05/2.269, allocations: 0 / 0.7563 GB, free: 85.06 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003805/2.273, allocations: 386.2 kB / 0.7567 GB, free: 84.75 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01531/2.288, allocations: 2.854 MB / 0.7594 GB, free: 82.38 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006879/2.289, allocations: 4 kB / 0.7594 GB, free: 82.37 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02956/2.318, allocations: 12.35 MB / 0.7715 GB, free: 69.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/2.318, allocations: 0 / 0.7715 GB, free: 69.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03085/2.349, allocations: 11.11 MB / 0.7823 GB, free: 58.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003344/2.353, allocations: 0.871 MB / 0.7832 GB, free: 57.81 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00152/2.354, allocations: 6.297 kB / 0.7832 GB, free: 57.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004259/2.358, allocations: 167.7 kB / 0.7834 GB, free: 57.64 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008234/2.359, allocations: 149.7 kB / 0.7835 GB, free: 57.49 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000295/2.36, allocations: 67.56 kB / 0.7836 GB, free: 57.43 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004415/2.364, allocations: 2.202 MB / 0.7857 GB, free: 55.21 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.433e-06/2.364, allocations: 0 / 0.7857 GB, free: 55.21 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008491/2.373, allocations: 1.134 MB / 0.7868 GB, free: 54.09 MB / 474.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.03144/2.404, allocations: 11.89 MB / 0.7984 GB, free: 42.11 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01852/2.423, allocations: 7.443 MB / 0.8057 GB, free: 34.68 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/2.423, allocations: 2.516 kB / 0.8057 GB, free: 34.68 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007469/2.43, allocations: 2.968 MB / 0.8086 GB, free: 31.71 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003681/2.434, allocations: 363.3 kB / 0.809 GB, free: 31.36 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03482/2.469, allocations: 11.06 MB / 0.8198 GB, free: 20.27 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008208/2.477, allocations: 3.762 MB / 0.8234 GB, free: 16.49 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01037/2.487, allocations: 2.212 MB / 0.8256 GB, free: 14.28 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005458/2.493, allocations: 2.206 MB / 0.8277 GB, free: 12.07 MB / 474.7 MB Notification: Performance of SimCode: time 1.523e-06/2.493, allocations: 0 / 0.8277 GB, free: 12.07 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.572/3.065, allocations: 94.25 MB / 0.9198 GB, free: 97.34 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002324/3.065, allocations: 128.8 kB / 0.9199 GB, free: 97.14 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.684/8.75, allocations: 4.031 kB / 0.9199 GB, free: 97.14 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat does not exist to compare? outputFormat=mat