Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.043/2.043, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.549e-05/2.527e-05, allocations: 0 / 267.6 MB, free: 4.945 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1238, allocations: 48.7 MB / 316.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4846/0.6084, allocations: 94.74 MB / 411.1 MB, free: 13.96 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.6088, allocations: 76.45 kB / 411.1 MB, free: 13.92 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7535/1.362, allocations: 96.88 MB / 0.4961 GB, free: 87.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.464e-06/1.362, allocations: 0 / 0.4961 GB, free: 87.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003582/1.363, allocations: 90.59 kB / 0.4962 GB, free: 87.73 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: 1690 * Number of variables: 1690 Notification: Performance of Generate backend data structure: time 0.02419/1.387, allocations: 5.122 MB / 0.5012 GB, free: 85.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/1.387, allocations: 8.312 kB / 0.5012 GB, free: 85.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03524/1.422, allocations: 4.614 MB / 0.5057 GB, free: 85.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02249/1.445, allocations: 6.04 MB / 0.5116 GB, free: 84.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003218/1.445, allocations: 146 kB / 0.5118 GB, free: 84.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002755/1.448, allocations: 274.1 kB / 0.512 GB, free: 84.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01886/1.467, allocations: 7.411 MB / 0.5193 GB, free: 84.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02813/1.495, allocations: 10.85 MB / 0.5298 GB, free: 80.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003077/1.495, allocations: 61.09 kB / 0.5299 GB, free: 80.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001981/1.497, allocations: 35.66 kB / 0.5299 GB, free: 80.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002857/1.5, allocations: 1.259 MB / 0.5312 GB, free: 80.13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08542/1.586, allocations: 54.21 MB / 0.5841 GB, free: 39.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00754/1.593, allocations: 4.379 MB / 0.5884 GB, free: 34.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005178/1.599, allocations: 2.94 MB / 0.5913 GB, free: 32.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02737/1.626, allocations: 12.16 MB / 0.6031 GB, free: 21.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/1.626, allocations: 51.88 kB / 0.6032 GB, free: 21.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=193): time 5.701e-06/1.626, allocations: 0 / 0.6032 GB, free: 21.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=254): time 0.1246/1.751, allocations: 28.83 MB / 0.6313 GB, free: 9.043 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001838/1.751, allocations: 205.9 kB / 0.6315 GB, free: 8.797 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01287/1.764, allocations: 3.299 MB / 0.6347 GB, free: 5.473 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001003/1.765, allocations: 25.7 kB / 0.6348 GB, free: 5.441 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005892/1.771, allocations: 3.489 MB / 0.6382 GB, free: 1.902 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002679/1.774, allocations: 0.9173 MB / 0.6391 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001184/1.775, allocations: 0 / 0.6391 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009095/1.776, allocations: 0.6035 MB / 0.6397 GB, free: 372 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3142/2.09, allocations: 2.902 MB / 0.6425 GB, free: 96.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01114/2.101, allocations: 6.933 MB / 0.6493 GB, free: 91.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0119/2.113, allocations: 4.421 MB / 0.6536 GB, free: 91.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002918/2.114, allocations: 41.95 kB / 0.6536 GB, free: 91.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.0416/2.155, allocations: 11.63 MB / 0.665 GB, free: 90.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001686/2.155, allocations: 68.53 kB / 0.6651 GB, free: 90.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002231/2.156, allocations: 144.5 kB / 0.6652 GB, free: 90.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01604/2.172, allocations: 3.169 MB / 0.6683 GB, free: 90.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01053/2.182, allocations: 1.605 MB / 0.6699 GB, free: 90.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0337/2.216, allocations: 13.82 MB / 0.6833 GB, free: 85.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009246/2.225, allocations: 350.1 kB / 0.6837 GB, free: 85.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001994/2.227, allocations: 416.1 kB / 0.6841 GB, free: 85.87 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 654 * Number of states: 0 () * Number of discrete variables: 33 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (836): * Single equations (assignments): 832 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(11,36.4%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002082/2.229, allocations: 468.4 kB / 0.6845 GB, free: 85.58 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02461/2.254, allocations: 7.217 MB / 0.6916 GB, free: 83.56 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001403/2.256, allocations: 378.1 kB / 0.6919 GB, free: 83.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02595/2.281, allocations: 7.148 MB / 0.6989 GB, free: 81.19 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.147e-05/2.282, allocations: 31.62 kB / 0.6989 GB, free: 81.19 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.696e-05/2.282, allocations: 10.53 kB / 0.699 GB, free: 81.19 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-05/2.282, allocations: 13.27 kB / 0.699 GB, free: 81.19 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04479/2.327, allocations: 13.91 MB / 0.7126 GB, free: 76.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-05/2.327, allocations: 0 / 0.7126 GB, free: 76.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003933/2.331, allocations: 388.9 kB / 0.7129 GB, free: 76.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01526/2.346, allocations: 2.846 MB / 0.7157 GB, free: 74.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006599/2.347, allocations: 4 kB / 0.7157 GB, free: 74.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02834/2.375, allocations: 12.35 MB / 0.7278 GB, free: 63.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/2.375, allocations: 4 kB / 0.7278 GB, free: 63.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0304/2.405, allocations: 11.1 MB / 0.7386 GB, free: 54.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003256/2.409, allocations: 0.8689 MB / 0.7395 GB, free: 53.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001185/2.41, allocations: 4 kB / 0.7395 GB, free: 53.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00394/2.414, allocations: 167.5 kB / 0.7396 GB, free: 53.51 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008412/2.415, allocations: 151.3 kB / 0.7398 GB, free: 53.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003102/2.415, allocations: 63.89 kB / 0.7398 GB, free: 53.36 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004426/2.42, allocations: 2.197 MB / 0.742 GB, free: 51.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.01e-07/2.42, allocations: 0 / 0.742 GB, free: 51.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008941/2.429, allocations: 1.138 MB / 0.7431 GB, free: 50.25 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 185 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03017/2.459, allocations: 11.9 MB / 0.7547 GB, free: 38.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01841/2.477, allocations: 7.443 MB / 0.762 GB, free: 30.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/2.477, allocations: 8 kB / 0.762 GB, free: 30.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007137/2.484, allocations: 2.954 MB / 0.7649 GB, free: 27.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003787/2.488, allocations: 369.1 kB / 0.7652 GB, free: 27.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03514/2.523, allocations: 11.04 MB / 0.776 GB, free: 16.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007001/2.53, allocations: 3.765 MB / 0.7797 GB, free: 12.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01039/2.541, allocations: 2.208 MB / 0.7818 GB, free: 10.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005593/2.547, allocations: 2.198 MB / 0.784 GB, free: 8.258 MB / 426.7 MB Notification: Performance of SimCode: time 1.713e-06/2.547, allocations: 0 / 0.784 GB, free: 8.258 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5361/3.083, allocations: 94.24 MB / 0.876 GB, free: 73.52 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002666/3.083, allocations: 132.6 kB / 0.8761 GB, free: 73.33 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.883/8.966, allocations: 0 / 0.8761 GB, free: 73.33 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat does not exist to compare? outputFormat=mat