Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.612/2.612, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.291e-05/3.285e-05, allocations: 4 kB / 299.5 MB, free: 6.508 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.431/0.431, allocations: 54.84 MB / 354.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1932/0.6243, allocations: 98.3 MB / 452.6 MB, free: 15.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/0.6247, allocations: 71.97 kB / 452.7 MB, free: 15.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8201/1.445, allocations: 88.96 MB / 0.529 GB, free: 96.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.835e-06/1.445, allocations: 4 kB / 0.529 GB, free: 96.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002166/1.445, allocations: 77.28 kB / 0.529 GB, free: 96.48 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1681 * Number of variables: 1681 Notification: Performance of Generate backend data structure: time 0.01764/1.463, allocations: 3.96 MB / 0.5329 GB, free: 93.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.161e-05/1.463, allocations: 7.094 kB / 0.5329 GB, free: 93.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02785/1.491, allocations: 3.549 MB / 0.5364 GB, free: 91.13 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01753/1.508, allocations: 4.421 MB / 0.5407 GB, free: 86.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003099/1.509, allocations: 140 kB / 0.5408 GB, free: 86.56 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00311/1.512, allocations: 248.6 kB / 0.5411 GB, free: 86.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01912/1.531, allocations: 7.678 MB / 0.5486 GB, free: 78.63 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02974/1.561, allocations: 10.04 MB / 0.5584 GB, free: 68.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00028/1.561, allocations: 35.7 kB / 0.5584 GB, free: 68.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002713/1.564, allocations: 16 kB / 0.5584 GB, free: 68.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002996/1.567, allocations: 1.251 MB / 0.5596 GB, free: 66.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0784/1.645, allocations: 35.15 MB / 0.594 GB, free: 31.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007643/1.653, allocations: 4.362 MB / 0.5982 GB, free: 26.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004801/1.658, allocations: 2.334 MB / 0.6005 GB, free: 24.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001639/1.66, allocations: 1.313 MB / 0.6018 GB, free: 22.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.463e-05/1.66, allocations: 60.56 kB / 0.6018 GB, free: 22.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=244): time 7.504e-06/1.66, allocations: 0 / 0.6018 GB, free: 22.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=256): time 0.06376/1.724, allocations: 15.71 MB / 0.6172 GB, free: 6.879 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/1.724, allocations: 73.41 kB / 0.6173 GB, free: 6.797 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006938/1.731, allocations: 2.307 MB / 0.6195 GB, free: 4.477 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006295/1.731, allocations: 25.7 kB / 0.6195 GB, free: 4.445 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003155/1.734, allocations: 2.933 MB / 0.6224 GB, free: 1.469 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001859/1.736, allocations: 0.9016 MB / 0.6233 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009541/1.737, allocations: 0 / 0.6233 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008135/1.738, allocations: 0.5579 MB / 0.6238 GB, free: 15.99 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00841/1.747, allocations: 2.229 MB / 0.626 GB, free: 13.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01239/1.759, allocations: 5.407 MB / 0.6313 GB, free: 6.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01069/1.77, allocations: 3.513 MB / 0.6347 GB, free: 3.23 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002016/1.77, allocations: 32 kB / 0.6347 GB, free: 3.199 MB / 442.7 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.03488/1.805, allocations: 7.837 MB / 0.6424 GB, free: 11.35 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001653/1.805, allocations: 56 kB / 0.6425 GB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002699/1.806, allocations: 112.8 kB / 0.6426 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007/1.813, allocations: 0.9606 MB / 0.6435 GB, free: 10.22 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01206/1.825, allocations: 1.326 MB / 0.6448 GB, free: 8.891 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01493/1.84, allocations: 4.551 MB / 0.6492 GB, free: 4.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008239/1.848, allocations: 203.8 kB / 0.6494 GB, free: 4.031 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00177/1.85, allocations: 340 kB / 0.6498 GB, free: 3.699 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 514 * Number of states: 0 () * Number of discrete variables: 30 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (708): * Single equations (assignments): 701 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002267/1.852, allocations: 390.7 kB / 0.6501 GB, free: 3.312 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01482/1.867, allocations: 4.418 MB / 0.6544 GB, free: 14.84 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001138/1.868, allocations: 272.4 kB / 0.6547 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02189/1.89, allocations: 4.949 MB / 0.6595 GB, free: 9.562 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001913/1.89, allocations: 47.98 kB / 0.6596 GB, free: 9.516 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.975e-05/1.89, allocations: 4 kB / 0.6596 GB, free: 9.512 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-05/1.891, allocations: 7.969 kB / 0.6596 GB, free: 9.504 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3688/2.259, allocations: 10.83 MB / 0.6702 GB, free: 126.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.99e-05/2.259, allocations: 10.47 kB / 0.6702 GB, free: 126.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003585/2.263, allocations: 410.6 kB / 0.6706 GB, free: 126.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004229/2.267, allocations: 0.759 MB / 0.6713 GB, free: 126.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004345/2.268, allocations: 21.89 kB / 0.6713 GB, free: 126.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008695/2.276, allocations: 3.855 MB / 0.6751 GB, free: 125.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-05/2.276, allocations: 14.72 kB / 0.6751 GB, free: 125.1 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01766/2.294, allocations: 8.326 MB / 0.6832 GB, free: 123.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002215/2.296, allocations: 0.6717 MB / 0.6839 GB, free: 123.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007853/2.297, allocations: 14.02 kB / 0.6839 GB, free: 123.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002309/2.3, allocations: 113 kB / 0.684 GB, free: 123.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005291/2.3, allocations: 152.4 kB / 0.6842 GB, free: 123.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002445/2.3, allocations: 73.78 kB / 0.6842 GB, free: 123.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003044/2.303, allocations: 1.515 MB / 0.6857 GB, free: 123.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.02e-07/2.303, allocations: 1.422 kB / 0.6857 GB, free: 123.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006136/2.31, allocations: 0.8732 MB / 0.6866 GB, free: 123.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 191 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01771/2.327, allocations: 11.62 MB / 0.6979 GB, free: 118.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01135/2.339, allocations: 5.425 MB / 0.7032 GB, free: 116.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.301e-05/2.339, allocations: 0 / 0.7032 GB, free: 116.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004329/2.343, allocations: 2.076 MB / 0.7052 GB, free: 116.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002488/2.346, allocations: 235.3 kB / 0.7055 GB, free: 116 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02905/2.375, allocations: 9.895 MB / 0.7151 GB, free: 112.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007009/2.382, allocations: 3.525 MB / 0.7186 GB, free: 111.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008652/2.391, allocations: 2.097 MB / 0.7206 GB, free: 111.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004508/2.395, allocations: 1.898 MB / 0.7225 GB, free: 109.6 MB / 474.7 MB Notification: Performance of SimCode: time 2.054e-06/2.395, allocations: 4 kB / 0.7225 GB, free: 109.6 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.233/2.628, allocations: 66.33 MB / 0.7873 GB, free: 51.52 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002473/2.629, allocations: 131.3 kB / 0.7874 GB, free: 51.33 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.43/7.058, allocations: 0 / 0.7874 GB, free: 51.33 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat