Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.498/2.498, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.666e-05/3.683e-05, allocations: 4 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1345, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5336/0.6681, allocations: 106.8 MB / 0.5051 GB, free: 13.12 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.6685, allocations: 79.95 kB / 0.5051 GB, free: 13.04 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.997/1.665, allocations: 128.6 MB / 0.6307 GB, free: 114 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.164e-06/1.666, allocations: 0 / 0.6307 GB, free: 114 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004484/1.666, allocations: 114.8 kB / 0.6308 GB, free: 114 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: 2169 * Number of variables: 2169 Notification: Performance of Generate backend data structure: time 0.02887/1.695, allocations: 6.157 MB / 0.6368 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/1.695, allocations: 8.875 kB / 0.6368 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006028/1.701, allocations: 1.084 MB / 0.6379 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05014/1.751, allocations: 6.432 MB / 0.6442 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02825/1.779, allocations: 7.947 MB / 0.6519 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005627/1.78, allocations: 435 kB / 0.6523 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004298/1.784, allocations: 0.5679 MB / 0.6529 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04874/1.833, allocations: 15.06 MB / 0.6676 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004056/1.834, allocations: 63.22 kB / 0.6677 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003098/1.837, allocations: 257.7 kB / 0.6679 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003793/1.841, allocations: 1.654 MB / 0.6695 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04403/1.885, allocations: 14.39 MB / 0.6836 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1164/2.001, allocations: 55.44 MB / 0.7377 GB, free: 60.05 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02975/2.031, allocations: 7.933 MB / 0.7455 GB, free: 52.47 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009556/2.041, allocations: 4.687 MB / 0.75 GB, free: 47.79 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00273/2.043, allocations: 2.214 MB / 0.7522 GB, free: 45.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.017e-05/2.044, allocations: 65.08 kB / 0.7523 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=367): time 8.747e-06/2.044, allocations: 0 / 0.7523 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=419): time 0.1878/2.231, allocations: 33.18 MB / 0.7847 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.067e-05/2.231, allocations: 116 kB / 0.7848 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008826/2.24, allocations: 3.749 MB / 0.7884 GB, free: 8.059 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001173/2.242, allocations: 91.73 kB / 0.7885 GB, free: 7.965 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003322/2.245, allocations: 3.833 MB / 0.7923 GB, free: 4.125 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002603/2.248, allocations: 1.49 MB / 0.7937 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001608/2.249, allocations: 152 kB / 0.7939 GB, free: 2.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0007182/2.25, allocations: 0.6326 MB / 0.7945 GB, free: 1.863 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01023/2.26, allocations: 3.822 MB / 0.7982 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01444/2.275, allocations: 7.52 MB / 0.8056 GB, free: 4.711 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3972/2.672, allocations: 5.392 MB / 0.8108 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001354/2.672, allocations: 37.55 kB / 0.8109 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1011) (initialization): time 0.04676/2.719, allocations: 13.53 MB / 0.8241 GB, free: 114 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001309/2.719, allocations: 66.3 kB / 0.8241 GB, free: 114 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002595/2.719, allocations: 128.2 kB / 0.8243 GB, free: 114 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01446/2.734, allocations: 2.627 MB / 0.8268 GB, free: 114 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01447/2.748, allocations: 1.934 MB / 0.8287 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02933/2.778, allocations: 13.61 MB / 0.842 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009628/2.787, allocations: 483.6 kB / 0.8425 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002069/2.79, allocations: 423.3 kB / 0.8429 GB, free: 111.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * Number of states: 0 () * Number of discrete variables: 50 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (914): * Single equations (assignments): 906 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,69.4%) 32,(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002378/2.792, allocations: 0.6526 MB / 0.8435 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001245/2.793, allocations: 468.4 kB / 0.844 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03182/2.825, allocations: 10.34 MB / 0.8541 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000143/2.825, allocations: 63.31 kB / 0.8541 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-05/2.825, allocations: 10.28 kB / 0.8541 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001173/2.825, allocations: 18.14 kB / 0.8541 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0629/2.888, allocations: 20.88 MB / 0.8745 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-05/2.888, allocations: 11.22 kB / 0.8745 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007616/2.896, allocations: 0.794 MB / 0.8753 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01295/2.909, allocations: 2.403 MB / 0.8777 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001031/2.91, allocations: 78.22 kB / 0.8777 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02612/2.936, allocations: 12.35 MB / 0.8898 GB, free: 96.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.46e-05/2.936, allocations: 21.59 kB / 0.8898 GB, free: 96.48 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03932/2.976, allocations: 16.12 MB / 0.9056 GB, free: 87.77 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001711/2.977, allocations: 498.6 kB / 0.906 GB, free: 87.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002343/2.98, allocations: 80 kB / 0.9061 GB, free: 87.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006253/2.986, allocations: 300.6 kB / 0.9064 GB, free: 87.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001547/2.988, allocations: 257.2 kB / 0.9066 GB, free: 86.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006109/2.988, allocations: 117.9 kB / 0.9068 GB, free: 86.74 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006934/2.995, allocations: 2.622 MB / 0.9093 GB, free: 84.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.222e-06/2.995, allocations: 0 / 0.9093 GB, free: 84.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01051/3.006, allocations: 1.64 MB / 0.9109 GB, free: 82.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (334): * Single equations (assignments): 326 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(6,69.4%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04089/3.047, allocations: 19.35 MB / 0.9298 GB, free: 65.39 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02229/3.069, allocations: 9.344 MB / 0.9389 GB, free: 57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.601e-05/3.069, allocations: 0 / 0.9389 GB, free: 57 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01017/3.079, allocations: 4.141 MB / 0.943 GB, free: 53.28 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005898/3.085, allocations: 0.6531 MB / 0.9436 GB, free: 52.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04469/3.13, allocations: 15.13 MB / 0.9584 GB, free: 39.04 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009052/3.139, allocations: 4.672 MB / 0.963 GB, free: 34.34 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01236/3.152, allocations: 2.729 MB / 0.9656 GB, free: 31.62 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007204/3.159, allocations: 2.85 MB / 0.9684 GB, free: 28.77 MB / 0.5261 GB Notification: Performance of SimCode: time 1.783e-06/3.159, allocations: 0 / 0.9684 GB, free: 28.77 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6817/3.841, allocations: 121.1 MB / 1.087 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/3.841, allocations: 167.5 kB / 1.087 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.606/10.45, allocations: 0 / 1.087 GB, free: 107.6 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2_res.mat does not exist to compare? outputFormat=mat