Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.7/2.7, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.519e-05/4.53e-05, allocations: 7.938 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4599/0.46, allocations: 58.83 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2031/0.6631, allocations: 103.3 MB / 485.6 MB, free: 5.113 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004671/0.6637, allocations: 71.97 kB / 485.6 MB, free: 5.043 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.8677/1.531, allocations: 95.43 MB / 0.5675 GB, free: 107.3 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.965e-06/1.531, allocations: 0 / 0.5675 GB, free: 107.3 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0002071/1.532, allocations: 82.41 kB / 0.5675 GB, free: 107.3 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.01652/1.548, allocations: 4.255 MB / 0.5717 GB, free: 103.7 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/1.548, allocations: 8.031 kB / 0.5717 GB, free: 103.7 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003717/1.552, allocations: 0.8821 MB / 0.5726 GB, free: 102.8 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02707/1.579, allocations: 3.616 MB / 0.5761 GB, free: 99.21 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01656/1.596, allocations: 4.478 MB / 0.5805 GB, free: 94.73 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004005/1.596, allocations: 342.3 kB / 0.5808 GB, free: 94.43 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002932/1.599, allocations: 445.6 kB / 0.5812 GB, free: 94.03 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03522/1.634, allocations: 11.61 MB / 0.5926 GB, free: 82 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002664/1.635, allocations: 31.75 kB / 0.5926 GB, free: 81.97 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00267/1.637, allocations: 204.2 kB / 0.5928 GB, free: 81.81 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002879/1.64, allocations: 1.336 MB / 0.5941 GB, free: 80.48 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03211/1.672, allocations: 11.1 MB / 0.6049 GB, free: 69.37 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0875/1.76, allocations: 41.46 MB / 0.6454 GB, free: 27.11 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01865/1.779, allocations: 5.909 MB / 0.6512 GB, free: 20.97 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00594/1.785, allocations: 2.976 MB / 0.6541 GB, free: 17.99 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002203/1.787, allocations: 1.888 MB / 0.6559 GB, free: 15.77 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.353e-05/1.787, allocations: 60.62 kB / 0.656 GB, free: 15.7 MB / 458.8 MB Notification: Performance of pre-optimization done (n=262): time 7.564e-06/1.787, allocations: 3.938 kB / 0.656 GB, free: 15.7 MB / 458.8 MB Notification: Performance of matching and sorting (n=283): time 0.06906/1.856, allocations: 16.63 MB / 0.6722 GB, free: 14.92 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.384e-05/1.856, allocations: 81.36 kB / 0.6723 GB, free: 14.82 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007012/1.863, allocations: 2.68 MB / 0.6749 GB, free: 12.13 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000732/1.864, allocations: 65.7 kB / 0.675 GB, free: 12.06 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003344/1.867, allocations: 3.005 MB / 0.6779 GB, free: 9.016 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001958/1.87, allocations: 1.017 MB / 0.6789 GB, free: 7.984 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008223/1.87, allocations: 116 kB / 0.679 GB, free: 7.871 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0006161/1.871, allocations: 0.5583 MB / 0.6796 GB, free: 7.305 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007637/1.879, allocations: 2.765 MB / 0.6823 GB, free: 4.535 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01138/1.89, allocations: 5.909 MB / 0.688 GB, free: 13.08 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01056/1.901, allocations: 4.078 MB / 0.692 GB, free: 9 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001243/1.901, allocations: 32 kB / 0.6921 GB, free: 8.969 MB / 490.8 MB Notification: Performance of matching and sorting (n=790) (initialization): time 0.03124/1.932, allocations: 9.578 MB / 0.7014 GB, free: 15.38 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/1.932, allocations: 55.95 kB / 0.7015 GB, free: 15.32 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001783/1.932, allocations: 112 kB / 0.7016 GB, free: 15.21 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009391/1.942, allocations: 1.386 MB / 0.7029 GB, free: 13.82 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01346/1.955, allocations: 1.396 MB / 0.7043 GB, free: 12.42 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02438/1.98, allocations: 7.188 MB / 0.7113 GB, free: 5.098 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01028/1.99, allocations: 403.7 kB / 0.7117 GB, free: 4.703 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001966/1.992, allocations: 344 kB / 0.712 GB, free: 4.367 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 505 * Number of states: 0 () * Number of discrete variables: 30 (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.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 (720): * Single equations (assignments): 713 * 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.002526/1.995, allocations: 0.5366 MB / 0.7125 GB, free: 3.82 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001239/1.996, allocations: 304 kB / 0.7128 GB, free: 3.52 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3847/2.381, allocations: 6.563 MB / 0.7192 GB, free: 136.4 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001355/2.381, allocations: 53.22 kB / 0.7193 GB, free: 136.4 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-05/2.381, allocations: 3.969 kB / 0.7193 GB, free: 136.4 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.471e-05/2.381, allocations: 12.64 kB / 0.7193 GB, free: 136.4 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04053/2.422, allocations: 13.99 MB / 0.733 GB, free: 135.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-05/2.422, allocations: 14.48 kB / 0.733 GB, free: 135.7 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004312/2.426, allocations: 452.7 kB / 0.7334 GB, free: 135.7 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006044/2.432, allocations: 1.211 MB / 0.7346 GB, free: 135.7 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007188/2.433, allocations: 61.42 kB / 0.7347 GB, free: 135.7 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0134/2.446, allocations: 6.516 MB / 0.741 GB, free: 133.3 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.02e-05/2.446, allocations: 12.91 kB / 0.741 GB, free: 133.3 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02429/2.471, allocations: 10.39 MB / 0.7512 GB, free: 129 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003073/2.474, allocations: 0.8263 MB / 0.752 GB, free: 128.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001019/2.475, allocations: 47.25 kB / 0.752 GB, free: 128.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003501/2.478, allocations: 209.9 kB / 0.7522 GB, free: 128.6 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009342/2.479, allocations: 158 kB / 0.7524 GB, free: 128.6 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003156/2.48, allocations: 82.78 kB / 0.7525 GB, free: 128.6 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.004152/2.484, allocations: 1.831 MB / 0.7542 GB, free: 127.9 MB / 0.4949 GB Notification: Performance of sort global known variables: time 8.42e-07/2.484, allocations: 0 / 0.7542 GB, free: 127.9 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.007629/2.491, allocations: 1.136 MB / 0.7554 GB, free: 127.8 MB / 0.4949 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.02579/2.517, allocations: 12.77 MB / 0.7678 GB, free: 121.3 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01527/2.533, allocations: 6.648 MB / 0.7743 GB, free: 116.6 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.761e-05/2.533, allocations: 4 kB / 0.7743 GB, free: 116.6 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.006199/2.539, allocations: 2.705 MB / 0.777 GB, free: 114.1 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003154/2.542, allocations: 357.5 kB / 0.7773 GB, free: 113.8 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0327/2.575, allocations: 11.17 MB / 0.7882 GB, free: 104.1 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006943/2.582, allocations: 3.687 MB / 0.7918 GB, free: 101.3 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.009105/2.591, allocations: 2.204 MB / 0.794 GB, free: 99.98 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005075/2.596, allocations: 2.101 MB / 0.796 GB, free: 98.05 MB / 0.4949 GB Notification: Performance of SimCode: time 1.512e-06/2.596, allocations: 0 / 0.796 GB, free: 98.05 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1782/2.774, allocations: 79.96 MB / 0.8741 GB, free: 21.8 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/2.775, allocations: 170.7 kB / 0.8743 GB, free: 21.57 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.105/7.88, allocations: 5.969 kB / 0.8743 GB, free: 21.57 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal_res.mat does not exist to compare? outputFormat=mat