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.479/2.479, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.965e-05/3.974e-05, allocations: 0 / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4101, allocations: 54.86 MB / 359.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1785/0.5886, allocations: 92.01 MB / 451.9 MB, free: 4.887 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003968/0.5891, allocations: 71.97 kB / 451.9 MB, free: 4.816 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1631/0.7522, allocations: 34.54 MB / 486.5 MB, free: 2.023 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.7523, allocations: 4 kB / 486.5 MB, free: 2.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.847e-05/0.7524, allocations: 32 kB / 486.5 MB, free: 1.988 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.007966/0.7604, allocations: 2.194 MB / 488.7 MB, free: 15.74 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.343e-05/0.7605, allocations: 12.03 kB / 488.7 MB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001083/0.7616, allocations: 363.7 kB / 489.1 MB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002967/0.7645, allocations: 380.7 kB / 489.5 MB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004188/0.7688, allocations: 1.135 MB / 490.6 MB, free: 13.81 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002058/0.769, allocations: 147.9 kB / 490.7 MB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006678/0.7697, allocations: 188 kB / 490.9 MB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.016/0.7857, allocations: 4.781 MB / 495.7 MB, free: 8.441 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.965e-05/0.7858, allocations: 11.88 kB / 495.7 MB, free: 8.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003998/0.7862, allocations: 91.91 kB / 495.8 MB, free: 8.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001712/0.788, allocations: 0.5189 MB / 496.3 MB, free: 7.816 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01451/0.8025, allocations: 3.78 MB / 0.4884 GB, free: 4.031 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04878/0.8513, allocations: 16.63 MB / 0.5046 GB, free: 2.953 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01104/0.8624, allocations: 1.282 MB / 0.5059 GB, free: 1.641 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/0.8641, allocations: 0.6872 MB / 0.5065 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009103/0.8732, allocations: 4.074 MB / 0.5105 GB, free: 12.61 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.557e-05/0.8733, allocations: 34.56 kB / 0.5105 GB, free: 12.57 MB / 458.7 MB Notification: Performance of pre-optimization done (n=41): time 4.208e-06/0.8733, allocations: 0 / 0.5105 GB, free: 12.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=41): time 0.01062/0.884, allocations: 1.467 MB / 0.512 GB, free: 11.09 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.46e-05/0.8841, allocations: 114.8 kB / 0.5121 GB, free: 10.96 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003036/0.8872, allocations: 1.379 MB / 0.5134 GB, free: 9.57 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001101/0.8873, allocations: 37.7 kB / 0.5135 GB, free: 9.527 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001336/0.8887, allocations: 1.391 MB / 0.5148 GB, free: 8.113 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002552/0.8889, allocations: 182 kB / 0.515 GB, free: 7.934 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.8891, allocations: 48.06 kB / 0.515 GB, free: 7.887 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003252/0.8894, allocations: 455.3 kB / 0.5155 GB, free: 7.434 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.8907, allocations: 492.4 kB / 0.516 GB, free: 6.949 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002713/0.8934, allocations: 2.013 MB / 0.5179 GB, free: 4.164 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002208/0.8957, allocations: 0.9594 MB / 0.5189 GB, free: 3.203 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.811e-05/0.8957, allocations: 16 kB / 0.5189 GB, free: 3.188 MB / 458.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.00574/0.9015, allocations: 2.38 MB / 0.5212 GB, free: 0.8008 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.757e-05/0.9015, allocations: 28 kB / 0.5212 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.593e-05/0.9016, allocations: 56 kB / 0.5213 GB, free: 0.7188 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001328/0.9018, allocations: 83.98 kB / 0.5214 GB, free: 0.6367 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002918/0.9047, allocations: 0.5419 MB / 0.5219 GB, free: 96 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3258/1.231, allocations: 106.1 kB / 0.522 GB, free: 127.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002686/1.233, allocations: 329.8 kB / 0.5223 GB, free: 127.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00051/1.234, allocations: 145.1 kB / 0.5224 GB, free: 127.1 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.0005082/1.234, allocations: 300.2 kB / 0.5227 GB, free: 127 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000398/1.235, allocations: 132.5 kB / 0.5229 GB, free: 127 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004504/1.235, allocations: 155 kB / 0.523 GB, free: 127 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/1.235, allocations: 6.125 kB / 0.523 GB, free: 127 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/1.235, allocations: 4.188 kB / 0.523 GB, free: 127 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/1.235, allocations: 2.391 kB / 0.523 GB, free: 127 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008739/1.244, allocations: 3.219 MB / 0.5262 GB, free: 126.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.237e-05/1.244, allocations: 12.66 kB / 0.5262 GB, free: 126.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006326/1.245, allocations: 98.92 kB / 0.5263 GB, free: 126.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-05/1.245, allocations: 16.77 kB / 0.5263 GB, free: 126.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.367e-05/1.245, allocations: 22.06 kB / 0.5263 GB, free: 126.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.719e-05/1.245, allocations: 25.62 kB / 0.5263 GB, free: 126.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.423e-05/1.245, allocations: 19.84 kB / 0.5263 GB, free: 126.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001933/1.247, allocations: 1.566 MB / 0.5279 GB, free: 124.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005295/1.248, allocations: 221.6 kB / 0.5281 GB, free: 124.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/1.248, allocations: 28.16 kB / 0.5281 GB, free: 124.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008006/1.249, allocations: 23.2 kB / 0.5281 GB, free: 124.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/1.249, allocations: 72.19 kB / 0.5282 GB, free: 124.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.923e-05/1.249, allocations: 23 kB / 0.5282 GB, free: 124.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002372/1.251, allocations: 0.9499 MB / 0.5291 GB, free: 124.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.272e-06/1.251, allocations: 0 / 0.5291 GB, free: 124.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003179/1.254, allocations: 485.2 kB / 0.5296 GB, free: 124.2 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.002859/1.257, allocations: 5.369 MB / 0.5349 GB, free: 119.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003333/1.261, allocations: 1.232 MB / 0.5361 GB, free: 119.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.977e-05/1.261, allocations: 1.281 kB / 0.5361 GB, free: 119.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00062/1.261, allocations: 222.3 kB / 0.5363 GB, free: 119.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001365/1.263, allocations: 167.6 kB / 0.5364 GB, free: 119.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/1.275, allocations: 3.33 MB / 0.5397 GB, free: 118 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003764/1.279, allocations: 1.735 MB / 0.5414 GB, free: 117.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004313/1.283, allocations: 0.6038 MB / 0.542 GB, free: 117.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00212/1.285, allocations: 0.7365 MB / 0.5427 GB, free: 117.3 MB / 458.7 MB Notification: Performance of SimCode: time 1.423e-06/1.286, allocations: 1.031 kB / 0.5427 GB, free: 117.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1121/1.398, allocations: 25.64 MB / 0.5677 GB, free: 114.4 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/1.398, allocations: 143.8 kB / 0.5679 GB, free: 114.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.433/4.831, allocations: 3.938 kB / 0.5679 GB, free: 114.2 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