Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.74/2.74, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.746e-05/2.771e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.387, allocations: 54.86 MB / 354.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2258/0.6128, allocations: 101.3 MB / 455.8 MB, free: 9.777 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003941/0.6133, allocations: 75.91 kB / 455.9 MB, free: 9.703 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8025/1.416, allocations: 97 MB / 0.5399 GB, free: 24.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.424e-06/1.416, allocations: 3.938 kB / 0.5399 GB, free: 24.83 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000295/1.416, allocations: 92 kB / 0.54 GB, free: 24.74 MB / 394.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.02315/1.439, allocations: 5.118 MB / 0.545 GB, free: 19.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/1.439, allocations: 8.031 kB / 0.545 GB, free: 19.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03936/1.479, allocations: 4.611 MB / 0.5495 GB, free: 14.92 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02983/1.509, allocations: 6.049 MB / 0.5554 GB, free: 8.809 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004123/1.509, allocations: 148 kB / 0.5555 GB, free: 8.664 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003064/1.512, allocations: 272.2 kB / 0.5558 GB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02725/1.539, allocations: 7.418 MB / 0.563 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04346/1.583, allocations: 10.84 MB / 0.5736 GB, free: 5.047 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004217/1.584, allocations: 71.39 kB / 0.5737 GB, free: 4.977 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002469/1.586, allocations: 32 kB / 0.5737 GB, free: 4.945 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004115/1.59, allocations: 1.265 MB / 0.575 GB, free: 3.676 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5193/2.11, allocations: 54.23 MB / 0.6279 GB, free: 70.54 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009188/2.119, allocations: 4.373 MB / 0.6322 GB, free: 69.88 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00604/2.125, allocations: 2.934 MB / 0.6351 GB, free: 69.84 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03137/2.156, allocations: 12.17 MB / 0.6469 GB, free: 67.26 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.747e-05/2.156, allocations: 58.84 kB / 0.647 GB, free: 67.22 MB / 458.7 MB Notification: Performance of pre-optimization done (n=193): time 8.096e-06/2.156, allocations: 3.422 kB / 0.647 GB, free: 67.22 MB / 458.7 MB Notification: Performance of matching and sorting (n=254): time 0.1295/2.286, allocations: 28.82 MB / 0.6752 GB, free: 60.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/2.286, allocations: 208.6 kB / 0.6754 GB, free: 60.38 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008763/2.295, allocations: 3.297 MB / 0.6786 GB, free: 59.16 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008481/2.296, allocations: 28.92 kB / 0.6786 GB, free: 59.12 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003585/2.299, allocations: 3.491 MB / 0.682 GB, free: 56.62 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001904/2.301, allocations: 0.9247 MB / 0.6829 GB, free: 55.93 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001317/2.303, allocations: 2.438 kB / 0.6829 GB, free: 55.93 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0008505/2.304, allocations: 0.6007 MB / 0.6835 GB, free: 55.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008285/2.312, allocations: 2.902 MB / 0.6863 GB, free: 54.43 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01097/2.323, allocations: 6.936 MB / 0.6931 GB, free: 47.92 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0108/2.334, allocations: 4.416 MB / 0.6974 GB, free: 45.07 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001692/2.334, allocations: 43.95 kB / 0.6975 GB, free: 45.03 MB / 458.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.04411/2.378, allocations: 11.63 MB / 0.7088 GB, free: 36.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000131/2.378, allocations: 68 kB / 0.7089 GB, free: 36.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002343/2.379, allocations: 144 kB / 0.709 GB, free: 35.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01959/2.398, allocations: 3.165 MB / 0.7121 GB, free: 33.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01259/2.411, allocations: 1.603 MB / 0.7137 GB, free: 32.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03857/2.45, allocations: 13.84 MB / 0.7272 GB, free: 20.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01002/2.46, allocations: 348.2 kB / 0.7275 GB, free: 20.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00184/2.461, allocations: 418.7 kB / 0.7279 GB, free: 19.9 MB / 458.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.001814/2.463, allocations: 466.6 kB / 0.7284 GB, free: 19.44 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02866/2.492, allocations: 7.223 MB / 0.7354 GB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001658/2.494, allocations: 374.9 kB / 0.7358 GB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02941/2.523, allocations: 7.152 MB / 0.7428 GB, free: 7.895 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.889e-05/2.523, allocations: 28 kB / 0.7428 GB, free: 7.867 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.34e-05/2.523, allocations: 8 kB / 0.7428 GB, free: 7.859 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.746e-05/2.523, allocations: 14.97 kB / 0.7428 GB, free: 7.855 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05145/2.575, allocations: 13.9 MB / 0.7564 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.468e-05/2.575, allocations: 0 / 0.7564 GB, free: 10.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004848/2.58, allocations: 386 kB / 0.7568 GB, free: 10.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01991/2.6, allocations: 2.849 MB / 0.7595 GB, free: 7.609 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007374/2.601, allocations: 4 kB / 0.7595 GB, free: 7.605 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04164/2.642, allocations: 12.35 MB / 0.7716 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/2.642, allocations: 0 / 0.7716 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04032/2.683, allocations: 11.1 MB / 0.7824 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004055/2.687, allocations: 0.871 MB / 0.7833 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001701/2.688, allocations: 8 kB / 0.7833 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005264/2.694, allocations: 167.7 kB / 0.7835 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001176/2.695, allocations: 141.8 kB / 0.7836 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004068/2.695, allocations: 67.98 kB / 0.7837 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006121/2.702, allocations: 2.198 MB / 0.7858 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.32e-07/2.702, allocations: 0 / 0.7858 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01011/2.712, allocations: 1.138 MB / 0.7869 GB, free: 11.38 MB / 0.4948 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.04122/2.753, allocations: 11.9 MB / 0.7985 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02359/2.777, allocations: 7.442 MB / 0.8058 GB, free: 7.977 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/2.777, allocations: 3.938 kB / 0.8058 GB, free: 7.973 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0097/2.786, allocations: 2.969 MB / 0.8087 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004347/2.791, allocations: 371.3 kB / 0.8091 GB, free: 4.641 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04429/2.835, allocations: 11.04 MB / 0.8198 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01092/2.846, allocations: 3.766 MB / 0.8235 GB, free: 5.777 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01286/2.859, allocations: 2.21 MB / 0.8257 GB, free: 3.566 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006961/2.866, allocations: 2.198 MB / 0.8278 GB, free: 1.367 MB / 0.5261 GB Notification: Performance of SimCode: time 1.984e-06/2.866, allocations: 0 / 0.8278 GB, free: 1.367 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6652/3.531, allocations: 94.28 MB / 0.9199 GB, free: 125 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002258/3.532, allocations: 129.3 kB / 0.92 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.308/9.84, allocations: 3.938 kB / 0.92 GB, free: 124.8 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat does not exist to compare? outputFormat=mat