Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.546/2.546, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.947e-05/3.959e-05, allocations: 4 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.3981, allocations: 58.83 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1958/0.5939, allocations: 107.5 MB / 489.8 MB, free: 0.9258 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/0.5943, allocations: 79.95 kB / 489.8 MB, free: 0.8477 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.6363/1.231, allocations: 75.13 MB / 0.5517 GB, free: 110.8 MB / 458.8 MB Notification: Performance of FrontEnd: time 3.497e-06/1.231, allocations: 0 / 0.5517 GB, free: 110.8 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0001869/1.231, allocations: 77.91 kB / 0.5518 GB, free: 110.8 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: 1292 * Number of variables: 1292 Notification: Performance of Generate backend data structure: time 0.01388/1.245, allocations: 3.598 MB / 0.5553 GB, free: 109.3 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/1.245, allocations: 10.19 kB / 0.5553 GB, free: 109.3 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002659/1.248, allocations: 0.6564 MB / 0.556 GB, free: 109.3 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00588/1.253, allocations: 0.6624 MB / 0.5566 GB, free: 109 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007741/1.261, allocations: 2.214 MB / 0.5588 GB, free: 108.5 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003431/1.262, allocations: 294.8 kB / 0.5591 GB, free: 108.5 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00188/1.264, allocations: 387.4 kB / 0.5594 GB, free: 108.4 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03359/1.297, allocations: 8.427 MB / 0.5677 GB, free: 104.9 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001881/1.297, allocations: 15.5 kB / 0.5677 GB, free: 104.9 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001704/1.299, allocations: 178 kB / 0.5678 GB, free: 104.8 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002371/1.301, allocations: 0.7946 MB / 0.5686 GB, free: 104.4 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02309/1.325, allocations: 6.546 MB / 0.575 GB, free: 98.69 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05266/1.377, allocations: 27.82 MB / 0.6022 GB, free: 70.9 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01011/1.387, allocations: 1.907 MB / 0.604 GB, free: 68.95 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001721/1.389, allocations: 0.8062 MB / 0.6048 GB, free: 68.14 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0113/1.401, allocations: 6.356 MB / 0.611 GB, free: 61.29 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/1.401, allocations: 47.28 kB / 0.6111 GB, free: 61.23 MB / 458.8 MB Notification: Performance of pre-optimization done (n=77): time 3.647e-06/1.401, allocations: 0 / 0.6111 GB, free: 61.23 MB / 458.8 MB Notification: Performance of matching and sorting (n=95): time 0.02624/1.427, allocations: 5.83 MB / 0.6168 GB, free: 55.36 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/1.427, allocations: 145.2 kB / 0.6169 GB, free: 55.18 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004462/1.431, allocations: 2.203 MB / 0.6191 GB, free: 52.95 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002585/1.432, allocations: 41.7 kB / 0.6191 GB, free: 52.91 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001932/1.434, allocations: 2.401 MB / 0.6214 GB, free: 50.5 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005085/1.434, allocations: 386.1 kB / 0.6218 GB, free: 50.12 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003815/1.435, allocations: 76 kB / 0.6219 GB, free: 50.05 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0002341/1.435, allocations: 466 kB / 0.6223 GB, free: 49.59 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00223/1.437, allocations: 0.9095 MB / 0.6232 GB, free: 48.68 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003964/1.441, allocations: 3.196 MB / 0.6263 GB, free: 44.33 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003783/1.445, allocations: 1.684 MB / 0.628 GB, free: 42.65 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.832e-05/1.445, allocations: 20 kB / 0.628 GB, free: 42.63 MB / 458.8 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.01014/1.455, allocations: 3.794 MB / 0.6317 GB, free: 38.83 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.583e-05/1.455, allocations: 46.28 kB / 0.6317 GB, free: 38.79 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000101/1.456, allocations: 84 kB / 0.6318 GB, free: 38.71 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001508/1.456, allocations: 120 kB / 0.6319 GB, free: 38.59 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005556/1.461, allocations: 0.8968 MB / 0.6328 GB, free: 37.69 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001621/1.461, allocations: 163.4 kB / 0.633 GB, free: 37.53 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003856/1.465, allocations: 175.8 kB / 0.6331 GB, free: 37.36 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007787/1.466, allocations: 228 kB / 0.6334 GB, free: 37.14 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * Number of states: 0 () * Number of discrete variables: 40 (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.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 (483): * Single equations (assignments): 483 * 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.0006681/1.467, allocations: 415 kB / 0.6338 GB, free: 36.72 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005212/1.467, allocations: 225.1 kB / 0.634 GB, free: 36.5 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002667/1.47, allocations: 1.112 MB / 0.6351 GB, free: 35.38 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.562e-05/1.47, allocations: 8 kB / 0.6351 GB, free: 35.37 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/1.47, allocations: 4 kB / 0.6351 GB, free: 35.37 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-05/1.47, allocations: 3.984 kB / 0.6351 GB, free: 35.36 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01433/1.485, allocations: 6.09 MB / 0.641 GB, free: 28.94 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.571e-05/1.485, allocations: 23.95 kB / 0.641 GB, free: 28.92 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/1.486, allocations: 247.5 kB / 0.6413 GB, free: 28.68 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.946e-05/1.486, allocations: 28 kB / 0.6413 GB, free: 28.65 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/1.486, allocations: 48 kB / 0.6414 GB, free: 28.6 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.829e-05/1.486, allocations: 35.86 kB / 0.6414 GB, free: 28.57 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-05/1.486, allocations: 31.88 kB / 0.6414 GB, free: 28.54 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003464/1.49, allocations: 3.771 MB / 0.6451 GB, free: 24.08 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009012/1.491, allocations: 322 kB / 0.6454 GB, free: 23.75 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005156/1.491, allocations: 55.97 kB / 0.6455 GB, free: 23.69 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001604/1.493, allocations: 47.94 kB / 0.6455 GB, free: 23.64 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000243/1.493, allocations: 146.5 kB / 0.6456 GB, free: 23.5 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/1.493, allocations: 60 kB / 0.6457 GB, free: 23.45 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.003843/1.497, allocations: 1.592 MB / 0.6473 GB, free: 21.84 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.222e-06/1.497, allocations: 0 / 0.6473 GB, free: 21.84 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.004825/1.502, allocations: 0.6523 MB / 0.6479 GB, free: 21.19 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 133 * 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.004775/1.507, allocations: 9.616 MB / 0.6573 GB, free: 10.94 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.005054/1.512, allocations: 2.131 MB / 0.6594 GB, free: 8.824 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.407e-05/1.512, allocations: 5.75 kB / 0.6594 GB, free: 8.82 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001241/1.513, allocations: 0.5345 MB / 0.6599 GB, free: 8.289 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/1.516, allocations: 303.1 kB / 0.6602 GB, free: 7.992 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01953/1.535, allocations: 6.633 MB / 0.6667 GB, free: 1.043 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005764/1.541, allocations: 2.828 MB / 0.6694 GB, free: 14.19 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.005403/1.547, allocations: 1.013 MB / 0.6704 GB, free: 13.18 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003567/1.55, allocations: 1.468 MB / 0.6718 GB, free: 11.71 MB / 474.8 MB Notification: Performance of SimCode: time 1.573e-06/1.55, allocations: 3.938 kB / 0.6718 GB, free: 11.7 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5019/2.052, allocations: 48.3 MB / 0.719 GB, free: 132.9 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002699/2.053, allocations: 143.7 kB / 0.7192 GB, free: 132.6 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.077/6.129, allocations: 0 / 0.7192 GB, free: 132.6 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP_res.mat does not exist to compare? outputFormat=mat