Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.77/2.77, allocations: 235.1 MB / 242.3 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.911e-05/2.911e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3895, allocations: 54.85 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1798/0.5694, allocations: 91.34 MB / 445.8 MB, free: 3.723 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/0.5698, allocations: 79.94 kB / 445.9 MB, free: 3.645 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.519/1.089, allocations: 33.84 MB / 479.7 MB, free: 91.76 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.015e-06/1.089, allocations: 0 / 479.7 MB, free: 91.76 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000112/1.089, allocations: 35.31 kB / 479.7 MB, free: 91.76 MB / 394.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.009703/1.099, allocations: 2.194 MB / 481.9 MB, free: 90.8 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/1.099, allocations: 7.531 kB / 481.9 MB, free: 90.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004134/1.103, allocations: 383.3 kB / 482.3 MB, free: 90.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004794/1.108, allocations: 1.136 MB / 483.4 MB, free: 90.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/1.108, allocations: 63.28 kB / 483.5 MB, free: 90.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001037/1.109, allocations: 114.4 kB / 483.6 MB, free: 90.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007435/1.117, allocations: 2.74 MB / 486.4 MB, free: 89.28 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01133/1.128, allocations: 3.762 MB / 490.1 MB, free: 85.78 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.38e-05/1.128, allocations: 11.88 kB / 490.1 MB, free: 85.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006718/1.129, allocations: 11.95 kB / 490.1 MB, free: 85.76 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001992/1.131, allocations: 0.5151 MB / 490.7 MB, free: 85.24 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03732/1.168, allocations: 15.53 MB / 0.4943 GB, free: 69.42 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002279/1.171, allocations: 0.8449 MB / 0.4952 GB, free: 68.55 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001508/1.172, allocations: 0.6559 MB / 0.4958 GB, free: 67.88 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008775/1.181, allocations: 3.496 MB / 0.4992 GB, free: 64.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.939e-05/1.181, allocations: 38.52 kB / 0.4992 GB, free: 64.15 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 4.669e-06/1.181, allocations: 0 / 0.4992 GB, free: 64.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.007159/1.188, allocations: 1.065 MB / 0.5003 GB, free: 63.08 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/1.188, allocations: 102.8 kB / 0.5004 GB, free: 62.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003224/1.192, allocations: 1.263 MB / 0.5016 GB, free: 61.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000102/1.192, allocations: 25.7 kB / 0.5016 GB, free: 61.65 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001365/1.193, allocations: 1.471 MB / 0.5031 GB, free: 60.15 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00027/1.193, allocations: 142.6 kB / 0.5032 GB, free: 60.01 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/1.194, allocations: 0 / 0.5032 GB, free: 60.01 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002846/1.194, allocations: 435.6 kB / 0.5036 GB, free: 59.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/1.195, allocations: 480.7 kB / 0.5041 GB, free: 59.11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002485/1.198, allocations: 2.061 MB / 0.5061 GB, free: 56.22 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002413/1.2, allocations: 0.94 MB / 0.507 GB, free: 55.28 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.236e-05/1.201, allocations: 19.94 kB / 0.507 GB, free: 55.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=307) (initialization): time 0.006954/1.208, allocations: 2.135 MB / 0.5091 GB, free: 53.12 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.907e-05/1.208, allocations: 28 kB / 0.5091 GB, free: 53.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-05/1.208, allocations: 64.28 kB / 0.5092 GB, free: 53.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001265/1.208, allocations: 87.95 kB / 0.5093 GB, free: 52.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003824/1.212, allocations: 0.5731 MB / 0.5099 GB, free: 52.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001068/1.212, allocations: 115.5 kB / 0.51 GB, free: 52.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003121/1.215, allocations: 280.6 kB / 0.5102 GB, free: 51.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005594/1.216, allocations: 152 kB / 0.5104 GB, free: 51.83 MB / 394.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.0004904/1.216, allocations: 258.7 kB / 0.5106 GB, free: 51.57 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001058/1.217, allocations: 387.4 kB / 0.511 GB, free: 51.19 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002899/1.218, allocations: 122.5 kB / 0.5111 GB, free: 51.07 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005254/1.218, allocations: 135.5 kB / 0.5112 GB, free: 50.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/1.218, allocations: 4 kB / 0.5112 GB, free: 50.92 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/1.218, allocations: 0 / 0.5112 GB, free: 50.92 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/1.218, allocations: 0 / 0.5112 GB, free: 50.92 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006752/1.225, allocations: 2.512 MB / 0.5137 GB, free: 48.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.877e-05/1.225, allocations: 8 kB / 0.5137 GB, free: 48.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006299/1.226, allocations: 75.78 kB / 0.5138 GB, free: 48.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-05/1.226, allocations: 12 kB / 0.5138 GB, free: 48.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.603e-05/1.226, allocations: 12 kB / 0.5138 GB, free: 48.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.792e-05/1.226, allocations: 19.92 kB / 0.5138 GB, free: 48.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-05/1.226, allocations: 11.94 kB / 0.5138 GB, free: 48.11 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/1.227, allocations: 1.188 MB / 0.515 GB, free: 46.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005273/1.228, allocations: 203.4 kB / 0.5152 GB, free: 46.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003951/1.228, allocations: 15.98 kB / 0.5152 GB, free: 46.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/1.23, allocations: 15.98 kB / 0.5152 GB, free: 46.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/1.23, allocations: 55.75 kB / 0.5153 GB, free: 46.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-05/1.23, allocations: 20 kB / 0.5153 GB, free: 46.19 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002166/1.232, allocations: 0.8237 MB / 0.5161 GB, free: 45.37 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.42e-07/1.232, allocations: 0 / 0.5161 GB, free: 45.37 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003626/1.236, allocations: 457.7 kB / 0.5165 GB, free: 44.92 MB / 394.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.002433/1.238, allocations: 4.146 MB / 0.5206 GB, free: 40.49 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003178/1.241, allocations: 1.116 MB / 0.5217 GB, free: 39.39 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.649e-05/1.241, allocations: 6.562 kB / 0.5217 GB, free: 39.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004759/1.242, allocations: 177.6 kB / 0.5218 GB, free: 39.21 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/1.243, allocations: 121.3 kB / 0.522 GB, free: 39.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/1.256, allocations: 3.137 MB / 0.525 GB, free: 35.79 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003468/1.259, allocations: 1.725 MB / 0.5267 GB, free: 34.03 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003825/1.263, allocations: 0.6169 MB / 0.5273 GB, free: 33.41 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001899/1.265, allocations: 0.7414 MB / 0.528 GB, free: 32.67 MB / 394.7 MB Notification: Performance of SimCode: time 1.723e-06/1.265, allocations: 0 / 0.528 GB, free: 32.67 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1103/1.376, allocations: 22.92 MB / 0.5504 GB, free: 9.871 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003913/1.376, allocations: 136.2 kB / 0.5505 GB, free: 9.676 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.71/5.086, allocations: 3.938 kB / 0.5505 GB, free: 9.672 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Joints.JointUPS_res.mat does not exist to compare? outputFormat=mat