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.347/2.347, allocations: 235.1 MB / 242.2 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.005e-05/3.015e-05, allocations: 4 kB / 299.5 MB, free: 6.348 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3632, allocations: 54.86 MB / 354.3 MB, free: 32 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1836/0.5468, allocations: 100.7 MB / 455.1 MB, free: 11.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/0.5472, allocations: 71.97 kB / 455.2 MB, free: 11.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8074/1.355, allocations: 125.9 MB / 0.5674 GB, free: 27.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.855e-06/1.355, allocations: 0 / 0.5674 GB, free: 27.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005001/1.355, allocations: 128 kB / 0.5676 GB, free: 27.57 MB / 410.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.02773/1.383, allocations: 6.547 MB / 0.5739 GB, free: 20.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/1.383, allocations: 12.03 kB / 0.574 GB, free: 20.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05191/1.435, allocations: 7.12 MB / 0.5809 GB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02658/1.462, allocations: 7.373 MB / 0.5881 GB, free: 6.336 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004716/1.462, allocations: 212 kB / 0.5883 GB, free: 6.129 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003738/1.466, allocations: 387.9 kB / 0.5887 GB, free: 5.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03654/1.502, allocations: 9.16 MB / 0.5976 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05978/1.562, allocations: 14.09 MB / 0.6114 GB, free: 13.05 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005241/1.563, allocations: 95.09 kB / 0.6115 GB, free: 12.96 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003035/1.566, allocations: 44 kB / 0.6115 GB, free: 12.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004224/1.57, allocations: 1.545 MB / 0.613 GB, free: 11.36 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5137/2.084, allocations: 69.07 MB / 0.6805 GB, free: 44.93 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01148/2.096, allocations: 5.356 MB / 0.6857 GB, free: 44.24 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006883/2.102, allocations: 3.643 MB / 0.6893 GB, free: 44.2 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/2.104, allocations: 394 kB / 0.6896 GB, free: 43.91 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.018e-05/2.104, allocations: 65.81 kB / 0.6897 GB, free: 43.87 MB / 458.7 MB Notification: Performance of pre-optimization done (n=272): time 8.275e-06/2.104, allocations: 0 / 0.6897 GB, free: 43.87 MB / 458.7 MB Notification: Performance of matching and sorting (n=316): time 0.1045/2.208, allocations: 28.9 MB / 0.7179 GB, free: 37.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/2.208, allocations: 245.6 kB / 0.7182 GB, free: 37.35 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0137/2.222, allocations: 4.66 MB / 0.7227 GB, free: 35.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009747/2.223, allocations: 25.7 kB / 0.7227 GB, free: 35.67 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004646/2.228, allocations: 4.77 MB / 0.7274 GB, free: 32.24 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002253/2.23, allocations: 1.165 MB / 0.7285 GB, free: 31.38 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001865/2.232, allocations: 0 / 0.7285 GB, free: 31.38 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.00111/2.233, allocations: 0.6884 MB / 0.7292 GB, free: 30.91 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009059/2.242, allocations: 3.392 MB / 0.7325 GB, free: 29.69 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01289/2.255, allocations: 8.644 MB / 0.741 GB, free: 21.39 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01251/2.268, allocations: 5.351 MB / 0.7462 GB, free: 19.75 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002675/2.268, allocations: 57.36 kB / 0.7462 GB, free: 19.74 MB / 458.7 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.03713/2.305, allocations: 12.37 MB / 0.7583 GB, free: 10.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001568/2.305, allocations: 84 kB / 0.7584 GB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002967/2.306, allocations: 188 kB / 0.7586 GB, free: 10.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00715/2.313, allocations: 1.697 MB / 0.7602 GB, free: 9.059 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01411/2.327, allocations: 2.178 MB / 0.7624 GB, free: 7.199 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02228/2.349, allocations: 10.61 MB / 0.7727 GB, free: 13.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01087/2.36, allocations: 372 kB / 0.7731 GB, free: 13.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002631/2.363, allocations: 0.5404 MB / 0.7736 GB, free: 12.94 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 854 * 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 (1122): * Single equations (assignments): 1117 * 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%) 20,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004052/2.367, allocations: 0.5766 MB / 0.7742 GB, free: 12.36 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02185/2.389, allocations: 6.501 MB / 0.7805 GB, free: 6.945 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002411/2.392, allocations: 0.5013 MB / 0.781 GB, free: 6.438 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02379/2.415, allocations: 6.528 MB / 0.7874 GB, free: 1.199 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000118/2.416, allocations: 32 kB / 0.7874 GB, free: 1.168 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.036e-05/2.416, allocations: 11.95 kB / 0.7874 GB, free: 1.156 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.672e-05/2.416, allocations: 18.42 kB / 0.7875 GB, free: 1.156 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0557/2.471, allocations: 13.92 MB / 0.801 GB, free: 6.422 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.63e-05/2.472, allocations: 4.188 kB / 0.801 GB, free: 6.418 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008291/2.48, allocations: 0.5677 MB / 0.8016 GB, free: 5.973 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01018/2.49, allocations: 1.379 MB / 0.8029 GB, free: 5.012 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00123/2.491, allocations: 11.09 kB / 0.803 GB, free: 5.004 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03755/2.529, allocations: 9.835 MB / 0.8126 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.867e-05/2.529, allocations: 7.891 kB / 0.8126 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04727/2.576, allocations: 11.01 MB / 0.8233 GB, free: 2.199 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006577/2.583, allocations: 1.033 MB / 0.8243 GB, free: 1.141 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00337/2.586, allocations: 11.89 kB / 0.8243 GB, free: 1.129 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006972/2.593, allocations: 167.7 kB / 0.8245 GB, free: 0.9648 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001405/2.595, allocations: 186.4 kB / 0.8247 GB, free: 0.7852 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008873/2.596, allocations: 80 kB / 0.8248 GB, free: 0.707 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.4091/3.005, allocations: 3.142 MB / 0.8278 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.12e-07/3.005, allocations: 0 / 0.8278 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01222/3.017, allocations: 1.399 MB / 0.8292 GB, free: 121.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 8 (Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.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 (259): * Single equations (assignments): 254 * 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.03055/3.048, allocations: 12.14 MB / 0.841 GB, free: 119.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02084/3.069, allocations: 8.536 MB / 0.8494 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/3.069, allocations: 0 / 0.8494 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009519/3.078, allocations: 3.344 MB / 0.8526 GB, free: 119 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005806/3.084, allocations: 0.5197 MB / 0.8532 GB, free: 118.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04948/3.134, allocations: 14.71 MB / 0.8675 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01249/3.146, allocations: 4.933 MB / 0.8723 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01942/3.166, allocations: 2.969 MB / 0.8752 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01085/3.177, allocations: 3.094 MB / 0.8783 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.583e-06/3.177, allocations: 0 / 0.8783 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3003/3.477, allocations: 115.1 MB / 0.9906 GB, free: 21.39 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000233/3.477, allocations: 119.9 kB / 0.9907 GB, free: 21.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.238/10.72, allocations: 4 kB / 0.9907 GB, free: 21.2 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