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.644/2.644, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.011e-05/4.032e-05, allocations: 4 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.4249, allocations: 54.86 MB / 359.9 MB, free: 2.793 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2092/0.6342, allocations: 96.91 MB / 456.8 MB, free: 15.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/0.6346, allocations: 79.95 kB / 456.9 MB, free: 15.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7969/1.432, allocations: 94.38 MB / 0.5383 GB, free: 104.9 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.695e-06/1.432, allocations: 1.312 kB / 0.5383 GB, free: 104.9 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003322/1.432, allocations: 83.2 kB / 0.5384 GB, free: 104.9 MB / 458.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.0271/1.459, allocations: 4.237 MB / 0.5426 GB, free: 103 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.959e-05/1.459, allocations: 15.31 kB / 0.5426 GB, free: 103 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005941/1.465, allocations: 0.882 MB / 0.5434 GB, free: 103 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04424/1.509, allocations: 3.608 MB / 0.547 GB, free: 102.6 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02641/1.536, allocations: 4.454 MB / 0.5513 GB, free: 102.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004848/1.536, allocations: 337.7 kB / 0.5516 GB, free: 102.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002991/1.539, allocations: 455.7 kB / 0.5521 GB, free: 102.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03365/1.573, allocations: 11.59 MB / 0.5634 GB, free: 100.6 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002915/1.573, allocations: 34.5 kB / 0.5634 GB, free: 100.6 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002664/1.576, allocations: 201.6 kB / 0.5636 GB, free: 100.6 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002762/1.579, allocations: 1.343 MB / 0.5649 GB, free: 100.4 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03258/1.612, allocations: 11.09 MB / 0.5757 GB, free: 97.04 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09255/1.704, allocations: 41.36 MB / 0.6161 GB, free: 67.19 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02706/1.731, allocations: 5.898 MB / 0.6219 GB, free: 61.85 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008246/1.74, allocations: 2.976 MB / 0.6248 GB, free: 59.12 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002955/1.743, allocations: 1.895 MB / 0.6266 GB, free: 57.02 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.636e-05/1.743, allocations: 60.56 kB / 0.6267 GB, free: 56.96 MB / 458.7 MB Notification: Performance of pre-optimization done (n=262): time 1.06e-05/1.743, allocations: 3.938 kB / 0.6267 GB, free: 56.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=283): time 0.07511/1.818, allocations: 16.61 MB / 0.6429 GB, free: 41.39 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/1.818, allocations: 77.41 kB / 0.643 GB, free: 41.3 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005813/1.824, allocations: 2.658 MB / 0.6456 GB, free: 38.62 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007368/1.825, allocations: 61.7 kB / 0.6457 GB, free: 38.56 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002228/1.827, allocations: 2.995 MB / 0.6486 GB, free: 35.56 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001575/1.829, allocations: 1.028 MB / 0.6496 GB, free: 34.54 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007543/1.829, allocations: 115.8 kB / 0.6497 GB, free: 34.43 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004299/1.83, allocations: 0.5582 MB / 0.6502 GB, free: 33.86 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006618/1.836, allocations: 2.761 MB / 0.6529 GB, free: 31.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008859/1.845, allocations: 5.883 MB / 0.6587 GB, free: 23.68 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008887/1.854, allocations: 4.066 MB / 0.6627 GB, free: 19.61 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.953e-05/1.854, allocations: 32 kB / 0.6627 GB, free: 19.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=787) (initialization): time 0.0276/1.882, allocations: 9.562 MB / 0.672 GB, free: 9.996 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.89e-05/1.882, allocations: 52 kB / 0.6721 GB, free: 9.945 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001433/1.882, allocations: 112.7 kB / 0.6722 GB, free: 9.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006467/1.889, allocations: 1.382 MB / 0.6735 GB, free: 8.453 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009397/1.898, allocations: 1.38 MB / 0.6749 GB, free: 7.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01505/1.913, allocations: 7.188 MB / 0.6819 GB, free: 15.76 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007716/1.921, allocations: 415.3 kB / 0.6823 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002013/1.923, allocations: 340 kB / 0.6826 GB, free: 15.03 MB / 474.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.002535/1.926, allocations: 0.5313 MB / 0.6831 GB, free: 14.49 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001178/1.927, allocations: 308 kB / 0.6834 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02931/1.956, allocations: 6.576 MB / 0.6899 GB, free: 7.559 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001907/1.957, allocations: 47.94 kB / 0.6899 GB, free: 7.512 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.329e-05/1.957, allocations: 4 kB / 0.6899 GB, free: 7.508 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.733e-05/1.957, allocations: 11.97 kB / 0.6899 GB, free: 7.496 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.483/2.44, allocations: 13.98 MB / 0.7036 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.384e-05/2.44, allocations: 7.391 kB / 0.7036 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006414/2.446, allocations: 454.8 kB / 0.704 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009994/2.456, allocations: 1.216 MB / 0.7052 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001015/2.457, allocations: 56.11 kB / 0.7053 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02327/2.481, allocations: 6.519 MB / 0.7116 GB, free: 105.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.132e-05/2.481, allocations: 7.062 kB / 0.7116 GB, free: 105.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03848/2.519, allocations: 10.38 MB / 0.7218 GB, free: 104.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004597/2.524, allocations: 0.8162 MB / 0.7226 GB, free: 104.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001874/2.526, allocations: 55.84 kB / 0.7226 GB, free: 104.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00595/2.532, allocations: 205.3 kB / 0.7228 GB, free: 104.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001489/2.533, allocations: 164.3 kB / 0.723 GB, free: 104 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006005/2.534, allocations: 76.55 kB / 0.723 GB, free: 104 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007092/2.541, allocations: 1.814 MB / 0.7248 GB, free: 103.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.162e-06/2.541, allocations: 0 / 0.7248 GB, free: 103.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01383/2.555, allocations: 1.137 MB / 0.7259 GB, free: 103.7 MB / 474.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.04047/2.596, allocations: 12.76 MB / 0.7384 GB, free: 97.21 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02377/2.619, allocations: 6.644 MB / 0.7449 GB, free: 95.17 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.107e-05/2.62, allocations: 0 / 0.7449 GB, free: 95.17 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009932/2.63, allocations: 2.704 MB / 0.7475 GB, free: 94.18 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00478/2.634, allocations: 362.2 kB / 0.7479 GB, free: 94.02 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04991/2.684, allocations: 11.15 MB / 0.7587 GB, free: 90.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01249/2.697, allocations: 3.679 MB / 0.7623 GB, free: 88.76 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01395/2.711, allocations: 2.199 MB / 0.7645 GB, free: 88.72 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007778/2.719, allocations: 2.089 MB / 0.7665 GB, free: 87.01 MB / 474.7 MB Notification: Performance of SimCode: time 3.497e-06/2.719, allocations: 0 / 0.7665 GB, free: 87.01 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2188/2.938, allocations: 79.61 MB / 0.8443 GB, free: 17.95 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/2.938, allocations: 158.7 kB / 0.8444 GB, free: 17.73 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.019/7.957, allocations: 0 / 0.8444 GB, free: 17.73 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