Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.33/2.33, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.914e-05/3.919e-05, allocations: 4 kB / 305 MB, free: 5.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4443/0.4443, allocations: 54.86 MB / 359.9 MB, free: 2.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1901/0.6345, allocations: 102 MB / 461.9 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/0.6349, allocations: 79.94 kB / 461.9 MB, free: 10.76 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.808/1.443, allocations: 98.87 MB / 0.5477 GB, free: 104.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.104e-06/1.443, allocations: 0 / 0.5477 GB, free: 104.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003463/1.443, allocations: 94.52 kB / 0.5478 GB, free: 104.3 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.02399/1.467, allocations: 5.118 MB / 0.5528 GB, free: 102.4 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/1.467, allocations: 10.53 kB / 0.5528 GB, free: 102.4 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004047/1.471, allocations: 0.8486 MB / 0.5536 GB, free: 102.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0343/1.506, allocations: 4.616 MB / 0.5581 GB, free: 102 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02195/1.528, allocations: 6.047 MB / 0.564 GB, free: 101.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004437/1.528, allocations: 352.2 kB / 0.5643 GB, free: 101.3 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002749/1.531, allocations: 464.7 kB / 0.5648 GB, free: 101.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04032/1.571, allocations: 12.54 MB / 0.577 GB, free: 96.06 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004272/1.572, allocations: 75.02 kB / 0.5771 GB, free: 96.04 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002999/1.575, allocations: 225.4 kB / 0.5773 GB, free: 95.92 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003948/1.579, allocations: 1.258 MB / 0.5785 GB, free: 95.68 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04453/1.623, allocations: 10.54 MB / 0.5888 GB, free: 92.47 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1537/1.777, allocations: 55.76 MB / 0.6433 GB, free: 40.63 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02516/1.802, allocations: 5.915 MB / 0.6491 GB, free: 34.56 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005302/1.808, allocations: 3.021 MB / 0.652 GB, free: 31.53 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0268/1.835, allocations: 13.04 MB / 0.6648 GB, free: 18.22 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/1.835, allocations: 63.8 kB / 0.6648 GB, free: 18.15 MB / 458.7 MB Notification: Performance of pre-optimization done (n=193): time 6.012e-06/1.835, allocations: 3.938 kB / 0.6648 GB, free: 18.15 MB / 458.7 MB Notification: Performance of matching and sorting (n=254): time 0.1535/1.988, allocations: 30.54 MB / 0.6946 GB, free: 3.516 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/1.988, allocations: 205.9 kB / 0.6948 GB, free: 3.273 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3719/2.36, allocations: 3.814 MB / 0.6986 GB, free: 109.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008643/2.361, allocations: 61.94 kB / 0.6986 GB, free: 109.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003683/2.365, allocations: 3.33 MB / 0.7019 GB, free: 108.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001992/2.367, allocations: 0.9482 MB / 0.7028 GB, free: 108.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001275/2.368, allocations: 135.3 kB / 0.7029 GB, free: 108.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007732/2.369, allocations: 0.5935 MB / 0.7035 GB, free: 108.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008897/2.378, allocations: 2.995 MB / 0.7064 GB, free: 108 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01192/2.39, allocations: 6.836 MB / 0.7131 GB, free: 103.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01229/2.402, allocations: 4.473 MB / 0.7175 GB, free: 103 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003453/2.403, allocations: 38.59 kB / 0.7175 GB, free: 103 MB / 474.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.04244/2.445, allocations: 11.86 MB / 0.7291 GB, free: 101.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001605/2.445, allocations: 63.81 kB / 0.7292 GB, free: 101.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002479/2.446, allocations: 140 kB / 0.7293 GB, free: 101.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01626/2.462, allocations: 3.208 MB / 0.7324 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01027/2.472, allocations: 1.552 MB / 0.7339 GB, free: 100.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03643/2.509, allocations: 14.95 MB / 0.7485 GB, free: 94.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009643/2.519, allocations: 474.7 kB / 0.749 GB, free: 93.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002006/2.521, allocations: 403.6 kB / 0.7494 GB, free: 93.91 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.002698/2.523, allocations: 0.6111 MB / 0.75 GB, free: 93.41 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001252/2.525, allocations: 409 kB / 0.7504 GB, free: 93.19 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02571/2.55, allocations: 7.356 MB / 0.7576 GB, free: 90.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.446e-05/2.55, allocations: 27.97 kB / 0.7576 GB, free: 90.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.358e-05/2.551, allocations: 19.59 kB / 0.7576 GB, free: 90.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-05/2.551, allocations: 13.27 kB / 0.7576 GB, free: 90.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04805/2.599, allocations: 14.97 MB / 0.7722 GB, free: 85.46 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.227e-05/2.599, allocations: 0 / 0.7722 GB, free: 85.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003833/2.603, allocations: 380.5 kB / 0.7726 GB, free: 85.44 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01548/2.618, allocations: 2.873 MB / 0.7754 GB, free: 84.94 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007567/2.619, allocations: 39.56 kB / 0.7754 GB, free: 84.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03159/2.651, allocations: 13.26 MB / 0.7884 GB, free: 75.34 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.925e-05/2.651, allocations: 3.172 kB / 0.7884 GB, free: 75.34 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03237/2.683, allocations: 11.32 MB / 0.7994 GB, free: 65.77 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00364/2.687, allocations: 0.9106 MB / 0.8003 GB, free: 64.92 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00197/2.689, allocations: 47.27 kB / 0.8004 GB, free: 64.88 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005015/2.694, allocations: 201.7 kB / 0.8006 GB, free: 64.75 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001087/2.695, allocations: 152.3 kB / 0.8007 GB, free: 64.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003321/2.695, allocations: 57.06 kB / 0.8008 GB, free: 64.61 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00671/2.702, allocations: 2.666 MB / 0.8034 GB, free: 62.24 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.753e-06/2.702, allocations: 0 / 0.8034 GB, free: 62.24 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009639/2.712, allocations: 1.317 MB / 0.8047 GB, free: 60.93 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.03382/2.746, allocations: 12.14 MB / 0.8165 GB, free: 49.26 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01918/2.765, allocations: 7.43 MB / 0.8238 GB, free: 41.85 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/2.765, allocations: 0 / 0.8238 GB, free: 41.85 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008155/2.773, allocations: 2.992 MB / 0.8267 GB, free: 38.85 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004701/2.778, allocations: 471.6 kB / 0.8271 GB, free: 38.41 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04102/2.819, allocations: 11.87 MB / 0.8387 GB, free: 26.49 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008549/2.828, allocations: 3.777 MB / 0.8424 GB, free: 22.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005774/2.833, allocations: 2.257 MB / 0.8446 GB, free: 20.45 MB / 474.7 MB Notification: Performance of SimCode: time 1.753e-06/2.833, allocations: 4 kB / 0.8446 GB, free: 20.44 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.134/7.967, allocations: 115.9 MB / 0.9578 GB, free: 79.56 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat does not exist to compare? outputFormat=mat