Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_WorldForces2",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.661/2.661, allocations: 235.1 MB / 242.3 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.773e-05/2.782e-05, allocations: 4 kB / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.3925, allocations: 54.85 MB / 354.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2044/0.5969, allocations: 98.81 MB / 453.2 MB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/0.5973, allocations: 75.95 kB / 453.3 MB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9326/1.53, allocations: 134.1 MB / 0.5737 GB, free: 5.852 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.384e-06/1.53, allocations: 0 / 0.5737 GB, free: 5.852 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005782/1.531, allocations: 135.9 kB / 0.5738 GB, free: 5.719 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: 2367 * Number of variables: 2367 Notification: Performance of Generate backend data structure: time 0.03168/1.562, allocations: 6.636 MB / 0.5803 GB, free: 15.01 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/1.562, allocations: 8.031 kB / 0.5803 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08269/1.645, allocations: 9.495 MB / 0.5896 GB, free: 5.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03745/1.683, allocations: 8.706 MB / 0.5981 GB, free: 12.69 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005986/1.683, allocations: 232 kB / 0.5983 GB, free: 12.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004021/1.687, allocations: 411.8 kB / 0.5987 GB, free: 12.06 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02963/1.717, allocations: 9.052 MB / 0.6075 GB, free: 3.004 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04444/1.761, allocations: 14.06 MB / 0.6212 GB, free: 3.488 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005149/1.762, allocations: 99.03 kB / 0.6213 GB, free: 3.391 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002766/1.765, allocations: 51.92 kB / 0.6214 GB, free: 3.34 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004158/1.769, allocations: 1.456 MB / 0.6228 GB, free: 1.879 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8255/2.595, allocations: 67.59 MB / 0.6888 GB, free: 35.73 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009499/2.604, allocations: 4.614 MB / 0.6933 GB, free: 35.04 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006104/2.61, allocations: 2.969 MB / 0.6962 GB, free: 34.99 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002768/2.611, allocations: 44.06 kB / 0.6963 GB, free: 34.98 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.654e-05/2.611, allocations: 61.44 kB / 0.6963 GB, free: 34.95 MB / 458.8 MB Notification: Performance of pre-optimization done (n=242): time 8.627e-06/2.611, allocations: 2.906 kB / 0.6963 GB, free: 34.95 MB / 458.8 MB Notification: Performance of matching and sorting (n=263): time 0.08267/2.693, allocations: 25.59 MB / 0.7213 GB, free: 24.71 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.898e-05/2.693, allocations: 258.4 kB / 0.7216 GB, free: 24.43 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01065/2.704, allocations: 4.801 MB / 0.7262 GB, free: 22.73 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006733/2.705, allocations: 25.7 kB / 0.7263 GB, free: 22.7 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004338/2.709, allocations: 4.947 MB / 0.7311 GB, free: 19.14 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001574/2.711, allocations: 0.9897 MB / 0.7321 GB, free: 18.42 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008224/2.712, allocations: 0 / 0.7321 GB, free: 18.42 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0005525/2.712, allocations: 0.6765 MB / 0.7327 GB, free: 17.95 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006616/2.719, allocations: 2.696 MB / 0.7354 GB, free: 16.98 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01034/2.729, allocations: 7.975 MB / 0.7432 GB, free: 8.879 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01103/2.74, allocations: 4.592 MB / 0.7476 GB, free: 6.254 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001951/2.741, allocations: 56 kB / 0.7477 GB, free: 6.199 MB / 458.8 MB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.03388/2.775, allocations: 10.22 MB / 0.7577 GB, free: 13.91 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001819/2.775, allocations: 85.88 kB / 0.7577 GB, free: 13.83 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003447/2.775, allocations: 192.9 kB / 0.7579 GB, free: 13.64 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003678/2.779, allocations: 0.8014 MB / 0.7587 GB, free: 12.96 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01486/2.794, allocations: 1.994 MB / 0.7607 GB, free: 11.22 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01677/2.81, allocations: 8.025 MB / 0.7685 GB, free: 3.605 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01118/2.822, allocations: 301.6 kB / 0.7688 GB, free: 3.355 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002078/2.824, allocations: 0.5229 MB / 0.7693 GB, free: 2.844 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 861 * 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 (1069): * Single equations (assignments): 1063 * 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.001901/2.826, allocations: 0.5671 MB / 0.7698 GB, free: 2.273 MB / 474.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01898/2.845, allocations: 4.495 MB / 0.7742 GB, free: 15.23 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002169/2.847, allocations: 0.5091 MB / 0.7747 GB, free: 14.71 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01494/2.862, allocations: 4.065 MB / 0.7787 GB, free: 11.35 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.332e-05/2.862, allocations: 32 kB / 0.7787 GB, free: 11.32 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.018e-05/2.862, allocations: 8 kB / 0.7787 GB, free: 11.31 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.426e-05/2.862, allocations: 14.48 kB / 0.7788 GB, free: 11.31 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03624/2.898, allocations: 9.964 MB / 0.7885 GB, free: 3.211 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.07e-05/2.899, allocations: 11.95 kB / 0.7885 GB, free: 3.199 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005206/2.904, allocations: 412.1 kB / 0.7889 GB, free: 2.867 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003137/2.907, allocations: 0.5002 MB / 0.7894 GB, free: 2.484 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006068/2.908, allocations: 7.047 kB / 0.7894 GB, free: 2.48 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01509/2.923, allocations: 7.102 MB / 0.7963 GB, free: 11.66 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/2.923, allocations: 0 / 0.7963 GB, free: 11.66 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02229/2.945, allocations: 7.416 MB / 0.8036 GB, free: 4.992 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004222/2.949, allocations: 0.8759 MB / 0.8044 GB, free: 4.16 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002036/2.951, allocations: 11.95 kB / 0.8044 GB, free: 4.148 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005353/2.957, allocations: 109 kB / 0.8045 GB, free: 4.086 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001067/2.958, allocations: 145.9 kB / 0.8047 GB, free: 3.996 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003687/2.958, allocations: 67.66 kB / 0.8047 GB, free: 3.934 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01041/2.969, allocations: 3.245 MB / 0.8079 GB, free: 1.137 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.222e-06/2.969, allocations: 0 / 0.8079 GB, free: 1.137 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01501/2.984, allocations: 1.386 MB / 0.8093 GB, free: 0 / 0.4949 GB 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 (218): * Single equations (assignments): 212 * 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.4328/3.417, allocations: 8.24 MB / 0.8173 GB, free: 112.1 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01602/3.433, allocations: 6.811 MB / 0.824 GB, free: 111.7 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/3.433, allocations: 3 kB / 0.824 GB, free: 111.7 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.005204/3.438, allocations: 2.344 MB / 0.8263 GB, free: 111.4 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005844/3.444, allocations: 0.5972 MB / 0.8268 GB, free: 111.4 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04791/3.492, allocations: 13.81 MB / 0.8403 GB, free: 108.9 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01226/3.504, allocations: 5.041 MB / 0.8452 GB, free: 108.1 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0149/3.519, allocations: 2.739 MB / 0.8479 GB, free: 108 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008162/3.527, allocations: 3.212 MB / 0.8511 GB, free: 108 MB / 0.4949 GB Notification: Performance of SimCode: time 2.405e-06/3.527, allocations: 0 / 0.8511 GB, free: 108 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2911/3.818, allocations: 108.7 MB / 0.9572 GB, free: 33.59 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003214/3.819, allocations: 133 kB / 0.9573 GB, free: 33.4 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.496/11.31, allocations: 0 / 0.9573 GB, free: 33.4 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat does not exist to compare? outputFormat=mat