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 1.99/1.99, allocations: 209.4 MB / 216.5 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.099e-05/3.128e-05, allocations: 0 / 267.6 MB, free: 4.941 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1235, allocations: 48.7 MB / 316.3 MB, free: 4.152 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4504/0.574, allocations: 89.67 MB / 406 MB, free: 2.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.5743, allocations: 72.59 kB / 406.1 MB, free: 2.895 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6786/1.253, allocations: 92.4 MB / 498.5 MB, free: 88.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.964e-06/1.253, allocations: 0 / 498.5 MB, free: 88.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000239/1.253, allocations: 84.19 kB / 498.5 MB, free: 88.79 MB / 410.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.01975/1.273, allocations: 4.24 MB / 0.491 GB, free: 87.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/1.273, allocations: 10 kB / 0.491 GB, free: 87.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02961/1.303, allocations: 3.609 MB / 0.4945 GB, free: 86.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01769/1.32, allocations: 4.454 MB / 0.4989 GB, free: 86.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004642/1.321, allocations: 144.5 kB / 0.499 GB, free: 86.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003258/1.324, allocations: 261.5 kB / 0.4993 GB, free: 86.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02013/1.344, allocations: 8.169 MB / 0.5073 GB, free: 86.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0304/1.375, allocations: 10.71 MB / 0.5177 GB, free: 84.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002998/1.375, allocations: 32.7 kB / 0.5177 GB, free: 84.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002857/1.378, allocations: 18.53 kB / 0.5178 GB, free: 84.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002942/1.381, allocations: 1.334 MB / 0.5191 GB, free: 84.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07839/1.459, allocations: 38.76 MB / 0.5569 GB, free: 62.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008185/1.468, allocations: 5.096 MB / 0.5619 GB, free: 60.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005253/1.473, allocations: 2.922 MB / 0.5647 GB, free: 58.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002176/1.475, allocations: 1.889 MB / 0.5666 GB, free: 55.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/1.475, allocations: 64.31 kB / 0.5666 GB, free: 55.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=264): time 7.073e-06/1.475, allocations: 0 / 0.5666 GB, free: 55.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=285): time 0.0549/1.53, allocations: 16.7 MB / 0.583 GB, free: 41.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/1.53, allocations: 73.41 kB / 0.583 GB, free: 41.47 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004626/1.535, allocations: 2.448 MB / 0.5854 GB, free: 39.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007008/1.536, allocations: 29.7 kB / 0.5854 GB, free: 39.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002126/1.538, allocations: 3.068 MB / 0.5884 GB, free: 36.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001542/1.539, allocations: 1.005 MB / 0.5894 GB, free: 35.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006456/1.54, allocations: 4 kB / 0.5894 GB, free: 35.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004106/1.54, allocations: 0.5713 MB / 0.59 GB, free: 35.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009609/1.55, allocations: 2.722 MB / 0.5926 GB, free: 32.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01105/1.561, allocations: 6.1 MB / 0.5986 GB, free: 25.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01163/1.573, allocations: 4.098 MB / 0.6026 GB, free: 21.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002319/1.573, allocations: 32 kB / 0.6026 GB, free: 21.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=831) (initialization): time 0.02875/1.602, allocations: 9.431 MB / 0.6118 GB, free: 12.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.978e-05/1.602, allocations: 58.34 kB / 0.6119 GB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001266/1.602, allocations: 116 kB / 0.612 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006113/1.608, allocations: 1.39 MB / 0.6134 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009585/1.618, allocations: 1.47 MB / 0.6148 GB, free: 9.836 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01342/1.631, allocations: 6.804 MB / 0.6214 GB, free: 2.918 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007062/1.639, allocations: 299.7 kB / 0.6217 GB, free: 2.625 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001418/1.64, allocations: 364 kB / 0.6221 GB, free: 2.27 MB / 410.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.001239/1.641, allocations: 412.1 kB / 0.6225 GB, free: 1.859 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01837/1.66, allocations: 5.777 MB / 0.6281 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001235/1.661, allocations: 292.2 kB / 0.6284 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01976/1.681, allocations: 6.417 MB / 0.6347 GB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001184/1.681, allocations: 44 kB / 0.6347 GB, free: 5.227 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/1.681, allocations: 4 kB / 0.6347 GB, free: 5.223 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.14e-05/1.681, allocations: 11.95 kB / 0.6347 GB, free: 5.211 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3666/2.048, allocations: 12.82 MB / 0.6472 GB, free: 92.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.235e-05/2.048, allocations: 8.797 kB / 0.6472 GB, free: 92.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004521/2.052, allocations: 460.3 kB / 0.6477 GB, free: 92.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006601/2.059, allocations: 1.205 MB / 0.6488 GB, free: 92.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007421/2.06, allocations: 20.59 kB / 0.6489 GB, free: 92.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01344/2.073, allocations: 6.151 MB / 0.6549 GB, free: 91.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.75e-05/2.073, allocations: 11.59 kB / 0.6549 GB, free: 91.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02422/2.097, allocations: 10.27 MB / 0.6649 GB, free: 89.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003106/2.101, allocations: 0.8071 MB / 0.6657 GB, free: 89.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001254/2.102, allocations: 11.41 kB / 0.6657 GB, free: 89.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003586/2.105, allocations: 168.8 kB / 0.6659 GB, free: 89.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009645/2.107, allocations: 175 kB / 0.666 GB, free: 89.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003231/2.107, allocations: 77.72 kB / 0.6661 GB, free: 89.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003606/2.11, allocations: 1.599 MB / 0.6677 GB, free: 89.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.61e-07/2.111, allocations: 0 / 0.6677 GB, free: 89.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007888/2.118, allocations: 0.9923 MB / 0.6686 GB, free: 89.46 MB / 426.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.03083/2.149, allocations: 12.77 MB / 0.6811 GB, free: 84.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01424/2.164, allocations: 6.645 MB / 0.6876 GB, free: 82.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/2.164, allocations: 3.812 kB / 0.6876 GB, free: 82.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005518/2.169, allocations: 2.68 MB / 0.6902 GB, free: 81.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/2.172, allocations: 238 kB / 0.6905 GB, free: 81.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03154/2.203, allocations: 10.93 MB / 0.7011 GB, free: 77.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006025/2.209, allocations: 3.671 MB / 0.7047 GB, free: 76.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.009104/2.219, allocations: 2.308 MB / 0.707 GB, free: 76.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00621/2.225, allocations: 2.081 MB / 0.709 GB, free: 74.49 MB / 426.7 MB Notification: Performance of SimCode: time 1.643e-06/2.225, allocations: 0 / 0.709 GB, free: 74.49 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1914/2.416, allocations: 75.23 MB / 0.7825 GB, free: 8.543 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002859/2.417, allocations: 124.8 kB / 0.7826 GB, free: 8.355 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.79/7.206, allocations: 0 / 0.7826 GB, free: 8.355 MB / 426.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