Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.617/2.617, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.085e-05/4.088e-05, allocations: 8 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.402, allocations: 58.82 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1825/0.5846, allocations: 99.33 MB / 481.6 MB, free: 9.059 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.5849, allocations: 79.89 kB / 481.7 MB, free: 8.98 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.1564/0.7414, allocations: 35.2 MB / 0.5048 GB, free: 5.473 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.863e-06/0.7414, allocations: 4 kB / 0.5048 GB, free: 5.469 MB / 442.8 MB Notification: Performance of Transformations before backend: time 0.0001182/0.7416, allocations: 36 kB / 0.5048 GB, free: 5.434 MB / 442.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.009102/0.7507, allocations: 2.214 MB / 0.507 GB, free: 3.168 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/0.7507, allocations: 12.03 kB / 0.507 GB, free: 3.156 MB / 442.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001428/0.7522, allocations: 367.7 kB / 0.5073 GB, free: 2.789 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003427/0.7556, allocations: 388.7 kB / 0.5077 GB, free: 2.406 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004416/0.7601, allocations: 1.146 MB / 0.5088 GB, free: 1.215 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002462/0.7604, allocations: 147.9 kB / 0.509 GB, free: 1.07 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009682/0.7614, allocations: 195.8 kB / 0.5092 GB, free: 0.8789 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01699/0.7784, allocations: 4.759 MB / 0.5138 GB, free: 11.86 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.446e-05/0.7785, allocations: 15.88 kB / 0.5138 GB, free: 11.84 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004566/0.779, allocations: 91.94 kB / 0.5139 GB, free: 11.75 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001785/0.7808, allocations: 0.5228 MB / 0.5144 GB, free: 11.22 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01481/0.7957, allocations: 3.731 MB / 0.5181 GB, free: 7.488 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3584/1.154, allocations: 16.71 MB / 0.5344 GB, free: 112.5 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007469/1.162, allocations: 1.265 MB / 0.5356 GB, free: 112.5 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001529/1.163, allocations: 0.6887 MB / 0.5363 GB, free: 112.4 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008374/1.172, allocations: 4.082 MB / 0.5403 GB, free: 110.6 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/1.172, allocations: 41.41 kB / 0.5403 GB, free: 110.6 MB / 458.8 MB Notification: Performance of pre-optimization done (n=41): time 2.946e-06/1.172, allocations: 0 / 0.5403 GB, free: 110.6 MB / 458.8 MB Notification: Performance of matching and sorting (n=41): time 0.01003/1.182, allocations: 1.474 MB / 0.5418 GB, free: 110.4 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/1.182, allocations: 112.9 kB / 0.5419 GB, free: 110.3 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002866/1.185, allocations: 1.406 MB / 0.5432 GB, free: 110.1 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 9.688e-05/1.185, allocations: 36.23 kB / 0.5433 GB, free: 110.1 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001095/1.186, allocations: 1.402 MB / 0.5446 GB, free: 109.4 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002633/1.186, allocations: 186.3 kB / 0.5448 GB, free: 109.4 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/1.186, allocations: 40.94 kB / 0.5449 GB, free: 109.4 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0002558/1.187, allocations: 465.9 kB / 0.5453 GB, free: 109 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/1.188, allocations: 0.4903 MB / 0.5458 GB, free: 109 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002052/1.19, allocations: 2.014 MB / 0.5477 GB, free: 107 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00207/1.192, allocations: 0.9626 MB / 0.5487 GB, free: 107 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.776e-05/1.192, allocations: 15.69 kB / 0.5487 GB, free: 107 MB / 458.8 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.006056/1.198, allocations: 2.255 MB / 0.5509 GB, free: 106.8 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.346e-05/1.198, allocations: 28.91 kB / 0.5509 GB, free: 106.8 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.97e-05/1.198, allocations: 56.03 kB / 0.551 GB, free: 106.8 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001064/1.199, allocations: 78.81 kB / 0.5511 GB, free: 106.8 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003109/1.202, allocations: 0.544 MB / 0.5516 GB, free: 106.8 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001055/1.202, allocations: 116.5 kB / 0.5517 GB, free: 106.8 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002624/1.204, allocations: 337.9 kB / 0.552 GB, free: 106.6 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004018/1.205, allocations: 144.7 kB / 0.5522 GB, free: 106.6 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 253 * Number of states: 0 () * Number of discrete variables: 33 (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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[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 (295): * Single equations (assignments): 295 * 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.0004521/1.205, allocations: 309.6 kB / 0.5525 GB, free: 106.4 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003229/1.206, allocations: 133.1 kB / 0.5526 GB, free: 106.3 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003786/1.206, allocations: 154.4 kB / 0.5527 GB, free: 106.2 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/1.206, allocations: 3.406 kB / 0.5527 GB, free: 106.2 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/1.206, allocations: 7.953 kB / 0.5527 GB, free: 106.2 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.659e-06/1.206, allocations: 7.266 kB / 0.5527 GB, free: 106.2 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006893/1.213, allocations: 3.198 MB / 0.5559 GB, free: 104.5 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/1.213, allocations: 10.62 kB / 0.5559 GB, free: 104.5 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005721/1.214, allocations: 98.75 kB / 0.556 GB, free: 104.5 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.393e-05/1.214, allocations: 20.44 kB / 0.556 GB, free: 104.5 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.431e-05/1.214, allocations: 17.19 kB / 0.556 GB, free: 104.5 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.99e-05/1.214, allocations: 24.91 kB / 0.556 GB, free: 104.5 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.481e-05/1.214, allocations: 18.22 kB / 0.5561 GB, free: 104.5 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/1.215, allocations: 1.571 MB / 0.5576 GB, free: 102.8 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004335/1.216, allocations: 225.6 kB / 0.5578 GB, free: 102.6 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/1.216, allocations: 30.22 kB / 0.5578 GB, free: 102.6 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008432/1.217, allocations: 22.86 kB / 0.5579 GB, free: 102.6 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/1.217, allocations: 71.94 kB / 0.5579 GB, free: 102.5 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.884e-05/1.217, allocations: 24.34 kB / 0.5579 GB, free: 102.5 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002091/1.219, allocations: 0.9691 MB / 0.5589 GB, free: 102.1 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.022e-06/1.219, allocations: 0 / 0.5589 GB, free: 102.1 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.003039/1.222, allocations: 491.8 kB / 0.5594 GB, free: 102 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 50 * 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.002433/1.225, allocations: 5.389 MB / 0.5646 GB, free: 96.61 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.00274/1.228, allocations: 1.141 MB / 0.5657 GB, free: 96.25 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.805e-05/1.228, allocations: 3.938 kB / 0.5657 GB, free: 96.25 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004996/1.228, allocations: 211.2 kB / 0.5659 GB, free: 96.19 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/1.23, allocations: 171.4 kB / 0.5661 GB, free: 96.11 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01/1.24, allocations: 3.333 MB / 0.5694 GB, free: 94.54 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002029/1.242, allocations: 1.754 MB / 0.5711 GB, free: 93.63 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.002762/1.244, allocations: 0.6159 MB / 0.5717 GB, free: 93.57 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001264/1.246, allocations: 0.7503 MB / 0.5724 GB, free: 92.96 MB / 458.8 MB Notification: Performance of SimCode: time 1.212e-06/1.246, allocations: 0 / 0.5724 GB, free: 92.96 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06881/1.315, allocations: 25.73 MB / 0.5975 GB, free: 72.09 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/1.315, allocations: 149.6 kB / 0.5977 GB, free: 71.86 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.385/4.7, allocations: 0 / 0.5977 GB, free: 71.86 MB / 458.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS_res.mat does not exist to compare? outputFormat=mat