Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.611/2.611, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 6.932e-05/6.941e-05, allocations: 6.656 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5079/0.5081, allocations: 58.84 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2082/0.7163, allocations: 108.7 MB / 491 MB, free: 15.68 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/0.7167, allocations: 79.95 kB / 491.1 MB, free: 15.6 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.021/1.737, allocations: 152.7 MB / 0.6287 GB, free: 45.34 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.234e-06/1.737, allocations: 0 / 0.6287 GB, free: 45.34 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0005155/1.738, allocations: 148 kB / 0.6289 GB, free: 45.2 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2705 * Number of variables: 2705 Notification: Performance of Generate backend data structure: time 0.03051/1.769, allocations: 7.394 MB / 0.6361 GB, free: 37.72 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/1.769, allocations: 8.031 kB / 0.6361 GB, free: 37.71 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005938/1.775, allocations: 1.347 MB / 0.6374 GB, free: 36.36 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0695/1.844, allocations: 9.631 MB / 0.6468 GB, free: 26.7 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03075/1.875, allocations: 9.133 MB / 0.6557 GB, free: 17.48 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007231/1.876, allocations: 0.5776 MB / 0.6563 GB, free: 16.91 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00403/1.88, allocations: 0.7652 MB / 0.657 GB, free: 16.14 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0635/1.943, allocations: 17.95 MB / 0.6746 GB, free: 12.54 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000765/1.944, allocations: 111 kB / 0.6747 GB, free: 12.43 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00419/1.948, allocations: 371.8 kB / 0.675 GB, free: 12.06 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006027/1.954, allocations: 1.699 MB / 0.6767 GB, free: 10.36 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05714/2.012, allocations: 14.1 MB / 0.6905 GB, free: 12.23 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5642/2.576, allocations: 80.89 MB / 0.7695 GB, free: 45.15 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02782/2.604, allocations: 7.111 MB / 0.7764 GB, free: 44.42 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00813/2.612, allocations: 4.065 MB / 0.7804 GB, free: 44.37 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003884/2.612, allocations: 59.83 kB / 0.7804 GB, free: 44.37 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.258e-05/2.612, allocations: 77.14 kB / 0.7805 GB, free: 44.33 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=307): time 8.196e-06/2.612, allocations: 0 / 0.7805 GB, free: 44.33 MB / 0.4949 GB Notification: Performance of matching and sorting (n=340): time 0.1216/2.734, allocations: 27.39 MB / 0.8073 GB, free: 37.27 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001438/2.734, allocations: 298.7 kB / 0.8075 GB, free: 36.96 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01763/2.752, allocations: 6.535 MB / 0.8139 GB, free: 36.43 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0009435/2.753, allocations: 75.42 kB / 0.814 GB, free: 36.39 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.005962/2.759, allocations: 5.381 MB / 0.8192 GB, free: 33.44 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002614/2.761, allocations: 1.284 MB / 0.8205 GB, free: 32.5 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002042/2.764, allocations: 191.1 kB / 0.8207 GB, free: 32.35 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001025/2.765, allocations: 0.711 MB / 0.8214 GB, free: 31.87 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01454/2.779, allocations: 3.608 MB / 0.8249 GB, free: 30.63 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01388/2.793, allocations: 9.159 MB / 0.8338 GB, free: 21.91 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01819/2.811, allocations: 5.703 MB / 0.8394 GB, free: 20.23 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002603/2.812, allocations: 55.72 kB / 0.8395 GB, free: 20.23 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1250) (initialization): time 0.05081/2.863, allocations: 13.22 MB / 0.8524 GB, free: 15.22 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002253/2.863, allocations: 88 kB / 0.8525 GB, free: 15.13 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003865/2.863, allocations: 200 kB / 0.8526 GB, free: 14.94 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007551/2.871, allocations: 1.375 MB / 0.854 GB, free: 13.86 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01518/2.886, allocations: 2.244 MB / 0.8562 GB, free: 11.93 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01979/2.906, allocations: 11.24 MB / 0.8672 GB, free: 1.516 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01246/2.918, allocations: 0.5375 MB / 0.8677 GB, free: 1.047 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002608/2.921, allocations: 0.5716 MB / 0.8682 GB, free: 0.4922 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 902 * Number of states: 0 () * Number of discrete variables: 63 (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.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 (1175): * Single equations (assignments): 1169 * 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,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003634/2.925, allocations: 0.8357 MB / 0.8691 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002174/2.927, allocations: 0.6439 MB / 0.8697 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0222/2.949, allocations: 6.591 MB / 0.8761 GB, free: 9.578 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.78e-05/2.949, allocations: 40 kB / 0.8762 GB, free: 9.539 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-05/2.949, allocations: 12 kB / 0.8762 GB, free: 9.527 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001004/2.95, allocations: 15.14 kB / 0.8762 GB, free: 9.527 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05343/3.003, allocations: 15.48 MB / 0.8913 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-05/3.003, allocations: 0 / 0.8913 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006639/3.01, allocations: 0.5904 MB / 0.8919 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005583/3.015, allocations: 1.052 MB / 0.8929 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001097/3.017, allocations: 59.44 kB / 0.893 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02258/3.039, allocations: 10.24 MB / 0.903 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/3.039, allocations: 4 kB / 0.903 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03429/3.074, allocations: 11.25 MB / 0.914 GB, free: 8.883 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005795/3.079, allocations: 1.213 MB / 0.9151 GB, free: 7.754 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002535/3.082, allocations: 56 kB / 0.9152 GB, free: 7.699 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006694/3.089, allocations: 207.2 kB / 0.9154 GB, free: 7.566 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001293/3.09, allocations: 192.1 kB / 0.9156 GB, free: 7.449 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004185/3.09, allocations: 84.5 kB / 0.9157 GB, free: 7.371 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01429/3.105, allocations: 4.644 MB / 0.9202 GB, free: 3.301 MB / 0.5418 GB Notification: Performance of sort global known variables: time 9.72e-07/3.105, allocations: 0 / 0.9202 GB, free: 3.301 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01418/3.119, allocations: 1.797 MB / 0.9219 GB, free: 1.512 MB / 0.5418 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.4539/3.573, allocations: 12.48 MB / 0.9341 GB, free: 136.4 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.02194/3.595, allocations: 8.816 MB / 0.9427 GB, free: 136 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/3.595, allocations: 0 / 0.9427 GB, free: 136 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.009312/3.604, allocations: 3.437 MB / 0.9461 GB, free: 135.7 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008093/3.613, allocations: 0.824 MB / 0.9469 GB, free: 135.6 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0596/3.672, allocations: 16.83 MB / 0.9633 GB, free: 132.8 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01515/3.687, allocations: 5.619 MB / 0.9688 GB, free: 131.9 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.01653/3.704, allocations: 3.178 MB / 0.9719 GB, free: 131.9 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01037/3.714, allocations: 3.671 MB / 0.9755 GB, free: 130.7 MB / 0.5418 GB Notification: Performance of SimCode: time 2.445e-06/3.715, allocations: 0 / 0.9755 GB, free: 130.7 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3196/4.034, allocations: 141.2 MB / 1.113 GB, free: 19.7 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003065/4.034, allocations: 172.7 kB / 1.114 GB, free: 19.47 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.991/13.03, allocations: 0 / 1.114 GB, free: 19.47 MB / 0.5418 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces_res.mat does not exist to compare? outputFormat=mat