Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.404/2.404, allocations: 270.1 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.743e-05/3.751e-05, allocations: 4 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1326, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.546/0.6786, allocations: 116.6 MB / 0.5146 GB, free: 3.305 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/0.6789, allocations: 77.28 kB / 0.5147 GB, free: 3.23 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9103/1.589, allocations: 125.1 MB / 0.6369 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.214e-06/1.589, allocations: 0 / 0.6369 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000411/1.59, allocations: 111.7 kB / 0.637 GB, free: 119.1 MB / 0.5105 GB 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.02558/1.615, allocations: 5.635 MB / 0.6425 GB, free: 117 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/1.615, allocations: 14.22 kB / 0.6425 GB, free: 117 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004152/1.62, allocations: 0.9727 MB / 0.6435 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03552/1.655, allocations: 4.731 MB / 0.6481 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02314/1.678, allocations: 6.329 MB / 0.6543 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004851/1.679, allocations: 450.7 kB / 0.6547 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002802/1.682, allocations: 0.5402 MB / 0.6552 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04127/1.723, allocations: 14.01 MB / 0.6689 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003187/1.723, allocations: 68.66 kB / 0.669 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002072/1.725, allocations: 263.1 kB / 0.6692 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002712/1.728, allocations: 1.3 MB / 0.6705 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03683/1.765, allocations: 11.44 MB / 0.6817 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08977/1.855, allocations: 59.29 MB / 0.7396 GB, free: 58.44 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0206/1.876, allocations: 4.614 MB / 0.7441 GB, free: 54.46 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005454/1.881, allocations: 2.718 MB / 0.7467 GB, free: 51.94 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02803/1.909, allocations: 12.58 MB / 0.759 GB, free: 38.88 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.091e-05/1.909, allocations: 59.81 kB / 0.7591 GB, free: 38.81 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=191): time 6.963e-06/1.909, allocations: 0 / 0.7591 GB, free: 38.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=242): time 0.1776/2.087, allocations: 32.72 MB / 0.791 GB, free: 5.945 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.085e-05/2.087, allocations: 227.6 kB / 0.7912 GB, free: 5.676 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01015/2.097, allocations: 4.178 MB / 0.7953 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001019/2.098, allocations: 61.7 kB / 0.7954 GB, free: 1.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.006739/2.105, allocations: 3.904 MB / 0.7992 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002613/2.108, allocations: 0.92 MB / 0.8001 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001949/2.11, allocations: 144 kB / 0.8002 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001254/2.111, allocations: 0.6079 MB / 0.8008 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01415/2.125, allocations: 3.158 MB / 0.8039 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4162/2.542, allocations: 7.387 MB / 0.8111 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03083/2.573, allocations: 4.743 MB / 0.8157 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002261/2.573, allocations: 42.97 kB / 0.8158 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=942) (initialization): time 0.0838/2.657, allocations: 13.26 MB / 0.8287 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001673/2.657, allocations: 69.81 kB / 0.8288 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003393/2.657, allocations: 154.7 kB / 0.8289 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02149/2.679, allocations: 3.795 MB / 0.8326 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01028/2.689, allocations: 1.617 MB / 0.8342 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05702/2.746, allocations: 18.01 MB / 0.8518 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01342/2.76, allocations: 489.5 kB / 0.8523 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002102/2.762, allocations: 433.2 kB / 0.8527 GB, free: 113.3 MB / 0.5261 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.003278/2.765, allocations: 0.6472 MB / 0.8533 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001598/2.767, allocations: 437.3 kB / 0.8537 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03524/2.802, allocations: 8.074 MB / 0.8616 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-05/2.802, allocations: 26.19 kB / 0.8617 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.133e-05/2.802, allocations: 11.44 kB / 0.8617 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-05/2.802, allocations: 10.83 kB / 0.8617 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06/2.862, allocations: 17.39 MB / 0.8787 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.607e-05/2.862, allocations: 5.5 kB / 0.8787 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003805/2.866, allocations: 387.1 kB / 0.879 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0213/2.887, allocations: 3.849 MB / 0.8828 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006625/2.888, allocations: 41.92 kB / 0.8828 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03827/2.926, allocations: 16.45 MB / 0.8989 GB, free: 96.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/2.926, allocations: 7.625 kB / 0.8989 GB, free: 96.65 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03819/2.965, allocations: 12.54 MB / 0.9112 GB, free: 87.46 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001561/2.966, allocations: 468.6 kB / 0.9116 GB, free: 87 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001437/2.968, allocations: 47.86 kB / 0.9116 GB, free: 86.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004955/2.973, allocations: 209.2 kB / 0.9118 GB, free: 86.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009954/2.974, allocations: 149 kB / 0.912 GB, free: 86.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003177/2.974, allocations: 64.08 kB / 0.912 GB, free: 86.69 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006737/2.981, allocations: 2.9 MB / 0.9149 GB, free: 84.12 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.262e-06/2.981, allocations: 2.625 kB / 0.9149 GB, free: 84.12 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009594/2.991, allocations: 1.458 MB / 0.9163 GB, free: 82.69 MB / 0.5261 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.03874/3.029, allocations: 13.45 MB / 0.9294 GB, free: 71.02 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01647/3.046, allocations: 7.508 MB / 0.9368 GB, free: 63.53 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/3.046, allocations: 4 kB / 0.9368 GB, free: 63.53 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006329/3.052, allocations: 2.875 MB / 0.9396 GB, free: 60.64 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004192/3.056, allocations: 495.2 kB / 0.9401 GB, free: 60.17 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03775/3.094, allocations: 12.4 MB / 0.9522 GB, free: 47.74 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008534/3.103, allocations: 4.218 MB / 0.9563 GB, free: 43.53 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009625/3.113, allocations: 2.183 MB / 0.9584 GB, free: 41.36 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00548/3.118, allocations: 2.471 MB / 0.9608 GB, free: 38.89 MB / 0.5261 GB Notification: Performance of SimCode: time 1.203e-06/3.118, allocations: 0 / 0.9608 GB, free: 38.89 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6371/3.755, allocations: 110.2 MB / 1.068 GB, free: 124.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002867/3.756, allocations: 164 kB / 1.069 GB, free: 124.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.321/10.08, allocations: 0 / 1.069 GB, free: 124.5 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat does not exist to compare? outputFormat=mat