Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.495/2.495, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.356e-05/4.359e-05, allocations: 7.984 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4009, allocations: 58.84 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2102/0.6112, allocations: 114.6 MB / 496.9 MB, free: 9.719 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/0.6115, allocations: 75.95 kB / 497 MB, free: 9.645 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.8187/1.43, allocations: 123.6 MB / 0.6061 GB, free: 69.48 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.793e-06/1.43, allocations: 0 / 0.6061 GB, free: 69.48 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0003419/1.431, allocations: 108 kB / 0.6062 GB, free: 69.37 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.0223/1.453, allocations: 5.654 MB / 0.6117 GB, free: 63.65 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/1.453, allocations: 8.031 kB / 0.6117 GB, free: 63.64 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004013/1.457, allocations: 0.9684 MB / 0.6126 GB, free: 62.66 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03456/1.492, allocations: 4.727 MB / 0.6173 GB, free: 57.92 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02371/1.515, allocations: 6.638 MB / 0.6237 GB, free: 51.22 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005395/1.516, allocations: 444.6 kB / 0.6242 GB, free: 50.78 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002876/1.519, allocations: 0.5427 MB / 0.6247 GB, free: 50.23 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04081/1.56, allocations: 14.01 MB / 0.6384 GB, free: 35.1 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002914/1.56, allocations: 75.33 kB / 0.6384 GB, free: 35.02 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001964/1.562, allocations: 263.8 kB / 0.6387 GB, free: 34.77 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002682/1.565, allocations: 1.294 MB / 0.64 GB, free: 33.47 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03587/1.601, allocations: 11.45 MB / 0.6511 GB, free: 22 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09964/1.7, allocations: 59.32 MB / 0.7091 GB, free: 8.824 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02195/1.722, allocations: 4.632 MB / 0.7136 GB, free: 4.031 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006326/1.729, allocations: 2.71 MB / 0.7162 GB, free: 1.309 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4023/2.131, allocations: 12.61 MB / 0.7285 GB, free: 117.6 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.207e-05/2.131, allocations: 54.41 kB / 0.7286 GB, free: 117.5 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=191): time 5.601e-06/2.131, allocations: 0 / 0.7286 GB, free: 117.5 MB / 0.4949 GB Notification: Performance of matching and sorting (n=242): time 0.1758/2.307, allocations: 32.84 MB / 0.7607 GB, free: 113.4 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.471e-05/2.307, allocations: 234.3 kB / 0.7609 GB, free: 113.1 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01001/2.317, allocations: 4.199 MB / 0.765 GB, free: 112.1 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0006984/2.318, allocations: 61.67 kB / 0.7651 GB, free: 112 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003606/2.322, allocations: 3.916 MB / 0.7689 GB, free: 109.2 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001556/2.323, allocations: 0.9125 MB / 0.7698 GB, free: 108.5 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001139/2.324, allocations: 151.3 kB / 0.7699 GB, free: 108.4 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0005549/2.325, allocations: 0.6064 MB / 0.7705 GB, free: 108 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0076/2.333, allocations: 3.156 MB / 0.7736 GB, free: 106.8 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01052/2.343, allocations: 7.385 MB / 0.7808 GB, free: 99.94 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01017/2.353, allocations: 4.749 MB / 0.7854 GB, free: 98.45 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001986/2.354, allocations: 42.84 kB / 0.7855 GB, free: 98.45 MB / 0.4949 GB Notification: Performance of matching and sorting (n=942) (initialization): time 0.04505/2.399, allocations: 13.25 MB / 0.7984 GB, free: 90.63 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/2.399, allocations: 68 kB / 0.7985 GB, free: 90.56 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002216/2.399, allocations: 152 kB / 0.7986 GB, free: 90.41 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02954/2.429, allocations: 3.801 MB / 0.8023 GB, free: 87.79 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01466/2.443, allocations: 1.611 MB / 0.8039 GB, free: 86.38 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04679/2.49, allocations: 18.02 MB / 0.8215 GB, free: 71.05 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01063/2.501, allocations: 494.9 kB / 0.822 GB, free: 70.65 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002027/2.503, allocations: 435.4 kB / 0.8224 GB, free: 70.23 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 689 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (859): * Single equations (assignments): 855 * 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 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002327/2.505, allocations: 0.6442 MB / 0.823 GB, free: 69.58 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001631/2.507, allocations: 441.2 kB / 0.8234 GB, free: 69.15 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04292/2.55, allocations: 8.08 MB / 0.8313 GB, free: 62.98 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.536e-05/2.55, allocations: 29.8 kB / 0.8314 GB, free: 62.96 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.208e-05/2.55, allocations: 12 kB / 0.8314 GB, free: 62.95 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-05/2.55, allocations: 10.08 kB / 0.8314 GB, free: 62.95 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08404/2.634, allocations: 17.39 MB / 0.8484 GB, free: 46.71 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.514e-05/2.634, allocations: 0 / 0.8484 GB, free: 46.71 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00383/2.638, allocations: 387.4 kB / 0.8487 GB, free: 46.33 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02158/2.66, allocations: 3.846 MB / 0.8525 GB, free: 42.48 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006075/2.66, allocations: 43.98 kB / 0.8525 GB, free: 42.43 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03666/2.697, allocations: 16.45 MB / 0.8686 GB, free: 25.84 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/2.697, allocations: 3.953 kB / 0.8686 GB, free: 25.84 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03816/2.735, allocations: 12.55 MB / 0.8809 GB, free: 13.23 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00343/2.739, allocations: 0.9364 MB / 0.8818 GB, free: 12.28 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00137/2.74, allocations: 40 kB / 0.8818 GB, free: 12.24 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004399/2.745, allocations: 219.7 kB / 0.882 GB, free: 12.02 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007104/2.745, allocations: 149.5 kB / 0.8822 GB, free: 11.88 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003121/2.746, allocations: 59.98 kB / 0.8822 GB, free: 11.82 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.006087/2.752, allocations: 2.922 MB / 0.8851 GB, free: 8.906 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.713e-06/2.752, allocations: 0 / 0.8851 GB, free: 8.906 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.008691/2.761, allocations: 1.461 MB / 0.8865 GB, free: 7.457 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (167): * Single equations (assignments): 163 * 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 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04044/2.801, allocations: 13.46 MB / 0.8996 GB, free: 9.953 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.3645/3.166, allocations: 7.5 MB / 0.907 GB, free: 129 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/3.166, allocations: 0.5938 kB / 0.907 GB, free: 129 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007736/3.173, allocations: 2.877 MB / 0.9098 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004508/3.178, allocations: 0.4887 MB / 0.9103 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0404/3.218, allocations: 12.42 MB / 0.9224 GB, free: 126.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009785/3.228, allocations: 4.216 MB / 0.9265 GB, free: 126 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01094/3.239, allocations: 2.182 MB / 0.9286 GB, free: 126 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006105/3.245, allocations: 2.486 MB / 0.9311 GB, free: 126 MB / 0.5105 GB Notification: Performance of SimCode: time 1.914e-06/3.246, allocations: 0 / 0.9311 GB, free: 126 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2395/3.485, allocations: 110.4 MB / 1.039 GB, free: 52.56 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002159/3.485, allocations: 166.7 kB / 1.039 GB, free: 52.33 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.278/9.763, allocations: 6.719 kB / 1.039 GB, free: 52.33 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat does not exist to compare? outputFormat=mat