Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_WorldForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.648/2.648, allocations: 235 MB / 242.2 MB, free: 15.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.365e-05/3.36e-05, allocations: 4 kB / 299.5 MB, free: 6.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4591/0.4592, allocations: 54.85 MB / 354.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2016/0.6609, allocations: 101.9 MB / 456.2 MB, free: 12.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/0.6612, allocations: 75.97 kB / 456.3 MB, free: 12.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9374/1.599, allocations: 148.6 MB / 0.5906 GB, free: 36.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.525e-06/1.599, allocations: 4 kB / 0.5906 GB, free: 36.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000565/1.599, allocations: 156 kB / 0.5908 GB, free: 36.12 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2702 * Number of variables: 2702 Notification: Performance of Generate backend data structure: time 0.0326/1.632, allocations: 7.375 MB / 0.598 GB, free: 28.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.926e-05/1.632, allocations: 8.031 kB / 0.598 GB, free: 28.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0708/1.703, allocations: 9.631 MB / 0.6074 GB, free: 19 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03295/1.736, allocations: 9.115 MB / 0.6163 GB, free: 9.805 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005394/1.736, allocations: 256 kB / 0.6166 GB, free: 9.555 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004292/1.741, allocations: 463.8 kB / 0.617 GB, free: 9.102 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02894/1.77, allocations: 10.43 MB / 0.6272 GB, free: 14.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05412/1.824, allocations: 16.11 MB / 0.6429 GB, free: 12.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007674/1.825, allocations: 114.9 kB / 0.643 GB, free: 12.79 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004366/1.829, allocations: 48 kB / 0.6431 GB, free: 12.74 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004911/1.834, allocations: 1.695 MB / 0.6447 GB, free: 11.04 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5567/2.391, allocations: 77.6 MB / 0.7205 GB, free: 45.09 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01109/2.402, allocations: 5.874 MB / 0.7262 GB, free: 44.36 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007489/2.41, allocations: 3.97 MB / 0.7301 GB, free: 44.31 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004757/2.41, allocations: 66.23 kB / 0.7302 GB, free: 44.31 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.241e-05/2.41, allocations: 73.19 kB / 0.7303 GB, free: 44.27 MB / 474.7 MB Notification: Performance of pre-optimization done (n=307): time 8.456e-06/2.41, allocations: 0 / 0.7303 GB, free: 44.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=340): time 0.08992/2.5, allocations: 30.07 MB / 0.7596 GB, free: 36.71 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/2.5, allocations: 297 kB / 0.7599 GB, free: 36.39 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01079/2.511, allocations: 5.113 MB / 0.7649 GB, free: 34.54 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008646/2.512, allocations: 25.7 kB / 0.7649 GB, free: 34.51 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004492/2.517, allocations: 5.445 MB / 0.7702 GB, free: 30.54 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002057/2.519, allocations: 1.247 MB / 0.7715 GB, free: 29.62 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001036/2.52, allocations: 0 / 0.7715 GB, free: 29.62 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006048/2.52, allocations: 0.7231 MB / 0.7722 GB, free: 29.14 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008151/2.528, allocations: 3.478 MB / 0.7756 GB, free: 27.88 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01208/2.541, allocations: 9.26 MB / 0.7846 GB, free: 18.82 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0124/2.553, allocations: 5.604 MB / 0.7901 GB, free: 17.11 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002355/2.553, allocations: 63.59 kB / 0.7901 GB, free: 17.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=1289) (initialization): time 0.03516/2.589, allocations: 12.63 MB / 0.8025 GB, free: 9.242 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001482/2.589, allocations: 92 kB / 0.8026 GB, free: 9.152 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003231/2.589, allocations: 204 kB / 0.8027 GB, free: 8.953 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005573/2.595, allocations: 1.387 MB / 0.8041 GB, free: 7.867 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01498/2.61, allocations: 2.307 MB / 0.8064 GB, free: 5.875 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02026/2.63, allocations: 10.71 MB / 0.8168 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01152/2.642, allocations: 365 kB / 0.8172 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002801/2.644, allocations: 0.586 MB / 0.8177 GB, free: 11.28 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 941 * Number of states: 0 () * Number of discrete variables: 60 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1214): * Single equations (assignments): 1208 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 14,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004193/2.649, allocations: 0.6234 MB / 0.8183 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02021/2.669, allocations: 6.251 MB / 0.8245 GB, free: 5.344 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002528/2.671, allocations: 0.5554 MB / 0.825 GB, free: 4.781 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02136/2.693, allocations: 6.32 MB / 0.8312 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001151/2.693, allocations: 42.58 kB / 0.8312 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.56e-05/2.693, allocations: 11.83 kB / 0.8312 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.874e-05/2.693, allocations: 20.59 kB / 0.8312 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04599/2.739, allocations: 13.91 MB / 0.8448 GB, free: 4.535 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.005e-05/2.739, allocations: 0 / 0.8448 GB, free: 4.535 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006407/2.746, allocations: 0.5827 MB / 0.8454 GB, free: 4.066 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005462/2.751, allocations: 1.046 MB / 0.8464 GB, free: 3.316 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009816/2.752, allocations: 12 kB / 0.8464 GB, free: 3.305 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02811/2.78, allocations: 9.745 MB / 0.8559 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/2.78, allocations: 0 / 0.8559 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03564/2.816, allocations: 10.76 MB / 0.8664 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.4066/3.223, allocations: 1.076 MB / 0.8675 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003144/3.226, allocations: 3.188 kB / 0.8675 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008653/3.235, allocations: 153.8 kB / 0.8676 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001887/3.237, allocations: 198.2 kB / 0.8678 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008139/3.238, allocations: 87.41 kB / 0.8679 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01346/3.251, allocations: 3.449 MB / 0.8713 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.132e-06/3.251, allocations: 0 / 0.8713 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01978/3.271, allocations: 1.539 MB / 0.8728 GB, free: 126.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 280 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03152/3.302, allocations: 11.62 MB / 0.8841 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01973/3.322, allocations: 8.773 MB / 0.8927 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/3.322, allocations: 0 / 0.8927 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009175/3.331, allocations: 3.384 MB / 0.896 GB, free: 124 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00635/3.338, allocations: 0.6144 MB / 0.8966 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05217/3.39, allocations: 16.32 MB / 0.9126 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01399/3.404, allocations: 5.608 MB / 0.918 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01518/3.419, allocations: 3.147 MB / 0.9211 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01203/3.431, allocations: 3.594 MB / 0.9246 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of SimCode: time 2.034e-06/3.432, allocations: 0 / 0.9246 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3426/3.774, allocations: 126 MB / 1.048 GB, free: 17.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/3.774, allocations: 138.8 kB / 1.048 GB, free: 17.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.193/11.97, allocations: 0 / 1.048 GB, free: 17.41 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces_res.mat does not exist to compare? outputFormat=mat