Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_FourbarVariants_JointUSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.877/1.877, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.941e-05/3.947e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1015, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4452/0.5468, allocations: 101.9 MB / 423.8 MB, free: 3.523 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/0.5472, allocations: 74.94 kB / 423.9 MB, free: 3.453 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9108/1.458, allocations: 142.3 MB / 0.5529 GB, free: 90.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.383e-06/1.458, allocations: 3.938 kB / 0.5529 GB, free: 90.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004686/1.459, allocations: 130.5 kB / 0.553 GB, free: 90.23 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2162 * Number of variables: 2162 Notification: Performance of Generate backend data structure: time 0.02749/1.486, allocations: 6.639 MB / 0.5595 GB, free: 87.17 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/1.486, allocations: 10.22 kB / 0.5595 GB, free: 87.17 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005855/1.492, allocations: 1.278 MB / 0.5608 GB, free: 86.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06662/1.559, allocations: 9.338 MB / 0.5699 GB, free: 83.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03296/1.592, allocations: 9.12 MB / 0.5788 GB, free: 77.56 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006893/1.592, allocations: 477.9 kB / 0.5792 GB, free: 77.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004002/1.596, allocations: 0.6361 MB / 0.5799 GB, free: 76.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04916/1.646, allocations: 15.45 MB / 0.595 GB, free: 59.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004337/1.646, allocations: 83.3 kB / 0.595 GB, free: 59.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002888/1.649, allocations: 299.5 kB / 0.5953 GB, free: 59.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003122/1.652, allocations: 1.38 MB / 0.5967 GB, free: 58.26 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0416/1.694, allocations: 12.49 MB / 0.6089 GB, free: 45.76 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4476/2.142, allocations: 64.36 MB / 0.6717 GB, free: 43.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03165/2.173, allocations: 6.209 MB / 0.6778 GB, free: 43.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007379/2.181, allocations: 3.113 MB / 0.6808 GB, free: 43.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0282/2.209, allocations: 11.19 MB / 0.6917 GB, free: 40.32 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.681e-05/2.209, allocations: 65.97 kB / 0.6918 GB, free: 40.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=245): time 5.821e-06/2.209, allocations: 0 / 0.6918 GB, free: 40.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=337): time 0.1782/2.387, allocations: 29.63 MB / 0.7207 GB, free: 35.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/2.387, allocations: 238.2 kB / 0.721 GB, free: 35.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01305/2.4, allocations: 4.938 MB / 0.7258 GB, free: 33.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001055/2.402, allocations: 73.23 kB / 0.7259 GB, free: 33.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00481/2.406, allocations: 4.468 MB / 0.7302 GB, free: 30.42 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002417/2.409, allocations: 1.237 MB / 0.7314 GB, free: 29.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001379/2.41, allocations: 162.1 kB / 0.7316 GB, free: 29.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009753/2.411, allocations: 0.6538 MB / 0.7322 GB, free: 28.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009871/2.421, allocations: 3.525 MB / 0.7357 GB, free: 27.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01256/2.434, allocations: 8.004 MB / 0.7435 GB, free: 20.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01185/2.446, allocations: 5.282 MB / 0.7486 GB, free: 18.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001808/2.446, allocations: 43.19 kB / 0.7487 GB, free: 18.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=1070) (initialization): time 0.04848/2.495, allocations: 14.13 MB / 0.7625 GB, free: 10.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001221/2.495, allocations: 72 kB / 0.7625 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002296/2.495, allocations: 160 kB / 0.7627 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02101/2.516, allocations: 3.561 MB / 0.7662 GB, free: 7.656 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01178/2.528, allocations: 1.799 MB / 0.7679 GB, free: 6.082 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04865/2.576, allocations: 18.05 MB / 0.7856 GB, free: 7.023 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01112/2.588, allocations: 487.1 kB / 0.786 GB, free: 6.617 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002514/2.59, allocations: 468.9 kB / 0.7865 GB, free: 6.168 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 721 * Number of states: 0 () * Number of discrete variables: 43 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.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],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (969): * Single equations (assignments): 965 * 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 {(1,100.0%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004156/2.594, allocations: 0.7148 MB / 0.7872 GB, free: 5.453 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002063/2.597, allocations: 0.5245 MB / 0.7877 GB, free: 4.922 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03679/2.633, allocations: 8.815 MB / 0.7963 GB, free: 12.81 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.115e-05/2.634, allocations: 32.62 kB / 0.7963 GB, free: 12.78 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.605e-05/2.634, allocations: 16 kB / 0.7963 GB, free: 12.76 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.733e-05/2.634, allocations: 15.94 kB / 0.7964 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07003/2.704, allocations: 18.59 MB / 0.8145 GB, free: 10.01 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.406e-05/2.704, allocations: 4 kB / 0.8145 GB, free: 10.01 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00499/2.709, allocations: 491.2 kB / 0.815 GB, free: 9.527 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02171/2.731, allocations: 3.096 MB / 0.818 GB, free: 6.422 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001058/2.732, allocations: 63.98 kB / 0.8181 GB, free: 6.359 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04369/2.775, allocations: 15.59 MB / 0.8333 GB, free: 6.641 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.258e-05/2.776, allocations: 6.656 kB / 0.8333 GB, free: 6.637 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3712/3.147, allocations: 14.03 MB / 0.847 GB, free: 133.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004361/3.151, allocations: 1.093 MB / 0.8481 GB, free: 133.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002032/3.153, allocations: 61.62 kB / 0.8481 GB, free: 133.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005974/3.159, allocations: 208.5 kB / 0.8483 GB, free: 133.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001435/3.161, allocations: 221.5 kB / 0.8485 GB, free: 133.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006157/3.161, allocations: 88.55 kB / 0.8486 GB, free: 133.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01039/3.172, allocations: 3.487 MB / 0.852 GB, free: 133.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.002e-06/3.172, allocations: 1.125 kB / 0.852 GB, free: 133.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01237/3.184, allocations: 1.673 MB / 0.8537 GB, free: 133.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (253): * Single equations (assignments): 249 * 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 {(1,100.0%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04426/3.228, allocations: 15.96 MB / 0.8692 GB, free: 129.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02025/3.249, allocations: 8.52 MB / 0.8776 GB, free: 128.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/3.249, allocations: 0 / 0.8776 GB, free: 128.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008106/3.257, allocations: 3.39 MB / 0.8809 GB, free: 126.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006656/3.264, allocations: 0.6814 MB / 0.8815 GB, free: 126.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04646/3.31, allocations: 15.04 MB / 0.8962 GB, free: 121.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01124/3.322, allocations: 4.96 MB / 0.9011 GB, free: 119.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0122/3.334, allocations: 2.605 MB / 0.9036 GB, free: 119.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00719/3.341, allocations: 3.049 MB / 0.9066 GB, free: 116.8 MB / 490.7 MB Notification: Performance of SimCode: time 2.064e-06/3.341, allocations: 0 / 0.9066 GB, free: 116.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7108/4.052, allocations: 131.4 MB / 1.035 GB, free: 120.1 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002457/4.052, allocations: 173.9 kB / 1.035 GB, free: 119.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.462/11.51, allocations: 0 / 1.035 GB, free: 119.9 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat does not exist to compare? outputFormat=mat