Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.218/2.218, allocations: 235 MB / 247.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.805e-05/3.834e-05, allocations: 4 kB / 305 MB, free: 5.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.3991, allocations: 54.86 MB / 359.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1831/0.5822, allocations: 101.4 MB / 461.3 MB, free: 11.47 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.5826, allocations: 79.95 kB / 461.3 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8772/1.46, allocations: 128.8 MB / 0.5764 GB, free: 99.98 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.355e-06/1.46, allocations: 0 / 0.5764 GB, free: 99.98 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004455/1.46, allocations: 135.2 kB / 0.5765 GB, free: 99.98 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2320 * Number of variables: 2320 Notification: Performance of Generate backend data structure: time 0.02711/1.487, allocations: 6.558 MB / 0.5829 GB, free: 96.84 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/1.487, allocations: 10.22 kB / 0.5829 GB, free: 96.84 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00538/1.493, allocations: 1.154 MB / 0.584 GB, free: 96.29 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05775/1.551, allocations: 7.12 MB / 0.591 GB, free: 94.22 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0278/1.579, allocations: 7.376 MB / 0.5982 GB, free: 90.19 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000633/1.579, allocations: 496.7 kB / 0.5987 GB, free: 90 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003857/1.583, allocations: 0.6556 MB / 0.5993 GB, free: 89.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0494/1.633, allocations: 16.17 MB / 0.6151 GB, free: 72.34 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005153/1.633, allocations: 87.12 kB / 0.6152 GB, free: 72.25 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003598/1.637, allocations: 323 kB / 0.6155 GB, free: 71.98 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003676/1.64, allocations: 1.547 MB / 0.617 GB, free: 70.43 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04235/1.683, allocations: 13.15 MB / 0.6298 GB, free: 57.24 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4919/2.175, allocations: 72.5 MB / 0.7006 GB, free: 94.36 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03614/2.211, allocations: 7.432 MB / 0.7079 GB, free: 93.67 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008841/2.22, allocations: 3.82 MB / 0.7116 GB, free: 93.63 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02885/2.249, allocations: 9.651 MB / 0.721 GB, free: 92.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.731e-05/2.249, allocations: 67.89 kB / 0.7211 GB, free: 92.16 MB / 474.7 MB Notification: Performance of pre-optimization done (n=273): time 6.713e-06/2.249, allocations: 2.188 kB / 0.7211 GB, free: 92.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=315): time 0.1319/2.381, allocations: 27.63 MB / 0.7481 GB, free: 86.05 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/2.381, allocations: 238.7 kB / 0.7483 GB, free: 85.79 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01685/2.398, allocations: 6.008 MB / 0.7542 GB, free: 83.65 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001045/2.399, allocations: 80.09 kB / 0.7543 GB, free: 83.58 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005252/2.404, allocations: 4.698 MB / 0.7588 GB, free: 79.96 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002198/2.407, allocations: 1.189 MB / 0.76 GB, free: 79.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001858/2.409, allocations: 176.1 kB / 0.7602 GB, free: 78.96 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001194/2.41, allocations: 0.6831 MB / 0.7608 GB, free: 78.49 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009893/2.42, allocations: 3.476 MB / 0.7642 GB, free: 77.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01331/2.433, allocations: 8.604 MB / 0.7726 GB, free: 69.25 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01308/2.446, allocations: 5.422 MB / 0.7779 GB, free: 67.65 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002054/2.447, allocations: 49.44 kB / 0.778 GB, free: 67.65 MB / 474.7 MB Notification: Performance of matching and sorting (n=1154) (initialization): time 0.03859/2.485, allocations: 13.36 MB / 0.791 GB, free: 61.66 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001403/2.485, allocations: 80.22 kB / 0.7911 GB, free: 61.58 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002959/2.486, allocations: 184 kB / 0.7913 GB, free: 61.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007306/2.493, allocations: 1.679 MB / 0.7929 GB, free: 60.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.014/2.507, allocations: 2.109 MB / 0.795 GB, free: 58.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02197/2.529, allocations: 11.21 MB / 0.8059 GB, free: 48.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01158/2.541, allocations: 0.5305 MB / 0.8064 GB, free: 47.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002375/2.543, allocations: 0.5256 MB / 0.8069 GB, free: 47.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 824 * Number of states: 0 () * Number of discrete variables: 60 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (1084): * Single equations (assignments): 1079 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003746/2.547, allocations: 0.7776 MB / 0.8077 GB, free: 46.52 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00208/2.549, allocations: 0.5862 MB / 0.8083 GB, free: 45.92 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0219/2.571, allocations: 6.743 MB / 0.8149 GB, free: 40.46 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.381e-05/2.571, allocations: 32 kB / 0.8149 GB, free: 40.43 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-05/2.571, allocations: 8 kB / 0.8149 GB, free: 40.43 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.68e-05/2.571, allocations: 18.39 kB / 0.8149 GB, free: 40.42 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04936/2.621, allocations: 15.14 MB / 0.8297 GB, free: 27.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.916e-05/2.621, allocations: 8 kB / 0.8297 GB, free: 27.28 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006186/2.627, allocations: 0.5864 MB / 0.8303 GB, free: 26.69 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006701/2.634, allocations: 1.395 MB / 0.8317 GB, free: 25.29 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001004/2.635, allocations: 70.25 kB / 0.8317 GB, free: 25.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02154/2.656, allocations: 10.41 MB / 0.8419 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/2.656, allocations: 8 kB / 0.8419 GB, free: 14.56 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02994/2.686, allocations: 11.82 MB / 0.8534 GB, free: 2.508 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004917/2.691, allocations: 1.153 MB / 0.8546 GB, free: 1.328 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002403/2.694, allocations: 53.81 kB / 0.8546 GB, free: 1.277 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006424/2.7, allocations: 216.5 kB / 0.8548 GB, free: 1.066 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001425/2.702, allocations: 190 kB / 0.855 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003819/2.702, allocations: 83.98 kB / 0.8551 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01315/2.715, allocations: 4.292 MB / 0.8593 GB, free: 12.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.222e-06/2.715, allocations: 0 / 0.8593 GB, free: 12.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01232/2.728, allocations: 1.633 MB / 0.8609 GB, free: 10.89 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (260): * Single equations (assignments): 255 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03502/2.763, allocations: 13.19 MB / 0.8737 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.3848/3.148, allocations: 8.617 MB / 0.8822 GB, free: 128.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/3.148, allocations: 0.9688 kB / 0.8822 GB, free: 128.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01142/3.159, allocations: 3.408 MB / 0.8855 GB, free: 128.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007227/3.166, allocations: 0.7 MB / 0.8862 GB, free: 128.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05699/3.224, allocations: 15.2 MB / 0.901 GB, free: 125.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01236/3.236, allocations: 4.931 MB / 0.9058 GB, free: 124.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01456/3.251, allocations: 2.956 MB / 0.9087 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008871/3.259, allocations: 3.161 MB / 0.9118 GB, free: 124.6 MB / 0.4948 GB Notification: Performance of SimCode: time 2.124e-06/3.26, allocations: 0 / 0.9118 GB, free: 124.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.311/3.571, allocations: 130.6 MB / 1.039 GB, free: 29.69 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/3.571, allocations: 159.9 kB / 1.04 GB, free: 29.46 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.087/11.66, allocations: 0 / 1.04 GB, free: 29.46 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force_res.mat does not exist to compare? outputFormat=mat