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.422/2.422, allocations: 235 MB / 247.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.354e-05/4.357e-05, allocations: 4 kB / 305 MB, free: 5.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4004, allocations: 54.84 MB / 359.9 MB, free: 3.082 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1873/0.5878, allocations: 102 MB / 461.9 MB, free: 10.92 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.5881, allocations: 77.17 kB / 461.9 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7607/1.349, allocations: 98.87 MB / 0.5477 GB, free: 104.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.065e-06/1.349, allocations: 0 / 0.5477 GB, free: 104.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003615/1.349, allocations: 93.12 kB / 0.5477 GB, free: 104.8 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.02461/1.374, allocations: 5.121 MB / 0.5527 GB, free: 102.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/1.374, allocations: 11.53 kB / 0.5528 GB, free: 102.9 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004413/1.378, allocations: 0.8462 MB / 0.5536 GB, free: 102.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03503/1.413, allocations: 4.611 MB / 0.5581 GB, free: 102.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02308/1.437, allocations: 6.063 MB / 0.564 GB, free: 101.8 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004626/1.437, allocations: 346.4 kB / 0.5643 GB, free: 101.8 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002861/1.44, allocations: 460 kB / 0.5648 GB, free: 101.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04447/1.484, allocations: 12.59 MB / 0.5771 GB, free: 96.32 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004696/1.485, allocations: 74.77 kB / 0.5771 GB, free: 96.3 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01062/1.496, allocations: 226.5 kB / 0.5774 GB, free: 96.18 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008326/1.504, allocations: 1.26 MB / 0.5786 GB, free: 95.95 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05348/1.558, allocations: 10.74 MB / 0.5891 GB, free: 92.63 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08919/1.647, allocations: 55.76 MB / 0.6435 GB, free: 40.54 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02587/1.673, allocations: 5.934 MB / 0.6493 GB, free: 34.46 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005885/1.679, allocations: 3.016 MB / 0.6523 GB, free: 31.43 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03132/1.71, allocations: 13.06 MB / 0.665 GB, free: 18.11 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.788e-05/1.71, allocations: 47.88 kB / 0.6651 GB, free: 18.05 MB / 458.7 MB Notification: Performance of pre-optimization done (n=193): time 6.141e-06/1.71, allocations: 0 / 0.6651 GB, free: 18.05 MB / 458.7 MB Notification: Performance of matching and sorting (n=254): time 0.1626/1.873, allocations: 30.56 MB / 0.6949 GB, free: 3.395 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001439/1.873, allocations: 201.9 kB / 0.6951 GB, free: 3.156 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3336/2.207, allocations: 3.819 MB / 0.6988 GB, free: 110.6 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007315/2.207, allocations: 62.67 kB / 0.6989 GB, free: 110.5 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003569/2.211, allocations: 3.43 MB / 0.7022 GB, free: 109.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00182/2.213, allocations: 0.9474 MB / 0.7032 GB, free: 109.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009721/2.214, allocations: 135 kB / 0.7033 GB, free: 109.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006455/2.214, allocations: 0.5913 MB / 0.7039 GB, free: 108.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00864/2.223, allocations: 2.988 MB / 0.7068 GB, free: 108.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01195/2.235, allocations: 6.884 MB / 0.7135 GB, free: 103.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01194/2.247, allocations: 4.47 MB / 0.7179 GB, free: 103.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002257/2.247, allocations: 40.81 kB / 0.7179 GB, free: 103.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.04159/2.289, allocations: 12.38 MB / 0.73 GB, free: 101.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001427/2.289, allocations: 62.12 kB / 0.7301 GB, free: 101.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002248/2.289, allocations: 139.2 kB / 0.7302 GB, free: 101.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01622/2.306, allocations: 3.205 MB / 0.7333 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01032/2.316, allocations: 1.553 MB / 0.7349 GB, free: 100.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03649/2.353, allocations: 14.94 MB / 0.7494 GB, free: 94.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009099/2.362, allocations: 476.3 kB / 0.7499 GB, free: 93.92 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001535/2.363, allocations: 404.4 kB / 0.7503 GB, free: 93.87 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.00152/2.365, allocations: 0.6091 MB / 0.7509 GB, free: 93.36 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001201/2.366, allocations: 404.7 kB / 0.7513 GB, free: 93.14 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02449/2.391, allocations: 7.364 MB / 0.7585 GB, free: 90.77 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-05/2.391, allocations: 27.64 kB / 0.7585 GB, free: 90.77 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.426e-05/2.391, allocations: 7.875 kB / 0.7585 GB, free: 90.77 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.702e-05/2.391, allocations: 14.84 kB / 0.7585 GB, free: 90.77 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05659/2.447, allocations: 14.98 MB / 0.7731 GB, free: 85.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.102e-05/2.448, allocations: 3.406 kB / 0.7731 GB, free: 85.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005077/2.453, allocations: 380 kB / 0.7735 GB, free: 85.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0212/2.474, allocations: 2.874 MB / 0.7763 GB, free: 84.91 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000796/2.475, allocations: 44.25 kB / 0.7763 GB, free: 84.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0369/2.512, allocations: 13.25 MB / 0.7893 GB, free: 74.85 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/2.512, allocations: 3.938 kB / 0.7893 GB, free: 74.84 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03126/2.543, allocations: 11.32 MB / 0.8003 GB, free: 65.28 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003582/2.547, allocations: 0.9129 MB / 0.8012 GB, free: 64.43 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001455/2.548, allocations: 36.94 kB / 0.8013 GB, free: 64.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004714/2.553, allocations: 214 kB / 0.8015 GB, free: 64.26 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009935/2.554, allocations: 151.9 kB / 0.8016 GB, free: 64.17 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003254/2.554, allocations: 60 kB / 0.8017 GB, free: 64.11 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00594/2.56, allocations: 2.667 MB / 0.8043 GB, free: 61.74 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.82e-07/2.56, allocations: 0 / 0.8043 GB, free: 61.74 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008333/2.569, allocations: 1.31 MB / 0.8056 GB, free: 60.44 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.04874/2.617, allocations: 12.14 MB / 0.8174 GB, free: 48.68 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01845/2.636, allocations: 7.65 MB / 0.8249 GB, free: 41.05 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/2.636, allocations: 4 kB / 0.8249 GB, free: 41.05 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007677/2.644, allocations: 3.027 MB / 0.8278 GB, free: 38.02 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003727/2.647, allocations: 477.8 kB / 0.8283 GB, free: 37.57 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03591/2.683, allocations: 11.35 MB / 0.8394 GB, free: 26.17 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00714/2.691, allocations: 3.772 MB / 0.8431 GB, free: 22.39 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009699/2.7, allocations: 2.168 MB / 0.8452 GB, free: 20.22 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0055/2.706, allocations: 2.206 MB / 0.8473 GB, free: 18.02 MB / 474.7 MB Notification: Performance of SimCode: time 1.704e-06/2.706, allocations: 8 kB / 0.8473 GB, free: 18.01 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6208/3.327, allocations: 101.2 MB / 0.9462 GB, free: 97.42 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/3.327, allocations: 172 kB / 0.9463 GB, free: 97.19 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.474/9.801, allocations: 0 / 0.9463 GB, free: 97.19 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