Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.352/2.352, allocations: 235.1 MB / 242.2 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.847e-05/2.855e-05, allocations: 4 kB / 299.5 MB, free: 6.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3728, allocations: 54.85 MB / 354.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1777/0.5506, allocations: 99.4 MB / 453.7 MB, free: 14.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.5509, allocations: 75.95 kB / 453.8 MB, free: 14.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6208/1.172, allocations: 72.7 MB / 0.5142 GB, free: 100.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.294e-06/1.172, allocations: 0 / 0.5142 GB, free: 100.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001777/1.172, allocations: 73.81 kB / 0.5142 GB, free: 100.7 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: 1289 * Number of variables: 1289 Notification: Performance of Generate backend data structure: time 0.01326/1.185, allocations: 3.583 MB / 0.5177 GB, free: 99.24 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/1.185, allocations: 10.97 kB / 0.5178 GB, free: 99.24 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005841/1.191, allocations: 0.6606 MB / 0.5184 GB, free: 99.01 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00736/1.199, allocations: 2.186 MB / 0.5205 GB, free: 98.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/1.199, allocations: 128.3 kB / 0.5207 GB, free: 98.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001521/1.2, allocations: 224.9 kB / 0.5209 GB, free: 98.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01224/1.213, allocations: 5.227 MB / 0.526 GB, free: 96.63 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01841/1.231, allocations: 6.882 MB / 0.5327 GB, free: 93.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00015/1.231, allocations: 19.81 kB / 0.5327 GB, free: 93.24 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001259/1.233, allocations: 15.95 kB / 0.5327 GB, free: 93.22 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002374/1.235, allocations: 0.7907 MB / 0.5335 GB, free: 92.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04995/1.285, allocations: 25.96 MB / 0.5588 GB, free: 66.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002522/1.288, allocations: 1.115 MB / 0.5599 GB, free: 65.61 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/1.289, allocations: 0.7359 MB / 0.5607 GB, free: 64.87 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01029/1.299, allocations: 5.931 MB / 0.5664 GB, free: 58.49 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/1.299, allocations: 47.02 kB / 0.5665 GB, free: 58.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=67): time 4.158e-06/1.299, allocations: 3.938 kB / 0.5665 GB, free: 58.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=76): time 0.01464/1.314, allocations: 4.646 MB / 0.571 GB, free: 53.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/1.314, allocations: 145 kB / 0.5712 GB, free: 53.56 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003766/1.318, allocations: 1.917 MB / 0.573 GB, free: 51.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002296/1.318, allocations: 25.7 kB / 0.5731 GB, free: 51.58 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003225/1.321, allocations: 2.463 MB / 0.5755 GB, free: 49.08 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007617/1.322, allocations: 328.2 kB / 0.5758 GB, free: 48.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004436/1.323, allocations: 0 / 0.5758 GB, free: 48.76 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004428/1.323, allocations: 470 kB / 0.5762 GB, free: 48.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003414/1.327, allocations: 0.8275 MB / 0.577 GB, free: 47.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0053/1.332, allocations: 3.19 MB / 0.5802 GB, free: 43.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005159/1.337, allocations: 1.6 MB / 0.5817 GB, free: 41.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001015/1.337, allocations: 28 kB / 0.5817 GB, free: 41.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=488) (initialization): time 0.01423/1.352, allocations: 3.49 MB / 0.5852 GB, free: 37.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/1.352, allocations: 43.98 kB / 0.5852 GB, free: 37.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000153/1.352, allocations: 88 kB / 0.5853 GB, free: 37.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000216/1.352, allocations: 124.8 kB / 0.5854 GB, free: 37.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008243/1.361, allocations: 0.9085 MB / 0.5863 GB, free: 36.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001861/1.361, allocations: 171.3 kB / 0.5864 GB, free: 36.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006059/1.367, allocations: 91.89 kB / 0.5865 GB, free: 36.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001219/1.368, allocations: 232 kB / 0.5868 GB, free: 36.31 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 391 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.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 (488): * Single equations (assignments): 488 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001497/1.37, allocations: 333.9 kB / 0.5871 GB, free: 35.97 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003005/1.373, allocations: 0.8245 MB / 0.5879 GB, free: 35.14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000676/1.373, allocations: 196.7 kB / 0.5881 GB, free: 34.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003438/1.377, allocations: 0.9113 MB / 0.589 GB, free: 34.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/1.377, allocations: 8 kB / 0.589 GB, free: 34.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/1.377, allocations: 0 / 0.589 GB, free: 34.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.371e-05/1.377, allocations: 3.984 kB / 0.589 GB, free: 34.01 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01577/1.393, allocations: 4.273 MB / 0.5931 GB, free: 29.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-05/1.393, allocations: 20 kB / 0.5932 GB, free: 29.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002033/1.395, allocations: 207.6 kB / 0.5934 GB, free: 29.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.208e-05/1.395, allocations: 24 kB / 0.5934 GB, free: 29.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001661/1.395, allocations: 20.69 kB / 0.5934 GB, free: 29.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.113e-05/1.395, allocations: 39.86 kB / 0.5934 GB, free: 29.15 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-05/1.395, allocations: 19.94 kB / 0.5935 GB, free: 29.13 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003942/1.399, allocations: 2.852 MB / 0.5962 GB, free: 25.47 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007513/1.4, allocations: 286.3 kB / 0.5965 GB, free: 25.17 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005505/1.401, allocations: 31.94 kB / 0.5965 GB, free: 25.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/1.402, allocations: 19.98 kB / 0.5966 GB, free: 25.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002463/1.403, allocations: 127.5 kB / 0.5967 GB, free: 25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.493e-05/1.403, allocations: 44 kB / 0.5967 GB, free: 24.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003124/1.406, allocations: 1.261 MB / 0.598 GB, free: 23.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.863e-06/1.406, allocations: 3.938 kB / 0.598 GB, free: 23.67 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004992/1.411, allocations: 0.5507 MB / 0.5985 GB, free: 23.12 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004065/1.415, allocations: 8.019 MB / 0.6063 GB, free: 14.58 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00448/1.42, allocations: 1.985 MB / 0.6083 GB, free: 12.61 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.672e-05/1.42, allocations: 0 / 0.6083 GB, free: 12.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000907/1.421, allocations: 451.5 kB / 0.6087 GB, free: 12.17 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/1.422, allocations: 207.9 kB / 0.6089 GB, free: 11.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01963/1.442, allocations: 6.223 MB / 0.615 GB, free: 5.473 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004935/1.447, allocations: 2.801 MB / 0.6177 GB, free: 2.645 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004796/1.452, allocations: 0.9692 MB / 0.6187 GB, free: 1.676 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003243/1.455, allocations: 1.44 MB / 0.6201 GB, free: 240 kB / 426.7 MB Notification: Performance of SimCode: time 2.104e-06/1.455, allocations: 0 / 0.6201 GB, free: 240 kB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1766/1.632, allocations: 42.37 MB / 0.6614 GB, free: 5.965 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002777/1.632, allocations: 131.6 kB / 0.6616 GB, free: 5.77 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4/5.633, allocations: 4 kB / 0.6616 GB, free: 5.766 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP_res.mat does not exist to compare? outputFormat=mat