Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.492/2.492, allocations: 235.1 MB / 242.2 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.104e-05/3.127e-05, allocations: 4 kB / 299.5 MB, free: 6.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4426/0.4427, allocations: 54.85 MB / 354.3 MB, free: 14.17 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1915/0.6343, allocations: 96.24 MB / 450.6 MB, free: 2.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003877/0.6347, allocations: 71.97 kB / 450.7 MB, free: 1.949 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8002/1.435, allocations: 92.53 MB / 0.5304 GB, free: 95.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.185e-06/1.435, allocations: 0 / 0.5304 GB, free: 95.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002028/1.435, allocations: 79.75 kB / 0.5305 GB, free: 95.68 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: 1763 * Number of variables: 1763 Notification: Performance of Generate backend data structure: time 0.01695/1.452, allocations: 4.239 MB / 0.5347 GB, free: 92.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/1.452, allocations: 10.44 kB / 0.5347 GB, free: 92.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03137/1.484, allocations: 3.611 MB / 0.5382 GB, free: 89.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02664/1.51, allocations: 4.453 MB / 0.5425 GB, free: 84.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003131/1.511, allocations: 145.4 kB / 0.5427 GB, free: 84.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01277/1.524, allocations: 255.9 kB / 0.5429 GB, free: 84.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04184/1.565, allocations: 8.168 MB / 0.5509 GB, free: 76.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03071/1.596, allocations: 10.72 MB / 0.5614 GB, free: 65.15 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002414/1.596, allocations: 43.59 kB / 0.5614 GB, free: 65.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002633/1.599, allocations: 16 kB / 0.5614 GB, free: 65.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002788/1.602, allocations: 1.329 MB / 0.5627 GB, free: 63.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07733/1.679, allocations: 38.78 MB / 0.6006 GB, free: 24.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007938/1.687, allocations: 5.094 MB / 0.6056 GB, free: 19.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005056/1.692, allocations: 2.924 MB / 0.6084 GB, free: 16.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002122/1.695, allocations: 1.883 MB / 0.6103 GB, free: 14.03 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/1.695, allocations: 53.41 kB / 0.6103 GB, free: 13.97 MB / 426.7 MB Notification: Performance of pre-optimization done (n=264): time 6.042e-06/1.695, allocations: 4 kB / 0.6103 GB, free: 13.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=285): time 0.05605/1.751, allocations: 16.72 MB / 0.6266 GB, free: 13.12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.949e-05/1.751, allocations: 77.41 kB / 0.6267 GB, free: 13.03 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006215/1.757, allocations: 2.449 MB / 0.6291 GB, free: 10.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007585/1.758, allocations: 33.64 kB / 0.6291 GB, free: 10.53 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003578/1.762, allocations: 3.069 MB / 0.6321 GB, free: 7.41 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00221/1.764, allocations: 1.002 MB / 0.6331 GB, free: 6.395 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008757/1.765, allocations: 3.938 kB / 0.6331 GB, free: 6.391 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006903/1.765, allocations: 0.5786 MB / 0.6337 GB, free: 5.805 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007254/1.773, allocations: 2.726 MB / 0.6363 GB, free: 3.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.012/1.785, allocations: 6.098 MB / 0.6423 GB, free: 11.29 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01419/1.799, allocations: 4.096 MB / 0.6463 GB, free: 7.199 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001727/1.799, allocations: 32 kB / 0.6463 GB, free: 7.168 MB / 458.7 MB Notification: Performance of matching and sorting (n=831) (initialization): time 0.04066/1.84, allocations: 9.427 MB / 0.6555 GB, free: 13.73 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001605/1.84, allocations: 56 kB / 0.6556 GB, free: 13.67 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000245/1.84, allocations: 116 kB / 0.6557 GB, free: 13.56 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009398/1.85, allocations: 1.39 MB / 0.6571 GB, free: 12.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01268/1.863, allocations: 1.47 MB / 0.6585 GB, free: 10.69 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01599/1.879, allocations: 6.809 MB / 0.6651 GB, free: 3.762 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007454/1.886, allocations: 295.6 kB / 0.6654 GB, free: 3.473 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001599/1.888, allocations: 375.3 kB / 0.6658 GB, free: 3.109 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * 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 (761): * Single equations (assignments): 754 * 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.001504/1.889, allocations: 409 kB / 0.6662 GB, free: 2.703 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.3425/2.232, allocations: 5.769 MB / 0.6718 GB, free: 126.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001529/2.233, allocations: 292.1 kB / 0.6721 GB, free: 126.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02151/2.255, allocations: 6.416 MB / 0.6784 GB, free: 125.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001429/2.255, allocations: 50.11 kB / 0.6784 GB, free: 125.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/2.255, allocations: 3.906 kB / 0.6784 GB, free: 125.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.54e-05/2.255, allocations: 11.34 kB / 0.6784 GB, free: 125.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0345/2.29, allocations: 12.8 MB / 0.6909 GB, free: 124.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.588e-05/2.29, allocations: 10.5 kB / 0.6909 GB, free: 124.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004163/2.294, allocations: 458.6 kB / 0.6914 GB, free: 124.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005949/2.3, allocations: 1.203 MB / 0.6925 GB, free: 124.7 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006658/2.301, allocations: 21.75 kB / 0.6926 GB, free: 124.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01221/2.313, allocations: 6.153 MB / 0.6986 GB, free: 121.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.519e-05/2.313, allocations: 15.06 kB / 0.6986 GB, free: 121.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02318/2.336, allocations: 10.27 MB / 0.7086 GB, free: 117.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002811/2.339, allocations: 0.809 MB / 0.7094 GB, free: 117.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000861/2.34, allocations: 20.28 kB / 0.7094 GB, free: 117.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002963/2.343, allocations: 165.6 kB / 0.7096 GB, free: 117.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006691/2.344, allocations: 162.4 kB / 0.7097 GB, free: 117 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003245/2.344, allocations: 78.62 kB / 0.7098 GB, free: 117 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003121/2.347, allocations: 1.6 MB / 0.7114 GB, free: 116.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.32e-07/2.347, allocations: 0 / 0.7114 GB, free: 116.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007723/2.355, allocations: 0.9933 MB / 0.7123 GB, free: 116.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (220): * Single equations (assignments): 213 * 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.02385/2.379, allocations: 12.77 MB / 0.7248 GB, free: 109.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0142/2.393, allocations: 6.648 MB / 0.7313 GB, free: 103.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.434e-05/2.393, allocations: 0 / 0.7313 GB, free: 103.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005564/2.399, allocations: 2.68 MB / 0.7339 GB, free: 101 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002451/2.401, allocations: 248.9 kB / 0.7342 GB, free: 100.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03261/2.434, allocations: 10.93 MB / 0.7448 GB, free: 91.34 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008083/2.442, allocations: 3.666 MB / 0.7484 GB, free: 88.54 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009833/2.452, allocations: 2.317 MB / 0.7507 GB, free: 87.16 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005114/2.457, allocations: 2.078 MB / 0.7527 GB, free: 85.25 MB / 474.7 MB Notification: Performance of SimCode: time 3.246e-06/2.457, allocations: 0 / 0.7527 GB, free: 85.25 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1795/2.637, allocations: 75.23 MB / 0.8262 GB, free: 11.93 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/2.637, allocations: 132.8 kB / 0.8263 GB, free: 11.73 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.124/7.761, allocations: 7.938 kB / 0.8263 GB, free: 11.72 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Universal_res.mat does not exist to compare? outputFormat=mat