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.244/2.244, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.758e-05/3.781e-05, allocations: 4 kB / 273.1 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1246, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5002/0.6249, allocations: 90.09 MB / 412 MB, free: 15.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/0.6253, allocations: 79.22 kB / 412 MB, free: 15.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.464/1.089, allocations: 94.28 MB / 0.4944 GB, free: 424 kB / 426.7 MB Notification: Performance of FrontEnd: time 3.166e-06/1.089, allocations: 0 / 0.4944 GB, free: 424 kB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003423/1.09, allocations: 79.94 kB / 0.4945 GB, free: 344 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.4162/1.506, allocations: 4.231 MB / 0.4986 GB, free: 97.31 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.236e-05/1.506, allocations: 10.94 kB / 0.4987 GB, free: 97.31 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00507/1.511, allocations: 0.8807 MB / 0.4995 GB, free: 97.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02974/1.541, allocations: 3.608 MB / 0.503 GB, free: 96.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0189/1.56, allocations: 4.458 MB / 0.5074 GB, free: 96.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006683/1.561, allocations: 339.7 kB / 0.5077 GB, free: 96.58 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003414/1.564, allocations: 447.2 kB / 0.5081 GB, free: 96.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04064/1.605, allocations: 11.64 MB / 0.5195 GB, free: 95.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002862/1.605, allocations: 31.5 kB / 0.5195 GB, free: 95.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002712/1.608, allocations: 203.6 kB / 0.5197 GB, free: 95.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002818/1.611, allocations: 1.33 MB / 0.521 GB, free: 95.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03244/1.643, allocations: 11.22 MB / 0.532 GB, free: 94.42 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0857/1.729, allocations: 41.34 MB / 0.5724 GB, free: 69.69 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0195/1.748, allocations: 5.924 MB / 0.5782 GB, free: 67.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006084/1.755, allocations: 2.982 MB / 0.5811 GB, free: 65.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002293/1.757, allocations: 1.88 MB / 0.5829 GB, free: 63.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.861e-05/1.757, allocations: 62.77 kB / 0.583 GB, free: 62.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=262): time 7.333e-06/1.757, allocations: 0 / 0.583 GB, free: 62.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=283): time 0.07174/1.829, allocations: 16.61 MB / 0.5992 GB, free: 49.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/1.829, allocations: 77.41 kB / 0.5993 GB, free: 49.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005952/1.835, allocations: 2.661 MB / 0.6019 GB, free: 46.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007817/1.836, allocations: 61.7 kB / 0.6019 GB, free: 46.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002492/1.838, allocations: 2.995 MB / 0.6048 GB, free: 43.97 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001703/1.84, allocations: 1.021 MB / 0.6058 GB, free: 43.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007684/1.841, allocations: 116 kB / 0.606 GB, free: 42.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004449/1.841, allocations: 0.5613 MB / 0.6065 GB, free: 42.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006883/1.848, allocations: 2.761 MB / 0.6092 GB, free: 39.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009188/1.857, allocations: 5.915 MB / 0.615 GB, free: 32.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009233/1.867, allocations: 4.075 MB / 0.619 GB, free: 29.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001141/1.867, allocations: 32 kB / 0.619 GB, free: 29.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=787) (initialization): time 0.02943/1.896, allocations: 9.859 MB / 0.6286 GB, free: 20.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/1.897, allocations: 52 kB / 0.6287 GB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00019/1.897, allocations: 116.2 kB / 0.6288 GB, free: 20.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00856/1.905, allocations: 1.386 MB / 0.6301 GB, free: 18.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01285/1.918, allocations: 1.384 MB / 0.6315 GB, free: 17.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02052/1.939, allocations: 7.178 MB / 0.6385 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01023/1.949, allocations: 403.7 kB / 0.6389 GB, free: 9.676 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001865/1.951, allocations: 344 kB / 0.6392 GB, free: 9.34 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.002662/1.954, allocations: 0.5247 MB / 0.6397 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/1.955, allocations: 312 kB / 0.64 GB, free: 8.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02572/1.981, allocations: 6.576 MB / 0.6464 GB, free: 1.867 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001225/1.981, allocations: 51.89 kB / 0.6465 GB, free: 1.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.718e-05/1.981, allocations: 7.562 kB / 0.6465 GB, free: 1.816 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.627e-05/1.981, allocations: 11.95 kB / 0.6465 GB, free: 1.805 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04712/2.028, allocations: 14 MB / 0.6602 GB, free: 3.672 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.168e-05/2.028, allocations: 8 kB / 0.6602 GB, free: 3.664 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004703/2.033, allocations: 459.4 kB / 0.6606 GB, free: 3.215 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006832/2.04, allocations: 1.212 MB / 0.6618 GB, free: 2.004 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008092/2.041, allocations: 55.69 kB / 0.6618 GB, free: 1.953 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3729/2.413, allocations: 6.512 MB / 0.6682 GB, free: 101.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.805e-05/2.414, allocations: 13.28 kB / 0.6682 GB, free: 101.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02913/2.443, allocations: 10.37 MB / 0.6783 GB, free: 100 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003602/2.446, allocations: 0.8177 MB / 0.6791 GB, free: 99.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00143/2.448, allocations: 55.88 kB / 0.6792 GB, free: 99.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004165/2.452, allocations: 202.6 kB / 0.6794 GB, free: 99.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001083/2.453, allocations: 164.7 kB / 0.6796 GB, free: 99.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003764/2.454, allocations: 78.25 kB / 0.6796 GB, free: 99.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005585/2.459, allocations: 1.814 MB / 0.6814 GB, free: 99.73 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.102e-06/2.459, allocations: 0 / 0.6814 GB, free: 99.73 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008459/2.468, allocations: 1.138 MB / 0.6825 GB, free: 99.73 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.02705/2.495, allocations: 12.77 MB / 0.695 GB, free: 96.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01616/2.511, allocations: 6.822 MB / 0.7016 GB, free: 94.58 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.414e-05/2.511, allocations: 3.594 kB / 0.7016 GB, free: 94.58 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006488/2.518, allocations: 2.734 MB / 0.7043 GB, free: 93.57 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003288/2.521, allocations: 364.2 kB / 0.7047 GB, free: 93.42 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03518/2.556, allocations: 11.15 MB / 0.7155 GB, free: 89.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008002/2.564, allocations: 3.672 MB / 0.7191 GB, free: 88.16 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009631/2.574, allocations: 2.196 MB / 0.7213 GB, free: 88.12 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005698/2.58, allocations: 2.093 MB / 0.7233 GB, free: 86.41 MB / 442.7 MB Notification: Performance of SimCode: time 2.244e-06/2.58, allocations: 0 / 0.7233 GB, free: 86.41 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1828/2.763, allocations: 80.14 MB / 0.8016 GB, free: 25.36 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002654/2.763, allocations: 172 kB / 0.8018 GB, free: 25.13 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.951/7.714, allocations: 0 / 0.8018 GB, free: 25.13 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