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.411/2.411, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.798e-05/3.804e-05, allocations: 4 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4717/0.4717, allocations: 54.85 MB / 359.9 MB, free: 2.809 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1927/0.6645, allocations: 92.02 MB / 451.9 MB, free: 4.77 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.6649, allocations: 71.97 kB / 452 MB, free: 4.699 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1524/0.8173, allocations: 34.54 MB / 486.5 MB, free: 1.906 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.637e-06/0.8174, allocations: 0 / 486.5 MB, free: 1.906 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001801/0.8176, allocations: 36 kB / 486.5 MB, free: 1.871 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.01062/0.8283, allocations: 2.198 MB / 488.7 MB, free: 15.62 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.8284, allocations: 12.03 kB / 488.8 MB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001488/0.8299, allocations: 367.6 kB / 489.1 MB, free: 15.24 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003184/0.8331, allocations: 380.7 kB / 489.5 MB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004519/0.8376, allocations: 1.131 MB / 490.6 MB, free: 13.69 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002045/0.8379, allocations: 147.9 kB / 490.8 MB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007643/0.8387, allocations: 191.9 kB / 491 MB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01704/0.8557, allocations: 4.754 MB / 495.7 MB, free: 8.344 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.251e-05/0.8559, allocations: 11.88 kB / 495.7 MB, free: 8.332 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004724/0.8563, allocations: 91.91 kB / 495.8 MB, free: 8.242 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001731/0.8581, allocations: 0.5189 MB / 496.3 MB, free: 7.719 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01467/0.8728, allocations: 3.727 MB / 0.4883 GB, free: 3.988 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03735/0.9102, allocations: 16.63 MB / 0.5046 GB, free: 2.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008236/0.9185, allocations: 1.266 MB / 0.5058 GB, free: 1.613 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001735/0.9203, allocations: 0.695 MB / 0.5065 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009649/0.93, allocations: 4.07 MB / 0.5105 GB, free: 12.58 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.42e-05/0.9301, allocations: 38.56 kB / 0.5105 GB, free: 12.54 MB / 458.7 MB Notification: Performance of pre-optimization done (n=41): time 3.697e-06/0.9301, allocations: 0 / 0.5105 GB, free: 12.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=41): time 0.01041/0.9405, allocations: 1.471 MB / 0.5119 GB, free: 11.05 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.052e-05/0.9407, allocations: 110.8 kB / 0.512 GB, free: 10.92 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003171/0.9438, allocations: 1.386 MB / 0.5134 GB, free: 9.527 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.944, allocations: 29.7 kB / 0.5134 GB, free: 9.492 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001503/0.9455, allocations: 1.395 MB / 0.5148 GB, free: 8.074 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003062/0.9459, allocations: 182 kB / 0.515 GB, free: 7.895 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.946, allocations: 48.06 kB / 0.515 GB, free: 7.848 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000361/0.9464, allocations: 451.3 kB / 0.5154 GB, free: 7.398 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/0.9477, allocations: 496.4 kB / 0.5159 GB, free: 6.91 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002669/0.9504, allocations: 1.993 MB / 0.5179 GB, free: 4.148 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002284/0.9527, allocations: 0.9594 MB / 0.5188 GB, free: 3.188 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.89e-05/0.9528, allocations: 16 kB / 0.5188 GB, free: 3.172 MB / 458.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.006171/0.9589, allocations: 2.225 MB / 0.521 GB, free: 0.9414 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.645e-05/0.9591, allocations: 29.72 kB / 0.521 GB, free: 0.9141 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.395e-05/0.9592, allocations: 59.94 kB / 0.5211 GB, free: 0.8555 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001383/0.9594, allocations: 80 kB / 0.5211 GB, free: 0.7773 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00304/0.9624, allocations: 0.5419 MB / 0.5217 GB, free: 240 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001447/0.9626, allocations: 108 kB / 0.5218 GB, free: 132 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3429/1.306, allocations: 334.6 kB / 0.5221 GB, free: 126.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004101/1.306, allocations: 144.9 kB / 0.5222 GB, free: 126.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 250 * 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 (292): * Single equations (assignments): 292 * 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.0004017/1.306, allocations: 304.9 kB / 0.5225 GB, free: 126.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003775/1.307, allocations: 129.3 kB / 0.5226 GB, free: 126.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004577/1.307, allocations: 150.1 kB / 0.5228 GB, free: 126.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/1.307, allocations: 5.031 kB / 0.5228 GB, free: 126.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/1.307, allocations: 2.312 kB / 0.5228 GB, free: 126.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/1.307, allocations: 3.578 kB / 0.5228 GB, free: 126.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00764/1.315, allocations: 3.191 MB / 0.5259 GB, free: 125.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.217e-05/1.315, allocations: 13.92 kB / 0.5259 GB, free: 125.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005996/1.316, allocations: 95.77 kB / 0.526 GB, free: 125.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.073e-05/1.316, allocations: 16.14 kB / 0.526 GB, free: 125.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.011e-05/1.316, allocations: 22.41 kB / 0.5261 GB, free: 125.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-05/1.316, allocations: 23.61 kB / 0.5261 GB, free: 125.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.946e-05/1.316, allocations: 23.23 kB / 0.5261 GB, free: 125.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/1.318, allocations: 1.566 MB / 0.5276 GB, free: 124.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004619/1.318, allocations: 223.1 kB / 0.5278 GB, free: 124 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002206/1.318, allocations: 25.36 kB / 0.5279 GB, free: 124 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008344/1.319, allocations: 22.58 kB / 0.5279 GB, free: 124 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/1.319, allocations: 72.23 kB / 0.528 GB, free: 124 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.103e-05/1.319, allocations: 27.12 kB / 0.528 GB, free: 124 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002185/1.321, allocations: 0.9495 MB / 0.5289 GB, free: 123.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.11e-07/1.322, allocations: 0 / 0.5289 GB, free: 123.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002932/1.324, allocations: 486.7 kB / 0.5294 GB, free: 123.8 MB / 458.7 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.002452/1.327, allocations: 5.363 MB / 0.5346 GB, free: 118.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002985/1.33, allocations: 1.147 MB / 0.5357 GB, free: 118.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.678e-05/1.33, allocations: 1.406 kB / 0.5357 GB, free: 118.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005521/1.331, allocations: 213.1 kB / 0.5359 GB, free: 118.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/1.332, allocations: 166.4 kB / 0.5361 GB, free: 118.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/1.343, allocations: 3.311 MB / 0.5393 GB, free: 117.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002871/1.346, allocations: 1.735 MB / 0.541 GB, free: 116.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003282/1.35, allocations: 0.6072 MB / 0.5416 GB, free: 116.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001607/1.351, allocations: 0.7375 MB / 0.5423 GB, free: 116.8 MB / 458.7 MB Notification: Performance of SimCode: time 1.132e-06/1.351, allocations: 3.938 kB / 0.5423 GB, free: 116.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07532/1.427, allocations: 25.46 MB / 0.5672 GB, free: 114.1 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/1.427, allocations: 146.5 kB / 0.5673 GB, free: 113.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.487/4.914, allocations: 0 / 0.5673 GB, free: 113.9 MB / 458.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