Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_WorldForces2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.374/2.374, allocations: 235 MB / 247.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.829e-05/3.835e-05, allocations: 4 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4147/0.4148, allocations: 54.85 MB / 359.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2066/0.6214, allocations: 99.47 MB / 459.3 MB, free: 13.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/0.6218, allocations: 79.95 kB / 459.4 MB, free: 13.23 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8951/1.517, allocations: 137 MB / 0.5825 GB, free: 97.35 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.304e-06/1.517, allocations: 0 / 0.5825 GB, free: 97.35 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004921/1.517, allocations: 138.6 kB / 0.5826 GB, free: 97.35 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: 2367 * Number of variables: 2367 Notification: Performance of Generate backend data structure: time 0.02735/1.545, allocations: 6.628 MB / 0.5891 GB, free: 93.54 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/1.545, allocations: 11.25 kB / 0.5891 GB, free: 93.54 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005456/1.55, allocations: 1.179 MB / 0.5902 GB, free: 92.76 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06931/1.62, allocations: 9.493 MB / 0.5995 GB, free: 87.92 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03072/1.65, allocations: 8.722 MB / 0.608 GB, free: 79.92 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006339/1.651, allocations: 0.5055 MB / 0.6085 GB, free: 79.45 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003848/1.655, allocations: 0.6898 MB / 0.6092 GB, free: 78.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05011/1.705, allocations: 15.96 MB / 0.6248 GB, free: 61.49 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005595/1.706, allocations: 99.11 kB / 0.6249 GB, free: 61.39 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003745/1.71, allocations: 332.7 kB / 0.6252 GB, free: 61.11 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003456/1.713, allocations: 1.454 MB / 0.6266 GB, free: 59.65 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04039/1.754, allocations: 12.65 MB / 0.639 GB, free: 46.99 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5147/2.268, allocations: 70.69 MB / 0.708 GB, free: 53.89 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02495/2.293, allocations: 5.842 MB / 0.7137 GB, free: 53.18 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007233/2.301, allocations: 3.031 MB / 0.7167 GB, free: 53.14 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003376/2.301, allocations: 47.45 kB / 0.7167 GB, free: 53.14 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.121e-05/2.301, allocations: 62.41 kB / 0.7168 GB, free: 53.11 MB / 474.7 MB Notification: Performance of pre-optimization done (n=242): time 6.762e-06/2.301, allocations: 0 / 0.7168 GB, free: 53.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=260): time 0.08728/2.388, allocations: 18.97 MB / 0.7353 GB, free: 48.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/2.389, allocations: 264.9 kB / 0.7356 GB, free: 47.82 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01785/2.406, allocations: 6.078 MB / 0.7415 GB, free: 47.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008856/2.407, allocations: 67.39 kB / 0.7416 GB, free: 47.27 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007626/2.415, allocations: 4.867 MB / 0.7463 GB, free: 44.77 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00256/2.418, allocations: 1.002 MB / 0.7473 GB, free: 44.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001878/2.42, allocations: 172.2 kB / 0.7474 GB, free: 44.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001559/2.421, allocations: 0.6618 MB / 0.7481 GB, free: 43.88 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01138/2.433, allocations: 2.785 MB / 0.7508 GB, free: 43.86 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01532/2.448, allocations: 7.911 MB / 0.7585 GB, free: 37.12 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01106/2.459, allocations: 4.664 MB / 0.7631 GB, free: 35.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002336/2.46, allocations: 51.97 kB / 0.7631 GB, free: 35.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=1096) (initialization): time 0.03183/2.491, allocations: 11.06 MB / 0.7739 GB, free: 32.59 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001739/2.492, allocations: 82.03 kB / 0.774 GB, free: 32.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003594/2.492, allocations: 180 kB / 0.7742 GB, free: 32.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003547/2.496, allocations: 0.8112 MB / 0.775 GB, free: 32.44 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0125/2.508, allocations: 1.927 MB / 0.7769 GB, free: 32.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01376/2.522, allocations: 8.296 MB / 0.785 GB, free: 26.42 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01072/2.533, allocations: 458.7 kB / 0.7854 GB, free: 26.26 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002123/2.535, allocations: 0.5018 MB / 0.7859 GB, free: 26.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 54 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.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 (1033): * Single equations (assignments): 1027 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003787/2.539, allocations: 0.756 MB / 0.7866 GB, free: 25.58 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001953/2.541, allocations: 0.5831 MB / 0.7872 GB, free: 25.26 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01401/2.555, allocations: 4.278 MB / 0.7914 GB, free: 23.64 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.989e-05/2.555, allocations: 31.62 kB / 0.7914 GB, free: 23.64 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.714e-05/2.555, allocations: 7.031 kB / 0.7914 GB, free: 23.64 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.008e-05/2.555, allocations: 18.11 kB / 0.7914 GB, free: 23.64 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03609/2.591, allocations: 11.16 MB / 0.8023 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.773e-05/2.591, allocations: 0 / 0.8023 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004265/2.596, allocations: 413.5 kB / 0.8027 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002557/2.598, allocations: 0.5048 MB / 0.8032 GB, free: 15 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000607/2.599, allocations: 47.05 kB / 0.8033 GB, free: 14.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01124/2.61, allocations: 7.385 MB / 0.8105 GB, free: 7.836 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/2.61, allocations: 4.656 kB / 0.8105 GB, free: 7.832 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01761/2.628, allocations: 7.613 MB / 0.8179 GB, free: 0.9688 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004154/2.632, allocations: 0.9937 MB / 0.8189 GB, free: 32 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002017/2.634, allocations: 40.08 kB / 0.8189 GB, free: 0 / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006056/2.64, allocations: 183 kB / 0.8191 GB, free: 0 / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001409/2.642, allocations: 182.2 kB / 0.8193 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003333/2.642, allocations: 67.38 kB / 0.8193 GB, free: 15.89 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01333/2.655, allocations: 4.325 MB / 0.8236 GB, free: 12.08 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.142e-06/2.655, allocations: 0 / 0.8236 GB, free: 12.08 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.02005/2.675, allocations: 1.516 MB / 0.825 GB, free: 10.57 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 209 * 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%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02884/2.704, allocations: 8.469 MB / 0.8333 GB, free: 2.859 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01979/2.724, allocations: 7.127 MB / 0.8403 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/2.724, allocations: 0 / 0.8403 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006646/2.731, allocations: 2.391 MB / 0.8426 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007208/2.738, allocations: 0.7539 MB / 0.8433 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.055/2.793, allocations: 14.23 MB / 0.8572 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01489/2.808, allocations: 5.027 MB / 0.8621 GB, free: 9.035 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.015/2.823, allocations: 2.749 MB / 0.8648 GB, free: 6.293 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009716/2.833, allocations: 3.241 MB / 0.868 GB, free: 3.051 MB / 0.5105 GB Notification: Performance of SimCode: time 1.312e-06/2.833, allocations: 0 / 0.868 GB, free: 3.051 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6962/3.529, allocations: 122.5 MB / 0.9876 GB, free: 132.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002284/3.53, allocations: 167.9 kB / 0.9878 GB, free: 131.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.962/11.49, allocations: 0 / 0.9878 GB, free: 131.9 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat does not exist to compare? outputFormat=mat