Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_WorldForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.041/2.041, allocations: 209.4 MB / 216.5 MB, free: 6.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.296e-05/2.314e-05, allocations: 2.109 kB / 267.6 MB, free: 4.973 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1063, allocations: 48.7 MB / 316.3 MB, free: 4.176 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.443/0.5493, allocations: 95.27 MB / 411.6 MB, free: 13.49 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/0.5497, allocations: 74.95 kB / 411.7 MB, free: 13.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8647/1.414, allocations: 148.4 MB / 0.5469 GB, free: 77.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.305e-06/1.414, allocations: 0 / 0.5469 GB, free: 77.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005307/1.415, allocations: 149.3 kB / 0.5471 GB, free: 77.33 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: 2698 * Number of variables: 2698 Notification: Performance of Generate backend data structure: time 0.03041/1.445, allocations: 7.37 MB / 0.5543 GB, free: 72.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/1.445, allocations: 10.41 kB / 0.5543 GB, free: 72.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06817/1.514, allocations: 9.633 MB / 0.5637 GB, free: 65.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03109/1.545, allocations: 9.114 MB / 0.5726 GB, free: 56.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005032/1.545, allocations: 255.9 kB / 0.5728 GB, free: 56.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004017/1.549, allocations: 463.8 kB / 0.5733 GB, free: 55.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02612/1.576, allocations: 10.43 MB / 0.5834 GB, free: 45.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04193/1.618, allocations: 16.09 MB / 0.5992 GB, free: 27.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005035/1.618, allocations: 110.9 kB / 0.5993 GB, free: 27.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002825/1.621, allocations: 52 kB / 0.5993 GB, free: 27.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003491/1.624, allocations: 1.687 MB / 0.601 GB, free: 25.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4628/2.087, allocations: 77.57 MB / 0.6767 GB, free: 38.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.016/2.103, allocations: 5.852 MB / 0.6824 GB, free: 38.13 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01226/2.116, allocations: 3.974 MB / 0.6863 GB, free: 38.08 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007684/2.117, allocations: 69.08 kB / 0.6864 GB, free: 38.08 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001206/2.117, allocations: 68.86 kB / 0.6864 GB, free: 38.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=307): time 2.092e-05/2.117, allocations: 0 / 0.6864 GB, free: 38.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=340): time 0.09627/2.213, allocations: 30.07 MB / 0.7158 GB, free: 28.78 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/2.213, allocations: 298.8 kB / 0.7161 GB, free: 28.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01218/2.225, allocations: 5.113 MB / 0.7211 GB, free: 26.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008749/2.226, allocations: 28.2 kB / 0.7211 GB, free: 26.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004534/2.231, allocations: 5.438 MB / 0.7264 GB, free: 22.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002049/2.233, allocations: 1.246 MB / 0.7276 GB, free: 21.49 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001345/2.234, allocations: 0 / 0.7276 GB, free: 21.49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008289/2.235, allocations: 0.7264 MB / 0.7283 GB, free: 21.01 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008402/2.244, allocations: 3.48 MB / 0.7317 GB, free: 19.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01234/2.256, allocations: 9.265 MB / 0.7408 GB, free: 10.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01217/2.268, allocations: 5.609 MB / 0.7463 GB, free: 8.961 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003061/2.269, allocations: 58.66 kB / 0.7463 GB, free: 8.961 MB / 426.7 MB Notification: Performance of matching and sorting (n=1289) (initialization): time 0.03534/2.304, allocations: 12.65 MB / 0.7587 GB, free: 15.42 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000186/2.304, allocations: 92 kB / 0.7588 GB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003938/2.305, allocations: 208.8 kB / 0.759 GB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005797/2.31, allocations: 1.389 MB / 0.7603 GB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0156/2.326, allocations: 2.316 MB / 0.7626 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02094/2.347, allocations: 10.67 MB / 0.773 GB, free: 2.211 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01191/2.359, allocations: 364.6 kB / 0.7734 GB, free: 1.926 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002923/2.362, allocations: 0.5805 MB / 0.7739 GB, free: 1.359 MB / 442.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.0038/2.366, allocations: 0.6235 MB / 0.7745 GB, free: 0.7344 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02085/2.387, allocations: 6.365 MB / 0.7807 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002365/2.389, allocations: 0.5593 MB / 0.7813 GB, free: 11.11 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0204/2.409, allocations: 6.26 MB / 0.7874 GB, free: 6.012 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001059/2.41, allocations: 36 kB / 0.7874 GB, free: 5.977 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.42e-05/2.41, allocations: 12 kB / 0.7874 GB, free: 5.965 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.881e-05/2.41, allocations: 21.97 kB / 0.7875 GB, free: 5.965 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04657/2.456, allocations: 14.1 MB / 0.8012 GB, free: 11.13 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.093e-05/2.456, allocations: 4 kB / 0.8012 GB, free: 11.12 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006177/2.463, allocations: 0.5816 MB / 0.8018 GB, free: 10.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00508/2.468, allocations: 1.036 MB / 0.8028 GB, free: 9.91 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008812/2.469, allocations: 15.7 kB / 0.8028 GB, free: 9.898 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01955/2.488, allocations: 9.731 MB / 0.8123 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.107e-05/2.488, allocations: 3.953 kB / 0.8123 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3494/2.838, allocations: 10.86 MB / 0.8229 GB, free: 119.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004557/2.842, allocations: 1.077 MB / 0.824 GB, free: 119.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002255/2.845, allocations: 3.328 kB / 0.824 GB, free: 119.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005736/2.85, allocations: 151.3 kB / 0.8241 GB, free: 119.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001253/2.852, allocations: 201 kB / 0.8243 GB, free: 119.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004129/2.852, allocations: 84.94 kB / 0.8244 GB, free: 119.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.009979/2.862, allocations: 3.455 MB / 0.8278 GB, free: 119.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.11e-07/2.862, allocations: 0 / 0.8278 GB, free: 119.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01367/2.876, allocations: 1.542 MB / 0.8293 GB, free: 119.6 MB / 474.7 MB 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.02569/2.902, allocations: 11.62 MB / 0.8407 GB, free: 118 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01945/2.921, allocations: 8.77 MB / 0.8492 GB, free: 117.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/2.921, allocations: 0.6562 kB / 0.8492 GB, free: 117.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007805/2.929, allocations: 3.385 MB / 0.8525 GB, free: 115.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00605/2.935, allocations: 0.6265 MB / 0.8531 GB, free: 115.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05375/2.989, allocations: 16.3 MB / 0.8691 GB, free: 110.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01346/3.002, allocations: 5.609 MB / 0.8745 GB, free: 108.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01415/3.017, allocations: 3.144 MB / 0.8776 GB, free: 108.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008639/3.025, allocations: 3.591 MB / 0.8811 GB, free: 105.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.252e-06/3.025, allocations: 0 / 0.8811 GB, free: 105.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6213/3.647, allocations: 125.9 MB / 1.004 GB, free: 99.2 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/3.647, allocations: 137 kB / 1.004 GB, free: 99.02 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.294/10.94, allocations: 0 / 1.004 GB, free: 99.02 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces_res.mat does not exist to compare? outputFormat=mat