Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.443/2.443, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.7e-05/8.731e-05, allocations: 4 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1452, allocations: 61.88 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6402/0.7854, allocations: 112.2 MB / 0.5103 GB, free: 7.789 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/0.7858, allocations: 72.81 kB / 0.5104 GB, free: 7.719 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.373/2.159, allocations: 222.6 MB / 0.7278 GB, free: 74.67 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.214e-06/2.159, allocations: 0 / 0.7278 GB, free: 74.67 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0009619/2.16, allocations: 232 kB / 0.728 GB, free: 74.44 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: 4009 * Number of variables: 4009 Notification: Performance of Generate backend data structure: time 0.05146/2.212, allocations: 11.54 MB / 0.7393 GB, free: 62.81 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/2.212, allocations: 8.031 kB / 0.7393 GB, free: 62.8 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009822/2.222, allocations: 1.997 MB / 0.7412 GB, free: 60.79 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09154/2.313, allocations: 12.61 MB / 0.7536 GB, free: 48.14 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06028/2.374, allocations: 12.22 MB / 0.7655 GB, free: 35.83 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001525/2.375, allocations: 0.8706 MB / 0.7663 GB, free: 34.96 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008764/2.384, allocations: 1.171 MB / 0.7675 GB, free: 33.79 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.129/2.513, allocations: 27.83 MB / 0.7947 GB, free: 3.801 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001053/2.514, allocations: 138.7 kB / 0.7948 GB, free: 3.664 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00668/2.521, allocations: 0.5466 MB / 0.7953 GB, free: 3.117 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007757/2.529, allocations: 2.573 MB / 0.7978 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5191/3.048, allocations: 22.14 MB / 0.8195 GB, free: 81.41 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2352/3.283, allocations: 120.2 MB / 0.9369 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06743/3.351, allocations: 13.77 MB / 0.9503 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0146/3.365, allocations: 7.269 MB / 0.9574 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04889/3.414, allocations: 17.77 MB / 0.9748 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001192/3.415, allocations: 87.78 kB / 0.9748 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=469): time 9.077e-06/3.415, allocations: 0 / 0.9748 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of matching and sorting (n=553): time 0.2931/3.708, allocations: 56.74 MB / 1.03 GB, free: 0.7266 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002373/3.708, allocations: 362.8 kB / 1.031 GB, free: 308 kB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4844/4.192, allocations: 10.12 MB / 1.04 GB, free: 134.3 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001927/4.194, allocations: 107.4 kB / 1.041 GB, free: 134.3 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.01032/4.205, allocations: 7.857 MB / 1.048 GB, free: 132.4 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00425/4.209, allocations: 2.055 MB / 1.05 GB, free: 131.2 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003276/4.212, allocations: 281.8 kB / 1.051 GB, free: 131.2 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.002113/4.214, allocations: 0.8982 MB / 1.051 GB, free: 130.8 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01779/4.232, allocations: 5.778 MB / 1.057 GB, free: 130.8 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02327/4.256, allocations: 13.52 MB / 1.07 GB, free: 120.9 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0213/4.277, allocations: 8.762 MB / 1.079 GB, free: 120.8 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004059/4.277, allocations: 77.47 kB / 1.079 GB, free: 120.8 MB / 0.573 GB Notification: Performance of matching and sorting (n=1816) (initialization): time 0.0682/4.346, allocations: 21.37 MB / 1.1 GB, free: 116.4 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002983/4.346, allocations: 123.2 kB / 1.1 GB, free: 116.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005723/4.347, allocations: 280.1 kB / 1.1 GB, free: 116.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01453/4.361, allocations: 3.244 MB / 1.103 GB, free: 115.8 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02364/4.385, allocations: 3.371 MB / 1.107 GB, free: 115.4 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04382/4.429, allocations: 22.41 MB / 1.128 GB, free: 103.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02004/4.449, allocations: 0.8226 MB / 1.129 GB, free: 103.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004128/4.453, allocations: 0.8094 MB / 1.13 GB, free: 103 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1252 * Number of states: 0 () * Number of discrete variables: 138 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueArrow.arrowLine.twoHeadedArrow,force4.torqueArrow.headAtOrigin,force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceArrow.arrowLine.twoHeadedArrow,force4.forceArrow.headAtOrigin,force4.forceArrow.color[3],force4.forceArrow.color[2],force4.forceArrow.color[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueArrow.arrowLine.twoHeadedArrow,force3.torqueArrow.headAtOrigin,force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceArrow.arrowLine.twoHeadedArrow,force3.forceArrow.headAtOrigin,force3.forceArrow.color[3],force3.forceArrow.color[2],force3.forceArrow.color[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],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.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,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.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 (1698): * Single equations (assignments): 1691 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 23,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006991/4.46, allocations: 1.205 MB / 1.131 GB, free: 102.1 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003296/4.463, allocations: 0.9976 MB / 1.132 GB, free: 101.5 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04124/4.505, allocations: 12.67 MB / 1.145 GB, free: 93.39 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001138/4.505, allocations: 56.55 kB / 1.145 GB, free: 93.34 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.126e-05/4.505, allocations: 16 kB / 1.145 GB, free: 93.32 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001697/4.505, allocations: 35.03 kB / 1.145 GB, free: 93.32 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09171/4.597, allocations: 28.81 MB / 1.173 GB, free: 70.12 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.616e-05/4.597, allocations: 8 kB / 1.173 GB, free: 70.12 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0112/4.608, allocations: 1.11 MB / 1.174 GB, free: 69.28 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01331/4.622, allocations: 2.806 MB / 1.177 GB, free: 67.31 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001876/4.624, allocations: 103.8 kB / 1.177 GB, free: 67.21 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04304/4.667, allocations: 21.02 MB / 1.197 GB, free: 48.39 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.3e-05/4.667, allocations: 15.94 kB / 1.197 GB, free: 48.38 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05359/4.72, allocations: 22.72 MB / 1.22 GB, free: 27.58 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004688/4.725, allocations: 1.102 MB / 1.221 GB, free: 26.5 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004883/4.73, allocations: 100.9 kB / 1.221 GB, free: 26.41 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01107/4.741, allocations: 380 kB / 1.221 GB, free: 26.17 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002505/4.744, allocations: 359.8 kB / 1.221 GB, free: 25.94 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001806/4.746, allocations: 143.3 kB / 1.222 GB, free: 25.8 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.02266/4.768, allocations: 7.291 MB / 1.229 GB, free: 19.44 MB / 0.573 GB Notification: Performance of sort global known variables: time 9.31e-07/4.768, allocations: 4 kB / 1.229 GB, free: 19.43 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02229/4.791, allocations: 2.794 MB / 1.231 GB, free: 16.64 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (463): * Single equations (assignments): 456 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 17,(4,75.0%) 17,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.6992/5.49, allocations: 24.12 MB / 1.255 GB, free: 114.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.05205/5.542, allocations: 14.13 MB / 1.269 GB, free: 114.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.218e-05/5.542, allocations: 3.375 kB / 1.269 GB, free: 114.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.02374/5.566, allocations: 6.161 MB / 1.275 GB, free: 113.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01274/5.579, allocations: 1.322 MB / 1.276 GB, free: 113.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.115/5.694, allocations: 26.98 MB / 1.302 GB, free: 108.9 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03335/5.727, allocations: 8.166 MB / 1.31 GB, free: 106.7 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.03707/5.764, allocations: 4.662 MB / 1.315 GB, free: 106.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02275/5.787, allocations: 5.805 MB / 1.321 GB, free: 101.6 MB / 0.573 GB Notification: Performance of SimCode: time 2.484e-06/5.787, allocations: 0 / 1.321 GB, free: 101.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.141/6.928, allocations: 219.9 MB / 1.535 GB, free: 93.91 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000315/6.928, allocations: 165.1 kB / 1.536 GB, free: 93.68 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/20.77, allocations: 0.9062 kB / 1.536 GB, free: 93.68 MB / 0.5886 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force2_res.mat does not exist to compare? outputFormat=mat