Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.166/2.166, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.711e-05/3.731e-05, allocations: 4 kB / 273.2 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4434/0.5507, allocations: 101.5 MB / 423.4 MB, free: 4.082 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/0.5511, allocations: 79.27 kB / 423.4 MB, free: 4.008 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8706/1.422, allocations: 123.2 MB / 0.5338 GB, free: 99.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.375e-06/1.422, allocations: 2.953 kB / 0.5338 GB, free: 99.46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003467/1.422, allocations: 109.3 kB / 0.5339 GB, free: 99.46 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: 1928 * Number of variables: 1928 Notification: Performance of Generate backend data structure: time 0.02311/1.445, allocations: 5.639 MB / 0.5394 GB, free: 97.28 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/1.445, allocations: 17.22 kB / 0.5394 GB, free: 97.27 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004262/1.45, allocations: 0.97 MB / 0.5404 GB, free: 97.19 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03454/1.484, allocations: 4.727 MB / 0.545 GB, free: 96.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02457/1.509, allocations: 6.617 MB / 0.5514 GB, free: 95.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006155/1.509, allocations: 444.3 kB / 0.5519 GB, free: 95.49 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003213/1.513, allocations: 0.5388 MB / 0.5524 GB, free: 95.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0444/1.557, allocations: 14.06 MB / 0.5661 GB, free: 88.42 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002967/1.558, allocations: 64.97 kB / 0.5662 GB, free: 88.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001931/1.559, allocations: 264.5 kB / 0.5664 GB, free: 88.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002983/1.562, allocations: 1.3 MB / 0.5677 GB, free: 87.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03758/1.6, allocations: 11.65 MB / 0.5791 GB, free: 77.27 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09414/1.694, allocations: 59.22 MB / 0.6369 GB, free: 16.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02018/1.715, allocations: 4.639 MB / 0.6414 GB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005447/1.72, allocations: 2.717 MB / 0.6441 GB, free: 9.023 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3294/2.049, allocations: 12.59 MB / 0.6564 GB, free: 90.53 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.163e-05/2.05, allocations: 59.48 kB / 0.6564 GB, free: 90.49 MB / 426.7 MB Notification: Performance of pre-optimization done (n=191): time 5.971e-06/2.05, allocations: 0 / 0.6564 GB, free: 90.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=242): time 0.1845/2.234, allocations: 32.82 MB / 0.6885 GB, free: 86.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/2.234, allocations: 233.3 kB / 0.6887 GB, free: 86.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009802/2.244, allocations: 4.175 MB / 0.6928 GB, free: 85.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007284/2.245, allocations: 62.48 kB / 0.6928 GB, free: 85.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003512/2.248, allocations: 3.9 MB / 0.6967 GB, free: 82.26 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001514/2.25, allocations: 0.9171 MB / 0.6976 GB, free: 81.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009881/2.251, allocations: 142.6 kB / 0.6977 GB, free: 81.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005205/2.252, allocations: 0.6096 MB / 0.6983 GB, free: 81.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007422/2.259, allocations: 3.15 MB / 0.7014 GB, free: 79.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01011/2.269, allocations: 7.416 MB / 0.7086 GB, free: 73.03 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/2.279, allocations: 4.732 MB / 0.7132 GB, free: 71.47 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001208/2.279, allocations: 42.53 kB / 0.7133 GB, free: 71.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.04573/2.325, allocations: 13.65 MB / 0.7266 GB, free: 66.99 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/2.325, allocations: 74.05 kB / 0.7267 GB, free: 66.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002243/2.326, allocations: 150.2 kB / 0.7268 GB, free: 66.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02061/2.346, allocations: 3.803 MB / 0.7305 GB, free: 66.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009824/2.356, allocations: 1.608 MB / 0.7321 GB, free: 64.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04014/2.396, allocations: 18.01 MB / 0.7497 GB, free: 49.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009825/2.406, allocations: 484.4 kB / 0.7501 GB, free: 49.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001968/2.408, allocations: 433.1 kB / 0.7506 GB, free: 48.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 34 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (856): * Single equations (assignments): 852 * 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.001973/2.41, allocations: 0.6412 MB / 0.7512 GB, free: 48.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001393/2.412, allocations: 438.2 kB / 0.7516 GB, free: 47.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03049/2.442, allocations: 8.079 MB / 0.7595 GB, free: 41.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-05/2.442, allocations: 25.02 kB / 0.7595 GB, free: 41.44 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.018e-05/2.442, allocations: 12 kB / 0.7595 GB, free: 41.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-05/2.442, allocations: 16.58 kB / 0.7595 GB, free: 41.42 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05807/2.5, allocations: 17.38 MB / 0.7765 GB, free: 24.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.305e-05/2.501, allocations: 3.328 kB / 0.7765 GB, free: 24.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003832/2.504, allocations: 383.4 kB / 0.7769 GB, free: 24.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02102/2.525, allocations: 3.85 MB / 0.7806 GB, free: 20.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006773/2.526, allocations: 43.98 kB / 0.7807 GB, free: 20.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03763/2.564, allocations: 16.44 MB / 0.7967 GB, free: 3.586 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/2.564, allocations: 5.688 kB / 0.7968 GB, free: 3.582 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04174/2.606, allocations: 12.55 MB / 0.809 GB, free: 6.977 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00395/2.61, allocations: 0.9328 MB / 0.8099 GB, free: 6.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001509/2.611, allocations: 43.98 kB / 0.81 GB, free: 5.977 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005175/2.616, allocations: 208.5 kB / 0.8102 GB, free: 5.773 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001172/2.618, allocations: 150.2 kB / 0.8103 GB, free: 5.629 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003805/2.618, allocations: 61.31 kB / 0.8104 GB, free: 5.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.3217/2.94, allocations: 2.902 MB / 0.8132 GB, free: 96.15 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.042e-06/2.94, allocations: 0 / 0.8132 GB, free: 96.15 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01066/2.95, allocations: 1.457 MB / 0.8146 GB, free: 96.15 MB / 442.7 MB 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.04455/2.995, allocations: 13.44 MB / 0.8277 GB, free: 94.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01902/3.014, allocations: 7.731 MB / 0.8353 GB, free: 94.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/3.014, allocations: 0 / 0.8353 GB, free: 94.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006925/3.021, allocations: 2.917 MB / 0.8381 GB, free: 94.37 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004753/3.026, allocations: 494.5 kB / 0.8386 GB, free: 94.35 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04127/3.067, allocations: 12.42 MB / 0.8507 GB, free: 89.96 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009742/3.077, allocations: 4.208 MB / 0.8549 GB, free: 88.48 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01063/3.088, allocations: 2.172 MB / 0.857 GB, free: 88.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006099/3.094, allocations: 2.479 MB / 0.8594 GB, free: 86.4 MB / 442.7 MB Notification: Performance of SimCode: time 1.984e-06/3.094, allocations: 0 / 0.8594 GB, free: 86.4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2713/3.365, allocations: 110.8 MB / 0.9676 GB, free: 1.953 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000327/3.366, allocations: 160 kB / 0.9678 GB, free: 1.73 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.505/9.871, allocations: 7.938 kB / 0.9678 GB, free: 1.723 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat does not exist to compare? outputFormat=mat