Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.422/2.422, allocations: 235.1 MB / 242.2 MB, free: 15.69 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.551e-05/2.585e-05, allocations: 4 kB / 299.5 MB, free: 6.355 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3767, allocations: 54.87 MB / 354.4 MB, free: 28 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1702/0.547, allocations: 91.34 MB / 445.7 MB, free: 4.551 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.5473, allocations: 75.95 kB / 445.8 MB, free: 4.477 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1901/0.7374, allocations: 33.84 MB / 479.6 MB, free: 2.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.7375, allocations: 4 kB / 479.6 MB, free: 2.316 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.84e-05/0.7376, allocations: 36 kB / 479.6 MB, free: 2.281 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: 694 * Number of variables: 694 Notification: Performance of Generate backend data structure: time 0.008274/0.7459, allocations: 2.188 MB / 481.8 MB, free: 44 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.746, allocations: 8.031 kB / 481.8 MB, free: 36 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3086/1.055, allocations: 382.3 kB / 482.2 MB, free: 99.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00479/1.059, allocations: 1.134 MB / 483.3 MB, free: 99.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002026/1.06, allocations: 62.69 kB / 483.4 MB, free: 99.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001136/1.061, allocations: 110.1 kB / 483.5 MB, free: 99.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006886/1.068, allocations: 2.744 MB / 486.3 MB, free: 99.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008731/1.076, allocations: 3.767 MB / 490 MB, free: 98.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-05/1.077, allocations: 14.03 kB / 490 MB, free: 98.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003056/1.077, allocations: 10.86 kB / 490.1 MB, free: 98.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001524/1.078, allocations: 0.5162 MB / 490.6 MB, free: 98.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03005/1.109, allocations: 15.53 MB / 0.4942 GB, free: 90.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/1.11, allocations: 0.8432 MB / 0.4951 GB, free: 90.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/1.112, allocations: 0.6592 MB / 0.4957 GB, free: 89.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006919/1.118, allocations: 3.487 MB / 0.4991 GB, free: 87.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/1.119, allocations: 44.95 kB / 0.4992 GB, free: 87.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 4.548e-06/1.119, allocations: 6.281 kB / 0.4992 GB, free: 87.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.005722/1.124, allocations: 1.059 MB / 0.5002 GB, free: 87.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/1.124, allocations: 106.7 kB / 0.5003 GB, free: 87.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002251/1.127, allocations: 1.263 MB / 0.5015 GB, free: 86.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.793e-05/1.127, allocations: 25.7 kB / 0.5016 GB, free: 86.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009203/1.128, allocations: 1.471 MB / 0.503 GB, free: 85.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/1.128, allocations: 141.2 kB / 0.5031 GB, free: 85.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.629e-05/1.128, allocations: 0 / 0.5031 GB, free: 85.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002438/1.128, allocations: 445.8 kB / 0.5035 GB, free: 84.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009543/1.129, allocations: 469.5 kB / 0.504 GB, free: 84.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/1.131, allocations: 2.061 MB / 0.506 GB, free: 82.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001809/1.133, allocations: 0.9366 MB / 0.5069 GB, free: 81.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.478e-05/1.133, allocations: 20 kB / 0.5069 GB, free: 81.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.004985/1.138, allocations: 2.136 MB / 0.509 GB, free: 79.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.36e-05/1.138, allocations: 32 kB / 0.5091 GB, free: 79.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-05/1.138, allocations: 56 kB / 0.5091 GB, free: 79.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001059/1.138, allocations: 87.95 kB / 0.5092 GB, free: 79.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003055/1.141, allocations: 0.5671 MB / 0.5097 GB, free: 78.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.535e-05/1.141, allocations: 113.7 kB / 0.5099 GB, free: 78.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002366/1.144, allocations: 287 kB / 0.5101 GB, free: 78.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002794/1.144, allocations: 152 kB / 0.5103 GB, free: 78.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 265 * Number of states: 0 () * Number of discrete variables: 30 (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.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 (307): * Single equations (assignments): 307 * 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.0003872/1.144, allocations: 262.4 kB / 0.5105 GB, free: 77.95 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007765/1.145, allocations: 380.3 kB / 0.5109 GB, free: 77.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/1.145, allocations: 126.4 kB / 0.511 GB, free: 77.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003178/1.146, allocations: 135.5 kB / 0.5111 GB, free: 77.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/1.146, allocations: 6.344 kB / 0.5111 GB, free: 77.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.146, allocations: 4.062 kB / 0.5111 GB, free: 77.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/1.146, allocations: 7.422 kB / 0.5112 GB, free: 77.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004778/1.151, allocations: 2.501 MB / 0.5136 GB, free: 75.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/1.151, allocations: 8 kB / 0.5136 GB, free: 75.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004836/1.151, allocations: 74.48 kB / 0.5137 GB, free: 75.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.775e-05/1.151, allocations: 15.94 kB / 0.5137 GB, free: 75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/1.151, allocations: 8 kB / 0.5137 GB, free: 74.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.327e-05/1.151, allocations: 16 kB / 0.5137 GB, free: 74.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.157e-05/1.151, allocations: 11.94 kB / 0.5137 GB, free: 74.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/1.153, allocations: 1.188 MB / 0.5149 GB, free: 73.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004042/1.153, allocations: 207.2 kB / 0.5151 GB, free: 73.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002369/1.153, allocations: 19.94 kB / 0.5151 GB, free: 73.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000714/1.154, allocations: 20 kB / 0.5151 GB, free: 73.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.656e-05/1.154, allocations: 46.69 kB / 0.5152 GB, free: 73.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.174e-05/1.154, allocations: 20 kB / 0.5152 GB, free: 73.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001564/1.156, allocations: 0.8288 MB / 0.516 GB, free: 72.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.62e-07/1.156, allocations: 0 / 0.516 GB, free: 72.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002945/1.159, allocations: 456.4 kB / 0.5164 GB, free: 71.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * 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.001918/1.161, allocations: 4.141 MB / 0.5205 GB, free: 67.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002542/1.163, allocations: 1.122 MB / 0.5216 GB, free: 66.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.394e-05/1.163, allocations: 4.688 kB / 0.5216 GB, free: 66.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003711/1.164, allocations: 172.5 kB / 0.5217 GB, free: 66.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/1.165, allocations: 127 kB / 0.5219 GB, free: 66.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009638/1.174, allocations: 3.135 MB / 0.5249 GB, free: 63.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002467/1.177, allocations: 1.724 MB / 0.5266 GB, free: 62.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002914/1.18, allocations: 0.6206 MB / 0.5272 GB, free: 61.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001469/1.181, allocations: 0.7437 MB / 0.5279 GB, free: 60.96 MB / 410.7 MB Notification: Performance of SimCode: time 2.174e-06/1.181, allocations: 0 / 0.5279 GB, free: 60.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08968/1.271, allocations: 22.91 MB / 0.5503 GB, free: 39.04 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/1.271, allocations: 123.6 kB / 0.5504 GB, free: 38.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.267/4.539, allocations: 0 / 0.5504 GB, free: 38.86 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS_res.mat does not exist to compare? outputFormat=mat