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.525/2.525, allocations: 235 MB / 247.2 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.681e-05/4.69e-05, allocations: 0 / 305 MB, free: 5.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4136, allocations: 54.85 MB / 359.9 MB, free: 2.699 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2228/0.6365, allocations: 102 MB / 461.9 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003302/0.6369, allocations: 71.97 kB / 462 MB, free: 10.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7715/1.409, allocations: 98.88 MB / 0.5477 GB, free: 104.4 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.894e-06/1.409, allocations: 3.375 kB / 0.5477 GB, free: 104.4 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003473/1.409, allocations: 94.8 kB / 0.5478 GB, free: 104.4 MB / 458.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.024/1.433, allocations: 5.116 MB / 0.5528 GB, free: 102.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/1.433, allocations: 9.562 kB / 0.5528 GB, free: 102.5 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004178/1.437, allocations: 0.8434 MB / 0.5536 GB, free: 102.4 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03416/1.471, allocations: 4.615 MB / 0.5581 GB, free: 102.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02249/1.494, allocations: 6.054 MB / 0.564 GB, free: 101.4 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005293/1.495, allocations: 350.6 kB / 0.5644 GB, free: 101.4 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003002/1.498, allocations: 457.7 kB / 0.5648 GB, free: 101.4 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03985/1.537, allocations: 12.54 MB / 0.5771 GB, free: 96.11 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004071/1.538, allocations: 68.84 kB / 0.5771 GB, free: 96.09 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002717/1.541, allocations: 227.4 kB / 0.5773 GB, free: 95.97 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002965/1.544, allocations: 1.258 MB / 0.5786 GB, free: 95.74 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0382/1.582, allocations: 10.55 MB / 0.5889 GB, free: 92.53 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09658/1.679, allocations: 55.75 MB / 0.6433 GB, free: 40.54 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02529/1.704, allocations: 5.903 MB / 0.6491 GB, free: 34.47 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005845/1.71, allocations: 3.026 MB / 0.652 GB, free: 31.44 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03004/1.74, allocations: 13.05 MB / 0.6648 GB, free: 18.12 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.126e-05/1.74, allocations: 59.38 kB / 0.6648 GB, free: 18.06 MB / 458.7 MB Notification: Performance of pre-optimization done (n=193): time 7.003e-06/1.74, allocations: 3.938 kB / 0.6648 GB, free: 18.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=254): time 0.1536/1.894, allocations: 30.54 MB / 0.6947 GB, free: 3.414 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/1.894, allocations: 205.9 kB / 0.6949 GB, free: 3.172 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3446/2.238, allocations: 3.819 MB / 0.6986 GB, free: 110.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000814/2.239, allocations: 60.14 kB / 0.6987 GB, free: 110.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003948/2.243, allocations: 3.431 MB / 0.702 GB, free: 109.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001794/2.245, allocations: 0.9492 MB / 0.7029 GB, free: 108.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000888/2.246, allocations: 134.2 kB / 0.7031 GB, free: 108.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005436/2.247, allocations: 0.5934 MB / 0.7036 GB, free: 108.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008264/2.255, allocations: 2.989 MB / 0.7066 GB, free: 108.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01153/2.266, allocations: 6.842 MB / 0.7132 GB, free: 103.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01141/2.278, allocations: 4.471 MB / 0.7176 GB, free: 103.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002211/2.278, allocations: 39.44 kB / 0.7176 GB, free: 103.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.04129/2.32, allocations: 12.01 MB / 0.7294 GB, free: 101.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001435/2.32, allocations: 66 kB / 0.7294 GB, free: 101.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002158/2.32, allocations: 137.5 kB / 0.7296 GB, free: 101.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01601/2.336, allocations: 3.202 MB / 0.7327 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01056/2.347, allocations: 1.547 MB / 0.7342 GB, free: 100.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0362/2.383, allocations: 14.95 MB / 0.7488 GB, free: 94.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009573/2.392, allocations: 465 kB / 0.7493 GB, free: 93.99 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001923/2.394, allocations: 408.3 kB / 0.7496 GB, free: 93.94 MB / 474.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.00285/2.397, allocations: 0.6186 MB / 0.7502 GB, free: 93.43 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001286/2.399, allocations: 406.2 kB / 0.7506 GB, free: 93.21 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0258/2.425, allocations: 7.364 MB / 0.7578 GB, free: 90.82 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-05/2.425, allocations: 28.5 kB / 0.7579 GB, free: 90.82 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-05/2.425, allocations: 7.812 kB / 0.7579 GB, free: 90.82 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.862e-05/2.425, allocations: 13.42 kB / 0.7579 GB, free: 90.82 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04675/2.471, allocations: 14.97 MB / 0.7725 GB, free: 85.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.385e-05/2.472, allocations: 0 / 0.7725 GB, free: 85.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003863/2.475, allocations: 384.5 kB / 0.7729 GB, free: 85.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01531/2.491, allocations: 2.868 MB / 0.7757 GB, free: 84.96 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007119/2.492, allocations: 40.56 kB / 0.7757 GB, free: 84.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03101/2.523, allocations: 13.26 MB / 0.7887 GB, free: 75.03 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/2.523, allocations: 0 / 0.7887 GB, free: 75.03 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03188/2.555, allocations: 11.31 MB / 0.7997 GB, free: 65.46 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003616/2.558, allocations: 0.9138 MB / 0.8006 GB, free: 64.61 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001677/2.56, allocations: 36.94 kB / 0.8006 GB, free: 64.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005277/2.565, allocations: 213 kB / 0.8008 GB, free: 64.45 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001198/2.567, allocations: 155.1 kB / 0.801 GB, free: 64.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004197/2.567, allocations: 61.33 kB / 0.801 GB, free: 64.29 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006794/2.574, allocations: 2.663 MB / 0.8036 GB, free: 61.93 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.41e-07/2.574, allocations: 0 / 0.8036 GB, free: 61.93 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009002/2.583, allocations: 1.314 MB / 0.8049 GB, free: 60.62 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.03233/2.615, allocations: 12.14 MB / 0.8168 GB, free: 48.95 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01852/2.634, allocations: 7.425 MB / 0.824 GB, free: 41.54 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/2.634, allocations: 0 / 0.824 GB, free: 41.54 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007891/2.642, allocations: 3.003 MB / 0.827 GB, free: 38.54 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004431/2.646, allocations: 470.3 kB / 0.8274 GB, free: 38.09 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03685/2.683, allocations: 11.34 MB / 0.8385 GB, free: 26.71 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008126/2.691, allocations: 3.764 MB / 0.8422 GB, free: 22.93 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01007/2.701, allocations: 2.172 MB / 0.8443 GB, free: 20.76 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005661/2.707, allocations: 2.214 MB / 0.8464 GB, free: 18.55 MB / 474.7 MB Notification: Performance of SimCode: time 1.403e-06/2.707, allocations: 0 / 0.8464 GB, free: 18.55 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5725/3.28, allocations: 100.5 MB / 0.9446 GB, free: 98.15 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/3.28, allocations: 174.8 kB / 0.9448 GB, free: 97.92 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.976/9.256, allocations: 0 / 0.9448 GB, free: 97.92 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