Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.307/2.307, allocations: 209.3 MB / 221.5 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.918e-05/4.924e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1223, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5172/0.6395, allocations: 90.1 MB / 412 MB, free: 15.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000308/0.6399, allocations: 71.97 kB / 412.1 MB, free: 15.31 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4438/1.084, allocations: 94.28 MB / 0.4945 GB, free: 300 kB / 426.7 MB Notification: Performance of FrontEnd: time 3.176e-06/1.084, allocations: 0 / 0.4945 GB, free: 300 kB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002836/1.084, allocations: 83.94 kB / 0.4946 GB, free: 216 kB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1761 * Number of variables: 1761 Notification: Performance of Generate backend data structure: time 0.3183/1.402, allocations: 4.235 MB / 0.4987 GB, free: 96.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/1.403, allocations: 9.062 kB / 0.4987 GB, free: 96.84 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00541/1.408, allocations: 0.8778 MB / 0.4996 GB, free: 96.76 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03048/1.439, allocations: 3.605 MB / 0.5031 GB, free: 96.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01959/1.458, allocations: 4.46 MB / 0.5074 GB, free: 96.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007859/1.459, allocations: 340 kB / 0.5078 GB, free: 96.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003677/1.463, allocations: 444.5 kB / 0.5082 GB, free: 96.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05375/1.517, allocations: 11.59 MB / 0.5195 GB, free: 94.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004672/1.517, allocations: 37.94 kB / 0.5195 GB, free: 94.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003855/1.521, allocations: 199.1 kB / 0.5197 GB, free: 94.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004214/1.525, allocations: 1.333 MB / 0.521 GB, free: 94.61 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04684/1.572, allocations: 11.09 MB / 0.5318 GB, free: 94.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.12/1.692, allocations: 41.35 MB / 0.5722 GB, free: 69.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02795/1.72, allocations: 5.897 MB / 0.578 GB, free: 67.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008723/1.729, allocations: 2.982 MB / 0.5809 GB, free: 65.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003173/1.732, allocations: 1.886 MB / 0.5827 GB, free: 63.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.88e-05/1.732, allocations: 52.17 kB / 0.5828 GB, free: 63.08 MB / 426.7 MB Notification: Performance of pre-optimization done (n=262): time 1.17e-05/1.732, allocations: 4.312 kB / 0.5828 GB, free: 63.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=283): time 0.09814/1.831, allocations: 16.61 MB / 0.599 GB, free: 49.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/1.831, allocations: 77.38 kB / 0.5991 GB, free: 49.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00871/1.839, allocations: 2.661 MB / 0.6017 GB, free: 46.83 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009518/1.84, allocations: 65.53 kB / 0.6017 GB, free: 46.76 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003419/1.844, allocations: 2.988 MB / 0.6047 GB, free: 44.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002426/1.846, allocations: 1.017 MB / 0.6057 GB, free: 43.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001111/1.848, allocations: 116 kB / 0.6058 GB, free: 43.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008828/1.849, allocations: 0.5618 MB / 0.6063 GB, free: 42.58 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00964/1.858, allocations: 2.765 MB / 0.609 GB, free: 40.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01304/1.871, allocations: 5.886 MB / 0.6148 GB, free: 33.15 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01253/1.884, allocations: 4.069 MB / 0.6187 GB, free: 29.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000152/1.884, allocations: 32 kB / 0.6188 GB, free: 29.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=787) (initialization): time 0.03801/1.922, allocations: 9.56 MB / 0.6281 GB, free: 20.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.108e-05/1.922, allocations: 52 kB / 0.6282 GB, free: 20.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001556/1.922, allocations: 111.4 kB / 0.6283 GB, free: 20.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00671/1.929, allocations: 1.386 MB / 0.6296 GB, free: 19.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01251/1.942, allocations: 1.388 MB / 0.631 GB, free: 17.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0366/1.978, allocations: 7.181 MB / 0.638 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02663/2.005, allocations: 407.7 kB / 0.6384 GB, free: 10.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00185/2.007, allocations: 343.7 kB / 0.6387 GB, free: 9.859 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 502 * Number of states: 0 () * Number of discrete variables: 27 (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.color[3],axis2.color[2],axis2.color[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 (717): * Single equations (assignments): 710 * 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.002614/2.01, allocations: 0.5321 MB / 0.6392 GB, free: 9.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001149/2.011, allocations: 308 kB / 0.6395 GB, free: 9.016 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02087/2.032, allocations: 6.569 MB / 0.6459 GB, free: 2.391 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000115/2.032, allocations: 51.73 kB / 0.646 GB, free: 2.344 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/2.032, allocations: 8 kB / 0.646 GB, free: 2.336 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.52e-05/2.032, allocations: 11.95 kB / 0.646 GB, free: 2.324 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04547/2.077, allocations: 13.98 MB / 0.6596 GB, free: 4.223 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.55e-05/2.078, allocations: 4 kB / 0.6596 GB, free: 4.219 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004759/2.082, allocations: 459.3 kB / 0.6601 GB, free: 3.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007295/2.09, allocations: 1.217 MB / 0.6613 GB, free: 2.551 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007881/2.091, allocations: 55.73 kB / 0.6613 GB, free: 2.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.317/2.408, allocations: 6.516 MB / 0.6677 GB, free: 100.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.136e-05/2.408, allocations: 7.688 kB / 0.6677 GB, free: 100.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03122/2.439, allocations: 10.38 MB / 0.6778 GB, free: 99.56 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004317/2.443, allocations: 0.8186 MB / 0.6786 GB, free: 99.47 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001775/2.445, allocations: 46.2 kB / 0.6787 GB, free: 99.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005501/2.451, allocations: 208.5 kB / 0.6789 GB, free: 99.47 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001329/2.452, allocations: 159.6 kB / 0.679 GB, free: 99.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005915/2.453, allocations: 78.31 kB / 0.6791 GB, free: 99.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006669/2.459, allocations: 1.812 MB / 0.6809 GB, free: 99.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.22e-07/2.459, allocations: 4.875 kB / 0.6809 GB, free: 99.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01106/2.47, allocations: 1.142 MB / 0.682 GB, free: 99.3 MB / 442.7 MB 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.03338/2.504, allocations: 12.77 MB / 0.6945 GB, free: 95.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0153/2.519, allocations: 6.641 MB / 0.7009 GB, free: 94.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/2.519, allocations: 0 / 0.7009 GB, free: 94.71 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006203/2.525, allocations: 2.708 MB / 0.7036 GB, free: 93.72 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003262/2.529, allocations: 357.9 kB / 0.7039 GB, free: 93.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04017/2.569, allocations: 11.14 MB / 0.7148 GB, free: 89.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01101/2.58, allocations: 3.676 MB / 0.7184 GB, free: 88.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01374/2.594, allocations: 2.199 MB / 0.7205 GB, free: 88.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007433/2.601, allocations: 2.085 MB / 0.7226 GB, free: 86.56 MB / 442.7 MB Notification: Performance of SimCode: time 1.793e-06/2.601, allocations: 0 / 0.7226 GB, free: 86.56 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1876/2.789, allocations: 79.59 MB / 0.8003 GB, free: 26.61 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/2.789, allocations: 162.7 kB / 0.8005 GB, free: 26.38 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.915/7.704, allocations: 0 / 0.8005 GB, free: 26.38 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal_res.mat does not exist to compare? outputFormat=mat