Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_FourbarVariants_JointUSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.935/1.935, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.924e-05/3.939e-05, allocations: 4 kB / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1053, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4477/0.5531, allocations: 101.9 MB / 423.8 MB, free: 3.555 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.5534, allocations: 75.95 kB / 423.9 MB, free: 3.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9613/1.515, allocations: 142.3 MB / 0.5529 GB, free: 90.36 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.474e-06/1.515, allocations: 0 / 0.5529 GB, free: 90.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005017/1.515, allocations: 130.1 kB / 0.553 GB, free: 90.35 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: 2162 * Number of variables: 2162 Notification: Performance of Generate backend data structure: time 0.02786/1.543, allocations: 6.644 MB / 0.5595 GB, free: 87.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/1.543, allocations: 7.812 kB / 0.5595 GB, free: 87.29 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005895/1.549, allocations: 1.269 MB / 0.5607 GB, free: 86.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06684/1.616, allocations: 9.34 MB / 0.5698 GB, free: 83.35 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03343/1.65, allocations: 9.127 MB / 0.5787 GB, free: 77.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006495/1.65, allocations: 486 kB / 0.5792 GB, free: 77.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003617/1.654, allocations: 0.6334 MB / 0.5798 GB, free: 76.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05006/1.704, allocations: 15.53 MB / 0.595 GB, free: 59.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004301/1.704, allocations: 79.23 kB / 0.5951 GB, free: 59.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002658/1.707, allocations: 305.5 kB / 0.5954 GB, free: 59.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003255/1.71, allocations: 1.384 MB / 0.5967 GB, free: 58.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04166/1.752, allocations: 12.71 MB / 0.6091 GB, free: 45.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4358/2.188, allocations: 64.36 MB / 0.672 GB, free: 43.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03428/2.222, allocations: 6.234 MB / 0.6781 GB, free: 42.72 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009656/2.232, allocations: 3.117 MB / 0.6811 GB, free: 42.68 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03799/2.27, allocations: 11.18 MB / 0.692 GB, free: 39.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.093e-05/2.27, allocations: 64.31 kB / 0.6921 GB, free: 39.83 MB / 426.7 MB Notification: Performance of pre-optimization done (n=245): time 9.367e-06/2.27, allocations: 1.969 kB / 0.6921 GB, free: 39.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=337): time 0.1779/2.448, allocations: 29.63 MB / 0.721 GB, free: 35.79 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/2.448, allocations: 249.9 kB / 0.7213 GB, free: 35.53 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0119/2.46, allocations: 4.929 MB / 0.7261 GB, free: 33.83 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009568/2.461, allocations: 82.69 kB / 0.7262 GB, free: 33.76 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004441/2.466, allocations: 4.465 MB / 0.7305 GB, free: 30.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002029/2.468, allocations: 1.235 MB / 0.7317 GB, free: 29.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001052/2.469, allocations: 160 kB / 0.7319 GB, free: 29.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005237/2.469, allocations: 0.6501 MB / 0.7325 GB, free: 28.85 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008817/2.478, allocations: 3.53 MB / 0.736 GB, free: 27.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01152/2.49, allocations: 8.049 MB / 0.7438 GB, free: 20.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01158/2.501, allocations: 5.282 MB / 0.749 GB, free: 18.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001611/2.502, allocations: 45.56 kB / 0.749 GB, free: 18.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=1070) (initialization): time 0.0486/2.55, allocations: 14.57 MB / 0.7632 GB, free: 9.742 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000129/2.551, allocations: 72 kB / 0.7633 GB, free: 9.672 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002664/2.551, allocations: 161.5 kB / 0.7635 GB, free: 9.516 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02109/2.572, allocations: 3.561 MB / 0.7669 GB, free: 7.051 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01123/2.583, allocations: 1.792 MB / 0.7687 GB, free: 5.484 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04701/2.63, allocations: 17.91 MB / 0.7862 GB, free: 6.094 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0105/2.641, allocations: 486.8 kB / 0.7867 GB, free: 5.691 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00223/2.643, allocations: 470.6 kB / 0.7871 GB, free: 5.238 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 721 * Number of states: 0 () * Number of discrete variables: 43 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (969): * Single equations (assignments): 965 * 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 {(1,100.0%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003556/2.647, allocations: 0.7187 MB / 0.7878 GB, free: 4.52 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001849/2.649, allocations: 0.5283 MB / 0.7883 GB, free: 3.984 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03992/2.689, allocations: 8.935 MB / 0.797 GB, free: 12.14 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.981e-05/2.689, allocations: 33.88 kB / 0.7971 GB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.311e-05/2.689, allocations: 16 kB / 0.7971 GB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-05/2.689, allocations: 15.94 kB / 0.7971 GB, free: 12.08 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07307/2.762, allocations: 18.6 MB / 0.8153 GB, free: 9.332 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.965e-05/2.762, allocations: 4 kB / 0.8153 GB, free: 9.328 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004848/2.767, allocations: 492 kB / 0.8157 GB, free: 8.848 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02157/2.788, allocations: 3.102 MB / 0.8188 GB, free: 5.742 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009307/2.789, allocations: 67.2 kB / 0.8188 GB, free: 5.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04469/2.834, allocations: 15.58 MB / 0.834 GB, free: 5.957 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.411e-05/2.834, allocations: 11.94 kB / 0.8341 GB, free: 5.945 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3885/3.223, allocations: 14.03 MB / 0.8478 GB, free: 134.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004957/3.228, allocations: 1.094 MB / 0.8488 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002385/3.23, allocations: 59.3 kB / 0.8489 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006382/3.237, allocations: 204.1 kB / 0.8491 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001602/3.238, allocations: 220.1 kB / 0.8493 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006242/3.239, allocations: 88.22 kB / 0.8494 GB, free: 134 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01214/3.251, allocations: 3.486 MB / 0.8528 GB, free: 133.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.112e-06/3.251, allocations: 0.9844 kB / 0.8528 GB, free: 133.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01228/3.263, allocations: 1.68 MB / 0.8544 GB, free: 133.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (253): * Single equations (assignments): 249 * 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 {(1,100.0%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04599/3.31, allocations: 15.96 MB / 0.87 GB, free: 130.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02083/3.33, allocations: 8.783 MB / 0.8786 GB, free: 128.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/3.33, allocations: 3.125 kB / 0.8786 GB, free: 128.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008618/3.339, allocations: 3.432 MB / 0.8819 GB, free: 126.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006771/3.346, allocations: 0.6904 MB / 0.8826 GB, free: 126.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05096/3.397, allocations: 15.06 MB / 0.8973 GB, free: 121.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01156/3.409, allocations: 4.957 MB / 0.9022 GB, free: 119.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01233/3.421, allocations: 2.599 MB / 0.9047 GB, free: 119.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007296/3.428, allocations: 3.048 MB / 0.9077 GB, free: 116.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.022e-06/3.428, allocations: 0 / 0.9077 GB, free: 116.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6253/4.054, allocations: 132.3 MB / 1.037 GB, free: 121.4 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000306/4.054, allocations: 172.5 kB / 1.037 GB, free: 121.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.467/11.52, allocations: 0 / 1.037 GB, free: 121.2 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat does not exist to compare? outputFormat=mat