Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.637/2.637, allocations: 270 MB / 283.6 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.481e-05/5.499e-05, allocations: 7.938 kB / 348.5 MB, free: 2.633 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4429/0.443, allocations: 61.87 MB / 410.4 MB, free: 10.58 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2664/0.7095, allocations: 104.7 MB / 0.503 GB, free: 1.707 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003599/0.71, allocations: 75.95 kB / 0.5031 GB, free: 1.633 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7804/1.49, allocations: 96.65 MB / 0.5975 GB, free: 43.42 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.505e-06/1.49, allocations: 0 / 0.5975 GB, free: 43.42 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002097/1.491, allocations: 79.98 kB / 0.5975 GB, free: 43.34 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01649/1.507, allocations: 4.239 MB / 0.6017 GB, free: 39.04 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/1.507, allocations: 8.031 kB / 0.6017 GB, free: 39.03 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004315/1.512, allocations: 0.8833 MB / 0.6026 GB, free: 38.14 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02714/1.539, allocations: 3.601 MB / 0.6061 GB, free: 34.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01704/1.556, allocations: 4.341 MB / 0.6103 GB, free: 30.13 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005554/1.557, allocations: 340.8 kB / 0.6106 GB, free: 29.79 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003309/1.56, allocations: 443.8 kB / 0.6111 GB, free: 29.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0363/1.596, allocations: 11.6 MB / 0.6224 GB, free: 17.22 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003034/1.597, allocations: 31.73 kB / 0.6224 GB, free: 17.19 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002945/1.6, allocations: 199.9 kB / 0.6226 GB, free: 16.99 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002907/1.603, allocations: 1.341 MB / 0.6239 GB, free: 15.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03264/1.635, allocations: 11.08 MB / 0.6347 GB, free: 4.559 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09743/1.733, allocations: 41.54 MB / 0.6753 GB, free: 10 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02105/1.754, allocations: 5.896 MB / 0.6811 GB, free: 3.875 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007331/1.761, allocations: 2.987 MB / 0.684 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002966/1.764, allocations: 1.88 MB / 0.6858 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.381e-05/1.764, allocations: 57.31 kB / 0.6859 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=262): time 6.893e-06/1.764, allocations: 0 / 0.6859 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=283): time 0.07921/1.844, allocations: 16.57 MB / 0.7021 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.72e-05/1.844, allocations: 77.41 kB / 0.7021 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006951/1.851, allocations: 2.662 MB / 0.7047 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007399/1.851, allocations: 65.7 kB / 0.7048 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003476/1.855, allocations: 2.981 MB / 0.7077 GB, free: 8.023 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002116/1.857, allocations: 1.014 MB / 0.7087 GB, free: 6.996 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008297/1.858, allocations: 116 kB / 0.7088 GB, free: 6.883 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006315/1.859, allocations: 0.5582 MB / 0.7093 GB, free: 6.316 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008085/1.867, allocations: 2.764 MB / 0.712 GB, free: 3.547 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3733/2.24, allocations: 5.858 MB / 0.7178 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01051/2.251, allocations: 4.066 MB / 0.7217 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002435/2.251, allocations: 32.09 kB / 0.7218 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=784) (initialization): time 0.03807/2.289, allocations: 9.54 MB / 0.7311 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002513/2.29, allocations: 57.84 kB / 0.7311 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003069/2.29, allocations: 108.1 kB / 0.7312 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0136/2.303, allocations: 1.379 MB / 0.7326 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0126/2.316, allocations: 1.386 MB / 0.7339 GB, free: 129 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02164/2.338, allocations: 7.18 MB / 0.741 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0107/2.349, allocations: 405.4 kB / 0.7413 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002055/2.351, allocations: 349.4 kB / 0.7417 GB, free: 127.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 499 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.headAtOrigin,axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (714): * Single equations (assignments): 707 * Array equations: 6 * 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 {(3,100.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00293/2.354, allocations: 0.5316 MB / 0.7422 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001078/2.355, allocations: 298.3 kB / 0.7425 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02677/2.382, allocations: 6.58 MB / 0.7489 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001453/2.382, allocations: 49.97 kB / 0.749 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.13e-05/2.382, allocations: 3.719 kB / 0.749 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.563e-05/2.382, allocations: 21.5 kB / 0.749 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05315/2.435, allocations: 13.98 MB / 0.7626 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.254e-05/2.435, allocations: 7.562 kB / 0.7626 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00549/2.441, allocations: 455.7 kB / 0.7631 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008168/2.449, allocations: 1.208 MB / 0.7643 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008303/2.45, allocations: 52.38 kB / 0.7643 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01591/2.466, allocations: 6.52 MB / 0.7707 GB, free: 118 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.198e-06/2.466, allocations: 11.75 kB / 0.7707 GB, free: 118 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02305/2.489, allocations: 10.37 MB / 0.7808 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009639/2.49, allocations: 351.5 kB / 0.7811 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001212/2.491, allocations: 48.94 kB / 0.7812 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003588/2.495, allocations: 204.2 kB / 0.7814 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008592/2.496, allocations: 169 kB / 0.7816 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003393/2.496, allocations: 80.73 kB / 0.7816 GB, free: 110 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004122/2.5, allocations: 1.81 MB / 0.7834 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.42e-07/2.5, allocations: 3.609 kB / 0.7834 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007543/2.508, allocations: 1.143 MB / 0.7845 GB, free: 107.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (218): * Single equations (assignments): 211 * Array equations: 6 * 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 {(2,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02467/2.532, allocations: 12.77 MB / 0.797 GB, free: 95.67 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01489/2.547, allocations: 6.626 MB / 0.8035 GB, free: 89.68 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.429e-05/2.547, allocations: 0 / 0.8035 GB, free: 89.68 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005978/2.553, allocations: 2.712 MB / 0.8061 GB, free: 87.21 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003149/2.557, allocations: 369.7 kB / 0.8065 GB, free: 86.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03278/2.589, allocations: 11.13 MB / 0.8173 GB, free: 77.12 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008079/2.598, allocations: 3.677 MB / 0.8209 GB, free: 74.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009202/2.607, allocations: 2.197 MB / 0.8231 GB, free: 72.88 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005368/2.612, allocations: 2.076 MB / 0.8251 GB, free: 70.98 MB / 0.5105 GB Notification: Performance of SimCode: time 1.493e-06/2.612, allocations: 4 kB / 0.8251 GB, free: 70.97 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1888/2.801, allocations: 79.84 MB / 0.9031 GB, free: 9.156 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003293/2.802, allocations: 175.1 kB / 0.9032 GB, free: 8.922 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.049/7.851, allocations: 0 / 0.9032 GB, free: 8.922 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.mat does not exist to compare? outputFormat=mat