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.001/2.001, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.799e-05/3.832e-05, allocations: 8 kB / 273.1 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1094, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4375/0.5469, allocations: 95.17 MB / 417 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/0.5473, allocations: 75.95 kB / 417.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7875/1.335, allocations: 98.76 MB / 0.5037 GB, free: 92.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.126e-06/1.335, allocations: 0 / 0.5037 GB, free: 92.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003276/1.335, allocations: 89.66 kB / 0.5038 GB, free: 92.95 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: 1690 * Number of variables: 1690 Notification: Performance of Generate backend data structure: time 0.02366/1.359, allocations: 5.12 MB / 0.5088 GB, free: 91.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.005e-05/1.359, allocations: 9.125 kB / 0.5088 GB, free: 91.1 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004332/1.363, allocations: 0.8426 MB / 0.5097 GB, free: 91.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03484/1.398, allocations: 4.609 MB / 0.5142 GB, free: 90.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02334/1.422, allocations: 6.057 MB / 0.5201 GB, free: 90.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000503/1.422, allocations: 348.2 kB / 0.5204 GB, free: 90.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002759/1.425, allocations: 460.7 kB / 0.5208 GB, free: 90.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03896/1.464, allocations: 12.58 MB / 0.5331 GB, free: 87.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003233/1.464, allocations: 69.28 kB / 0.5332 GB, free: 87.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002022/1.466, allocations: 224 kB / 0.5334 GB, free: 87.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002753/1.469, allocations: 1.266 MB / 0.5346 GB, free: 87.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03307/1.502, allocations: 10.72 MB / 0.5451 GB, free: 85.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08896/1.591, allocations: 55.73 MB / 0.5995 GB, free: 44.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02538/1.617, allocations: 5.932 MB / 0.6053 GB, free: 40.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00572/1.622, allocations: 3.019 MB / 0.6083 GB, free: 38.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02942/1.652, allocations: 13.06 MB / 0.621 GB, free: 26.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.474e-05/1.652, allocations: 55.81 kB / 0.6211 GB, free: 26.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=193): time 6.993e-06/1.652, allocations: 0 / 0.6211 GB, free: 26.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=254): time 0.1608/1.813, allocations: 30.55 MB / 0.6509 GB, free: 14.26 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001606/1.813, allocations: 213.9 kB / 0.6511 GB, free: 14.01 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01106/1.824, allocations: 3.819 MB / 0.6549 GB, free: 10.17 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000796/1.825, allocations: 65.7 kB / 0.6549 GB, free: 10.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004122/1.829, allocations: 3.321 MB / 0.6582 GB, free: 6.781 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002008/1.831, allocations: 0.947 MB / 0.6591 GB, free: 5.844 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001176/1.832, allocations: 136 kB / 0.6592 GB, free: 5.711 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007981/1.833, allocations: 0.5998 MB / 0.6598 GB, free: 5.098 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008922/1.842, allocations: 2.989 MB / 0.6627 GB, free: 2.105 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3058/2.148, allocations: 6.878 MB / 0.6694 GB, free: 96.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01191/2.16, allocations: 4.468 MB / 0.6738 GB, free: 96.92 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002764/2.16, allocations: 39.44 kB / 0.6738 GB, free: 96.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.04439/2.205, allocations: 12.24 MB / 0.6858 GB, free: 96.45 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001708/2.205, allocations: 63.81 kB / 0.6859 GB, free: 96.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002523/2.205, allocations: 138.7 kB / 0.686 GB, free: 96.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01617/2.221, allocations: 3.204 MB / 0.6891 GB, free: 96.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01036/2.232, allocations: 1.548 MB / 0.6906 GB, free: 96.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03702/2.269, allocations: 14.93 MB / 0.7052 GB, free: 93.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00939/2.278, allocations: 479.2 kB / 0.7057 GB, free: 92.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002026/2.281, allocations: 404.2 kB / 0.7061 GB, free: 92.86 MB / 442.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.003538/2.284, allocations: 0.6047 MB / 0.7066 GB, free: 92.45 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001472/2.286, allocations: 411.5 kB / 0.707 GB, free: 92.44 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02762/2.313, allocations: 7.363 MB / 0.7142 GB, free: 90.05 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.696e-05/2.313, allocations: 27.61 kB / 0.7143 GB, free: 90.05 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.2e-05/2.313, allocations: 10.47 kB / 0.7143 GB, free: 90.05 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-05/2.313, allocations: 13.41 kB / 0.7143 GB, free: 90.05 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05027/2.364, allocations: 14.99 MB / 0.7289 GB, free: 84.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.377e-05/2.364, allocations: 0.8125 kB / 0.7289 GB, free: 84.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00381/2.368, allocations: 379.6 kB / 0.7293 GB, free: 84.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01646/2.384, allocations: 2.879 MB / 0.7321 GB, free: 84.28 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008181/2.385, allocations: 42.73 kB / 0.7321 GB, free: 84.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04544/2.43, allocations: 13.24 MB / 0.7451 GB, free: 78.72 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.493e-06/2.431, allocations: 3.938 kB / 0.7451 GB, free: 78.72 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04121/2.472, allocations: 11.32 MB / 0.7561 GB, free: 69.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003415/2.475, allocations: 0.9147 MB / 0.757 GB, free: 68.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001102/2.476, allocations: 36.62 kB / 0.757 GB, free: 68.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004171/2.481, allocations: 208.1 kB / 0.7572 GB, free: 68.53 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001011/2.482, allocations: 157.2 kB / 0.7574 GB, free: 68.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003459/2.482, allocations: 60.55 kB / 0.7575 GB, free: 68.37 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005826/2.488, allocations: 2.661 MB / 0.7601 GB, free: 66.01 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.52e-07/2.488, allocations: 0 / 0.7601 GB, free: 66.01 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008222/2.496, allocations: 1.308 MB / 0.7613 GB, free: 64.71 MB / 442.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.03142/2.528, allocations: 12.16 MB / 0.7732 GB, free: 54.33 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01807/2.546, allocations: 7.643 MB / 0.7807 GB, free: 47.41 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/2.546, allocations: 0 / 0.7807 GB, free: 47.41 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007384/2.553, allocations: 3.042 MB / 0.7836 GB, free: 44.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003931/2.557, allocations: 461 kB / 0.7841 GB, free: 44.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03498/2.592, allocations: 11.87 MB / 0.7957 GB, free: 32.86 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007219/2.599, allocations: 3.766 MB / 0.7993 GB, free: 29.09 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005198/2.605, allocations: 2.268 MB / 0.8016 GB, free: 26.82 MB / 442.7 MB Notification: Performance of SimCode: time 1.382e-06/2.605, allocations: 0 / 0.8016 GB, free: 26.82 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.883/7.488, allocations: 116.9 MB / 0.9157 GB, free: 53.18 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