Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 3.105/3.105, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.884e-05/4.921e-05, allocations: 6.656 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.403, allocations: 58.83 MB / 382.3 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2122/0.6153, allocations: 102.3 MB / 484.6 MB, free: 6.191 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.6156, allocations: 71.97 kB / 484.7 MB, free: 6.121 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.7128/1.328, allocations: 86.51 MB / 0.5578 GB, free: 111.5 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.715e-06/1.328, allocations: 3.938 kB / 0.5578 GB, free: 111.5 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0001885/1.329, allocations: 75.94 kB / 0.5579 GB, free: 111.5 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: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.01362/1.342, allocations: 3.663 MB / 0.5614 GB, free: 109.7 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/1.342, allocations: 10.72 kB / 0.5615 GB, free: 109.7 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003906/1.346, allocations: 0.7862 MB / 0.5622 GB, free: 109.3 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0335/1.38, allocations: 3.516 MB / 0.5657 GB, free: 108.9 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02354/1.403, allocations: 4.156 MB / 0.5697 GB, free: 105.8 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004994/1.404, allocations: 297.1 kB / 0.57 GB, free: 105.5 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003284/1.407, allocations: 394.2 kB / 0.5704 GB, free: 105.2 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04267/1.45, allocations: 10.18 MB / 0.5803 GB, free: 94.64 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002045/1.45, allocations: 23.8 kB / 0.5803 GB, free: 94.61 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002378/1.453, allocations: 180.6 kB / 0.5805 GB, free: 94.47 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002758/1.456, allocations: 1.219 MB / 0.5817 GB, free: 93.25 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02748/1.483, allocations: 9.747 MB / 0.5912 GB, free: 83.49 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07535/1.558, allocations: 35.6 MB / 0.626 GB, free: 47.25 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02014/1.579, allocations: 4.907 MB / 0.6308 GB, free: 42.11 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005053/1.584, allocations: 2.281 MB / 0.633 GB, free: 39.82 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002253/1.586, allocations: 1.877 MB / 0.6348 GB, free: 37.62 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.492e-05/1.586, allocations: 52.56 kB / 0.6349 GB, free: 37.57 MB / 458.8 MB Notification: Performance of pre-optimization done (n=229): time 7.024e-06/1.586, allocations: 4 kB / 0.6349 GB, free: 37.56 MB / 458.8 MB Notification: Performance of matching and sorting (n=235): time 0.0445/1.631, allocations: 11.25 MB / 0.6459 GB, free: 26.27 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/1.631, allocations: 73.41 kB / 0.646 GB, free: 26.19 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004867/1.636, allocations: 2.367 MB / 0.6483 GB, free: 23.8 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005073/1.636, allocations: 57.7 kB / 0.6483 GB, free: 23.74 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002/1.638, allocations: 2.701 MB / 0.651 GB, free: 21.04 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001259/1.64, allocations: 0.8586 MB / 0.6518 GB, free: 20.18 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006275/1.64, allocations: 100 kB / 0.6519 GB, free: 20.09 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0004652/1.641, allocations: 0.5332 MB / 0.6524 GB, free: 19.55 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005271/1.646, allocations: 2.142 MB / 0.6545 GB, free: 17.4 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006977/1.653, allocations: 5.024 MB / 0.6594 GB, free: 10.94 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006913/1.66, allocations: 3.316 MB / 0.6626 GB, free: 7.625 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.113e-05/1.66, allocations: 28 kB / 0.6627 GB, free: 7.598 MB / 458.8 MB Notification: Performance of matching and sorting (n=699) (initialization): time 0.02093/1.681, allocations: 7.528 MB / 0.67 GB, free: 60 kB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.06e-05/1.681, allocations: 48 kB / 0.6701 GB, free: 12 kB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000195/1.681, allocations: 104 kB / 0.6702 GB, free: 15.91 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004258/1.686, allocations: 0.7967 MB / 0.6709 GB, free: 15.11 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008241/1.694, allocations: 1.201 MB / 0.6721 GB, free: 13.91 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009626/1.704, allocations: 4.138 MB / 0.6762 GB, free: 9.637 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005514/1.709, allocations: 291.8 kB / 0.6764 GB, free: 9.352 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001307/1.711, allocations: 308 kB / 0.6767 GB, free: 9.051 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 464 * Number of states: 0 () * Number of discrete variables: 27 (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.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 (639): * Single equations (assignments): 632 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00128/1.712, allocations: 0.4925 MB / 0.6772 GB, free: 8.551 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007419/1.713, allocations: 264.5 kB / 0.6775 GB, free: 8.289 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01439/1.727, allocations: 4.666 MB / 0.682 GB, free: 3.602 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001219/1.727, allocations: 43.98 kB / 0.6821 GB, free: 3.559 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/1.727, allocations: 4 kB / 0.6821 GB, free: 3.555 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-05/1.727, allocations: 7.969 kB / 0.6821 GB, free: 3.547 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03246/1.76, allocations: 10.59 MB / 0.6924 GB, free: 8.84 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-05/1.76, allocations: 4 kB / 0.6924 GB, free: 8.836 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003465/1.763, allocations: 363.4 kB / 0.6928 GB, free: 8.48 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003939/1.767, allocations: 0.6489 MB / 0.6934 GB, free: 7.828 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005795/1.768, allocations: 44 kB / 0.6934 GB, free: 7.785 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008416/1.776, allocations: 3.592 MB / 0.697 GB, free: 4.062 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.57e-05/1.777, allocations: 11.94 kB / 0.697 GB, free: 4.051 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02002/1.797, allocations: 7.615 MB / 0.7044 GB, free: 12.15 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002599/1.799, allocations: 0.6498 MB / 0.705 GB, free: 11.48 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001054/1.8, allocations: 43.48 kB / 0.7051 GB, free: 11.44 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003014/1.803, allocations: 139.8 kB / 0.7052 GB, free: 11.3 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008217/1.804, allocations: 129 kB / 0.7053 GB, free: 11.18 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004087/1.805, allocations: 72 kB / 0.7054 GB, free: 11.11 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.004528/1.809, allocations: 1.608 MB / 0.707 GB, free: 9.484 MB / 0.4949 GB Notification: Performance of sort global known variables: time 8.02e-07/1.809, allocations: 0 / 0.707 GB, free: 9.484 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.006947/1.816, allocations: 0.9522 MB / 0.7079 GB, free: 8.535 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (178): * Single equations (assignments): 171 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.4137/2.23, allocations: 10.05 MB / 0.7177 GB, free: 143.8 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01441/2.244, allocations: 5.112 MB / 0.7227 GB, free: 143.6 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/2.245, allocations: 3.906 kB / 0.7227 GB, free: 143.6 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.00483/2.249, allocations: 1.972 MB / 0.7246 GB, free: 143.5 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002862/2.252, allocations: 305.9 kB / 0.7249 GB, free: 143.5 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03224/2.285, allocations: 9.321 MB / 0.734 GB, free: 141.8 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008123/2.293, allocations: 3.312 MB / 0.7373 GB, free: 141 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01142/2.304, allocations: 1.973 MB / 0.7392 GB, free: 141 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007875/2.312, allocations: 1.786 MB / 0.7409 GB, free: 139.6 MB / 0.4949 GB Notification: Performance of SimCode: time 2.034e-06/2.312, allocations: 0 / 0.7409 GB, free: 139.6 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1823/2.495, allocations: 64.9 MB / 0.8043 GB, free: 94.53 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/2.495, allocations: 168.8 kB / 0.8045 GB, free: 94.3 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.089/7.584, allocations: 0 / 0.8045 GB, free: 94.3 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat does not exist to compare? outputFormat=mat