Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.706/2.706, allocations: 270 MB / 283.6 MB, free: 1.949 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.687e-05/5.704e-05, allocations: 8 kB / 348.5 MB, free: 2.742 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4373/0.4375, allocations: 61.87 MB / 410.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.216/0.6535, allocations: 104.7 MB / 0.503 GB, free: 1.793 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/0.6539, allocations: 75.95 kB / 0.5031 GB, free: 1.719 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8257/1.48, allocations: 96.64 MB / 0.5975 GB, free: 43.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.585e-06/1.48, allocations: 0 / 0.5975 GB, free: 43.55 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002019/1.48, allocations: 76 kB / 0.5975 GB, free: 43.48 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.01633/1.496, allocations: 4.246 MB / 0.6017 GB, free: 39.17 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/1.496, allocations: 12.03 kB / 0.6017 GB, free: 39.16 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004048/1.5, allocations: 0.8741 MB / 0.6025 GB, free: 38.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02681/1.527, allocations: 3.609 MB / 0.6061 GB, free: 34.65 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01675/1.544, allocations: 4.33 MB / 0.6103 GB, free: 30.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005193/1.545, allocations: 352.7 kB / 0.6106 GB, free: 29.92 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003457/1.548, allocations: 439.8 kB / 0.6111 GB, free: 29.49 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03532/1.584, allocations: 11.59 MB / 0.6224 GB, free: 17.36 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002869/1.584, allocations: 39.73 kB / 0.6224 GB, free: 17.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002777/1.587, allocations: 199.9 kB / 0.6226 GB, free: 17.12 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002794/1.589, allocations: 1.341 MB / 0.6239 GB, free: 15.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03253/1.622, allocations: 11.08 MB / 0.6347 GB, free: 4.688 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1119/1.734, allocations: 41.54 MB / 0.6753 GB, free: 10.13 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02025/1.754, allocations: 5.892 MB / 0.6811 GB, free: 4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006657/1.761, allocations: 2.979 MB / 0.684 GB, free: 1.016 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002805/1.764, allocations: 1.892 MB / 0.6858 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.449e-05/1.764, allocations: 60.44 kB / 0.6859 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=262): time 5.51e-06/1.764, allocations: 4 kB / 0.6859 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=283): time 0.08869/1.853, allocations: 16.56 MB / 0.702 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/1.853, allocations: 81.41 kB / 0.7021 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03786/1.891, allocations: 2.658 MB / 0.7047 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008661/1.892, allocations: 61.7 kB / 0.7048 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004336/1.896, allocations: 2.985 MB / 0.7077 GB, free: 8.148 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002152/1.898, allocations: 1.021 MB / 0.7087 GB, free: 7.113 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009923/1.899, allocations: 112 kB / 0.7088 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006852/1.9, allocations: 0.5621 MB / 0.7093 GB, free: 6.434 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007961/1.908, allocations: 2.757 MB / 0.712 GB, free: 3.672 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4313/2.339, allocations: 5.862 MB / 0.7178 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01304/2.353, allocations: 4.069 MB / 0.7217 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001284/2.353, allocations: 32.39 kB / 0.7218 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=784) (initialization): time 0.02735/2.38, allocations: 9.543 MB / 0.7311 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/2.38, allocations: 50.69 kB / 0.7311 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001505/2.38, allocations: 112.6 kB / 0.7312 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006764/2.387, allocations: 1.377 MB / 0.7326 GB, free: 128.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01206/2.399, allocations: 1.382 MB / 0.7339 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03744/2.437, allocations: 7.188 MB / 0.741 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009334/2.446, allocations: 406.8 kB / 0.7413 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001659/2.448, allocations: 350.4 kB / 0.7417 GB, free: 127.4 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.002086/2.45, allocations: 0.5273 MB / 0.7422 GB, free: 127.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008549/2.451, allocations: 304.3 kB / 0.7425 GB, free: 127.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01809/2.469, allocations: 6.572 MB / 0.7489 GB, free: 126 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001142/2.469, allocations: 50.91 kB / 0.7489 GB, free: 126 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/2.469, allocations: 3.844 kB / 0.749 GB, free: 126 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.55e-05/2.469, allocations: 13.91 kB / 0.749 GB, free: 126 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0368/2.506, allocations: 13.98 MB / 0.7626 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.868e-05/2.506, allocations: 7.656 kB / 0.7626 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004114/2.51, allocations: 458.7 kB / 0.7631 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005792/2.516, allocations: 1.208 MB / 0.7642 GB, free: 121 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000605/2.517, allocations: 59.67 kB / 0.7643 GB, free: 121 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01273/2.529, allocations: 6.519 MB / 0.7707 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/2.529, allocations: 11.62 kB / 0.7707 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02244/2.552, allocations: 10.37 MB / 0.7808 GB, free: 110.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/2.553, allocations: 350.9 kB / 0.7811 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009453/2.554, allocations: 54.31 kB / 0.7812 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003267/2.557, allocations: 197.8 kB / 0.7814 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006065/2.558, allocations: 171 kB / 0.7815 GB, free: 110 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002958/2.558, allocations: 73.17 kB / 0.7816 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003716/2.562, allocations: 1.813 MB / 0.7834 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.01e-07/2.562, allocations: 0 / 0.7834 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007135/2.569, allocations: 1.138 MB / 0.7845 GB, free: 107.2 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.02418/2.593, allocations: 12.78 MB / 0.797 GB, free: 95.55 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01509/2.608, allocations: 6.626 MB / 0.8034 GB, free: 89.56 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/2.609, allocations: 0 / 0.8034 GB, free: 89.56 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005968/2.615, allocations: 2.709 MB / 0.8061 GB, free: 87.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003045/2.618, allocations: 365.9 kB / 0.8064 GB, free: 86.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03302/2.651, allocations: 11.14 MB / 0.8173 GB, free: 77 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00676/2.657, allocations: 3.681 MB / 0.8209 GB, free: 74.18 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01172/2.669, allocations: 2.197 MB / 0.8231 GB, free: 72.76 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008196/2.678, allocations: 2.071 MB / 0.8251 GB, free: 70.86 MB / 0.5105 GB Notification: Performance of SimCode: time 1.854e-06/2.678, allocations: 4 kB / 0.8251 GB, free: 70.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2157/2.893, allocations: 79.85 MB / 0.9031 GB, free: 9.156 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003035/2.894, allocations: 174.9 kB / 0.9032 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.034/7.928, allocations: 0 / 0.9032 GB, free: 8.926 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal_res.mat does not exist to compare? outputFormat=mat