Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Force2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.393/2.393, allocations: 235.1 MB / 242.2 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.62e-05/2.616e-05, allocations: 4 kB / 299.5 MB, free: 216 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.387, allocations: 54.85 MB / 354.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2018/0.5889, allocations: 104.7 MB / 459 MB, free: 6.402 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/0.5892, allocations: 79.95 kB / 459.1 MB, free: 6.324 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.626/2.215, allocations: 231.2 MB / 0.6741 GB, free: 40.07 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.705e-06/2.215, allocations: 0 / 0.6741 GB, free: 40.07 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0008729/2.216, allocations: 255.8 kB / 0.6744 GB, free: 40.07 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: 4386 * Number of variables: 4386 Notification: Performance of Generate backend data structure: time 0.05172/2.268, allocations: 12.24 MB / 0.6863 GB, free: 35.61 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/2.268, allocations: 10.28 kB / 0.6863 GB, free: 35.61 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09695/2.365, allocations: 12.79 MB / 0.6988 GB, free: 34.73 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04434/2.409, allocations: 13.21 MB / 0.7117 GB, free: 33.25 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008412/2.41, allocations: 408.9 kB / 0.7121 GB, free: 33.25 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006607/2.416, allocations: 0.7438 MB / 0.7128 GB, free: 33.24 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04499/2.462, allocations: 17.45 MB / 0.7299 GB, free: 32.44 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07049/2.532, allocations: 25.78 MB / 0.755 GB, free: 8.316 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001009/2.533, allocations: 144.2 kB / 0.7552 GB, free: 8.242 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006307/2.539, allocations: 68 kB / 0.7552 GB, free: 8.176 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006428/2.546, allocations: 2.853 MB / 0.758 GB, free: 5.816 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6682/3.214, allocations: 121.1 MB / 0.8763 GB, free: 31.59 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02025/3.235, allocations: 10.93 MB / 0.8869 GB, free: 30.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01462/3.249, allocations: 7.68 MB / 0.8944 GB, free: 30.22 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002455/3.252, allocations: 1.092 MB / 0.8955 GB, free: 29.38 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000123/3.252, allocations: 99.97 kB / 0.8956 GB, free: 29.33 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=552): time 1.062e-05/3.252, allocations: 0 / 0.8956 GB, free: 29.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=640): time 0.2499/3.502, allocations: 62.81 MB / 0.9569 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002039/3.502, allocations: 372.5 kB / 0.9573 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03205/3.534, allocations: 7.919 MB / 0.965 GB, free: 8.477 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002605/3.537, allocations: 30.92 kB / 0.965 GB, free: 8.445 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.01208/3.549, allocations: 8.534 MB / 0.9734 GB, free: 2.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.006652/3.556, allocations: 2.286 MB / 0.9756 GB, free: 420 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004014/3.56, allocations: 0 / 0.9756 GB, free: 420 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.003597/3.563, allocations: 1.01 MB / 0.9766 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02635/3.59, allocations: 6.418 MB / 0.9829 GB, free: 9.965 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0393/3.629, allocations: 14.9 MB / 0.9974 GB, free: 8.195 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03541/3.665, allocations: 9.661 MB / 1.007 GB, free: 0.5742 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006183/3.665, allocations: 84 kB / 1.007 GB, free: 0.4922 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2053) (initialization): time 0.5514/4.217, allocations: 23.02 MB / 1.029 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003151/4.217, allocations: 138.7 kB / 1.03 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006863/4.218, allocations: 298.2 kB / 1.03 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01489/4.233, allocations: 3.308 MB / 1.033 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02678/4.26, allocations: 3.843 MB / 1.037 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04395/4.304, allocations: 21.26 MB / 1.058 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02094/4.325, allocations: 0.6403 MB / 1.058 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005118/4.33, allocations: 0.9026 MB / 1.059 GB, free: 117.4 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1365 * Number of states: 0 () * Number of discrete variables: 117 (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.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[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.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 (1935): * Single equations (assignments): 1928 * 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%) 21,(4,75.0%) 21,(4,75.0%) 20,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008434/4.338, allocations: 0.8917 MB / 1.06 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0419/4.38, allocations: 13.2 MB / 1.073 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004336/4.385, allocations: 0.8968 MB / 1.074 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04412/4.429, allocations: 13.83 MB / 1.087 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002042/4.429, allocations: 64.59 kB / 1.087 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001072/4.429, allocations: 18.55 kB / 1.087 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002106/4.43, allocations: 31.45 kB / 1.087 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09226/4.522, allocations: 28.85 MB / 1.115 GB, free: 110 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001016/4.522, allocations: 10.09 kB / 1.116 GB, free: 110 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01276/4.535, allocations: 1.249 MB / 1.117 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01279/4.548, allocations: 2.793 MB / 1.119 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002074/4.55, allocations: 25.45 kB / 1.119 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04008/4.59, allocations: 19.67 MB / 1.139 GB, free: 98.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.378e-05/4.59, allocations: 11.47 kB / 1.139 GB, free: 98.91 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06158/4.652, allocations: 23.42 MB / 1.162 GB, free: 81.45 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008582/4.66, allocations: 1.925 MB / 1.163 GB, free: 79.69 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005262/4.665, allocations: 19.95 kB / 1.163 GB, free: 79.67 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01172/4.677, allocations: 359.3 kB / 1.164 GB, free: 79.49 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002833/4.68, allocations: 388.9 kB / 1.164 GB, free: 79.25 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001618/4.682, allocations: 166.8 kB / 1.164 GB, free: 79.09 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01506/4.697, allocations: 5.355 MB / 1.17 GB, free: 74.48 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.02e-07/4.697, allocations: 3.75 kB / 1.17 GB, free: 74.48 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0225/4.719, allocations: 2.643 MB / 1.172 GB, free: 71.84 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 16 (Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,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 (553): * Single equations (assignments): 546 * 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%) 18,(4,75.0%) 18,(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.06083/4.78, allocations: 24.97 MB / 1.197 GB, free: 49.66 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.04032/4.821, allocations: 16.32 MB / 1.212 GB, free: 35.42 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.618e-05/4.821, allocations: 0 / 1.212 GB, free: 35.42 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01924/4.84, allocations: 6.848 MB / 1.219 GB, free: 29.33 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01064/4.851, allocations: 0.9641 MB / 1.22 GB, free: 28.54 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5643/5.415, allocations: 28.68 MB / 1.248 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02754/5.443, allocations: 8.796 MB / 1.257 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.02762/5.47, allocations: 5.075 MB / 1.262 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01796/5.488, allocations: 6.198 MB / 1.268 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of SimCode: time 1.613e-06/5.488, allocations: 2.844 kB / 1.268 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9695/6.458, allocations: 214.1 MB / 1.477 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002749/6.458, allocations: 123.5 kB / 1.477 GB, free: 106.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/18.78, allocations: 0 / 1.477 GB, free: 106.7 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2_res.mat does not exist to compare? outputFormat=mat