Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_Force",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.531/2.531, allocations: 235.1 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.559e-05/2.563e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.3989, allocations: 54.86 MB / 354.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2012/0.6002, allocations: 100.7 MB / 455.2 MB, free: 10.31 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/0.6006, allocations: 75.97 kB / 455.3 MB, free: 10.24 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9145/1.515, allocations: 125.9 MB / 0.5675 GB, free: 12.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.544e-06/1.515, allocations: 0 / 0.5675 GB, free: 12.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005151/1.516, allocations: 132 kB / 0.5676 GB, free: 12.04 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.03204/1.548, allocations: 6.552 MB / 0.574 GB, free: 5.406 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.971e-05/1.548, allocations: 16.03 kB / 0.5741 GB, free: 5.391 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06789/1.616, allocations: 7.112 MB / 0.581 GB, free: 14.26 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03307/1.649, allocations: 7.372 MB / 0.5882 GB, free: 6.801 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005559/1.65, allocations: 212 kB / 0.5884 GB, free: 6.594 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003923/1.653, allocations: 391.8 kB / 0.5888 GB, free: 6.211 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02944/1.683, allocations: 9.16 MB / 0.5977 GB, free: 13.04 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04597/1.729, allocations: 14.09 MB / 0.6115 GB, free: 13.52 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005735/1.73, allocations: 87.12 kB / 0.6116 GB, free: 13.43 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003463/1.733, allocations: 44 kB / 0.6116 GB, free: 13.39 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004606/1.738, allocations: 1.549 MB / 0.6131 GB, free: 11.83 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4859/2.224, allocations: 69.08 MB / 0.6806 GB, free: 37.59 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01089/2.235, allocations: 5.354 MB / 0.6858 GB, free: 36.89 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007346/2.242, allocations: 3.641 MB / 0.6894 GB, free: 36.85 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/2.243, allocations: 390.3 kB / 0.6897 GB, free: 36.56 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.95e-05/2.243, allocations: 64.03 kB / 0.6898 GB, free: 36.52 MB / 458.7 MB Notification: Performance of pre-optimization done (n=272): time 9.057e-06/2.243, allocations: 3.469 kB / 0.6898 GB, free: 36.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=316): time 0.1133/2.357, allocations: 28.9 MB / 0.718 GB, free: 28.08 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/2.357, allocations: 246.8 kB / 0.7183 GB, free: 27.82 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01235/2.369, allocations: 4.655 MB / 0.7228 GB, free: 26.18 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009582/2.37, allocations: 34.8 kB / 0.7228 GB, free: 26.15 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004464/2.375, allocations: 4.77 MB / 0.7275 GB, free: 22.88 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0021/2.377, allocations: 1.154 MB / 0.7286 GB, free: 22.03 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00179/2.379, allocations: 0 / 0.7286 GB, free: 22.03 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0009488/2.38, allocations: 0.6973 MB / 0.7293 GB, free: 21.55 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009182/2.389, allocations: 3.387 MB / 0.7326 GB, free: 20.34 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01301/2.402, allocations: 8.649 MB / 0.7411 GB, free: 12.03 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0128/2.415, allocations: 5.363 MB / 0.7463 GB, free: 9.504 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002427/2.415, allocations: 56 kB / 0.7464 GB, free: 9.449 MB / 458.7 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.03805/2.453, allocations: 12.36 MB / 0.7584 GB, free: 15.18 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000193/2.453, allocations: 84 kB / 0.7585 GB, free: 15.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004118/2.454, allocations: 192 kB / 0.7587 GB, free: 14.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008382/2.462, allocations: 1.698 MB / 0.7603 GB, free: 13.64 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01646/2.479, allocations: 2.178 MB / 0.7625 GB, free: 11.78 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02654/2.505, allocations: 10.61 MB / 0.7728 GB, free: 2.309 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01193/2.517, allocations: 367.7 kB / 0.7732 GB, free: 2.027 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002833/2.52, allocations: 0.5415 MB / 0.7737 GB, free: 1.504 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.004182/2.525, allocations: 0.5773 MB / 0.7743 GB, free: 0.9258 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02356/2.548, allocations: 6.545 MB / 0.7807 GB, free: 11.62 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00221/2.55, allocations: 0.4936 MB / 0.7812 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02273/2.573, allocations: 6.532 MB / 0.7875 GB, free: 5.875 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001161/2.573, allocations: 39.67 kB / 0.7876 GB, free: 5.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.588e-05/2.573, allocations: 8 kB / 0.7876 GB, free: 5.832 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.234e-05/2.573, allocations: 14.67 kB / 0.7876 GB, free: 5.832 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0487/2.622, allocations: 13.83 MB / 0.8011 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.747e-05/2.622, allocations: 4 kB / 0.8011 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006562/2.629, allocations: 0.5651 MB / 0.8017 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00738/2.636, allocations: 1.381 MB / 0.803 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008508/2.637, allocations: 8 kB / 0.803 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02455/2.662, allocations: 9.773 MB / 0.8126 GB, free: 0.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-05/2.662, allocations: 7.938 kB / 0.8126 GB, free: 0.7422 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3916/3.053, allocations: 11.02 MB / 0.8233 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00414/3.058, allocations: 1.029 MB / 0.8243 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001932/3.06, allocations: 11.66 kB / 0.8243 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005693/3.065, allocations: 170.3 kB / 0.8245 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001259/3.067, allocations: 185.4 kB / 0.8247 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003803/3.067, allocations: 80.28 kB / 0.8247 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007901/3.075, allocations: 3.147 MB / 0.8278 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.022e-06/3.075, allocations: 3.25 kB / 0.8278 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01172/3.087, allocations: 1.397 MB / 0.8292 GB, free: 115.1 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.02812/3.115, allocations: 12.14 MB / 0.841 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02123/3.136, allocations: 8.539 MB / 0.8494 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/3.136, allocations: 0 / 0.8494 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00921/3.145, allocations: 3.338 MB / 0.8526 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005275/3.151, allocations: 0.5197 MB / 0.8531 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04794/3.199, allocations: 14.72 MB / 0.8675 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01152/3.21, allocations: 4.932 MB / 0.8723 GB, free: 107.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01452/3.225, allocations: 2.97 MB / 0.8752 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008206/3.233, allocations: 3.096 MB / 0.8783 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of SimCode: time 2.084e-06/3.233, allocations: 0 / 0.8783 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3411/3.574, allocations: 115.1 MB / 0.9907 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002829/3.575, allocations: 128.4 kB / 0.9908 GB, free: 8.816 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.134/10.71, allocations: 0 / 0.9908 GB, free: 8.816 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Forces.Force_res.mat does not exist to compare? outputFormat=mat